Name: perl-File-ShareDir Version: 1.03 Release: 8%{?dist} Summary: Locate per-dist and per-module shared files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-ShareDir/ Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-ShareDir-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(constant) BuildRequires: perl(Carp) BuildRequires: perl(Class::Inspector) >= 1.12 BuildRequires: perl(Exporter) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42 BuildRequires: perl(File::Spec) BuildRequires: perl(Test::More) >= 0.47 Requires: perl(Class::Inspector) >= 1.12 Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %{?perl_default_filter} %global __requires_exclude %{?__requires_exclude}|perl\\(Class::Inspector\\)$ %description The intent of File::ShareDir is to provide a companion to Class::Inspector and File::HomeDir, modules that take a process that is well-known by advanced Perl developers but gets a little tricky, and make it more available to the larger Perl community. %prep %setup -q -n File-ShareDir-%{version} %build perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* chmod 644 share/sample.txt chmod 644 share/subdir/sample.txt rm -rf %{buildroot}/blib/lib/auto/share/dist/File-ShareDir/ rm -rf %{buildroot}/blib/lib/auto/share/module/File-ShareDir/test_file.txt %check make test AUTOMATED_TESTING=1 %files %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Dec 27 2013 Daniel Mach - 1.03-8 - Mass rebuild 2013-12-27 * Tue Oct 23 2012 Petr Šabata - 1.03-7 - Modernize specfile - Specify all dependencies - Drop command macros * Fri Jul 20 2012 Fedora Release Engineering - 1.03-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed Jun 06 2012 Petr Pisar - 1.03-5 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 1.03-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Jun 28 2011 Marcela Mašláňová - 1.03-3 - Perl mass rebuild - fix macros * Tue Feb 08 2011 Fedora Release Engineering - 1.03-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Feb 2 2011 Petr Sabata - 1.03-1 - 1.03 version bump * Thu Dec 16 2010 Marcela Maslanova - 1.02-2 - 661697 rebuild for fixing problems with vendorach/lib * Wed Sep 15 2010 Petr Pisar - 1.02-1 - 1.02 bump * Sat May 01 2010 Marcela Maslanova - 1.00-6 - Mass rebuild with perl-5.12.0 * Thu Jan 14 2010 Marcela Mašláňová 1.00-5 - fix build * Mon Dec 7 2009 Stepan Kasal - 1.00-4 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 1.00-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 1.00-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Aug 11 2008 Marcela Mašláňová 1.00-1 - Specfile autogenerated by cpanspec 1.77.