%define upstream_name File-chdir %define upstream_version 0.1011 Name: perl-%{upstream_name} Version: %perl_convert_version 0.1011 Release: 1 Summary: A more sensible way to change directories License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/File-chdir-%{upstream_version}.tar.gz #Old #Source0: http://www.cpan.org/modules/by-module/File/File-chdir-%{upstream_version}.tar.gz BuildRequires: perl-devel BuildArch: noarch %description Perl's chdir() has the unfortunate problem of being very, very, very global. If any part of your program calls chdir() or if any library you use calls chdir(), it changes the current working directory for the B program. File::chdir gives you an alternative, $CWD and @CWD. These two variables combine all the power of C, File::Spec and Cwd. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor %make_build %install %make_install %files %doc Changes %dir %{perl_vendorlib}/File %{perl_vendorlib}/File/* %{_mandir}/*/* %changelog * Tue Jul 13 2010 Jérôme Quelin 0.100.400-1mdv2011.0 + Revision: 552287 - update to 0.1004 * Sun Jul 12 2009 Jérôme Quelin 0.100.200-1mdv2010.0 + Revision: 395187 - fix wrong macro name - update to 0.1002 - using %%perl_convert_version - fixed license field * Thu Jul 31 2008 Thierry Vignaud 0.10-4mdv2009.0 + Revision: 256873 - rebuild * Mon Feb 11 2008 Thierry Vignaud 0.10-2mdv2008.1 + Revision: 165301 - fix description * Sat Feb 09 2008 Guillaume Rousse 0.10-1mdv2008.1 + Revision: 164629 - update to new version 0.10 + Olivier Blin - restore BuildRoot + Thierry Vignaud - kill re-definition of %%buildroot on Pixel's request * Mon Aug 06 2007 Funda Wang 0.09-1mdv2008.0 + Revision: 59446 - New version 0.09 * Wed Jul 04 2007 Guillaume Rousse 0.08-1mdv2008.0 + Revision: 48163 - spec cleanup - update to new version 0.08 * Thu Feb 17 2005 Rafael Garcia-Suarez 0.06-2mdk - Make rpmlint happy * Wed Jan 28 2004 Lenny Cartier 0.06-1mdk - from Robin Rosenberg : - initial contrib import. Needed for building Captive-NTFS