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