|
|
abdecc |
%{?scl:%scl_package perl-File-HomeDir}
|
|
|
abdecc |
|
|
|
abdecc |
Name: %{?scl_prefix}perl-File-HomeDir
|
|
|
abdecc |
Version: 1.00
|
|
|
abdecc |
Release: 13%{?dist}
|
|
|
abdecc |
Summary: Find your home and other directories on any platform
|
|
|
abdecc |
Group: Development/Libraries
|
|
|
abdecc |
License: GPL+ or Artistic
|
|
|
abdecc |
URL: http://search.cpan.org/dist/File-HomeDir/
|
|
|
abdecc |
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
|
|
|
abdecc |
BuildArch: noarch
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl-generators
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(Config)
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(Cwd) >= 3.12
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MakeMaker) >= 6.42
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(ExtUtils::MM_Unix)
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(File::Path) >= 2.01
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(File::Spec) >= 3.12
|
|
|
abdecc |
# POSIX not used on Linux
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(strict)
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(vars)
|
|
|
abdecc |
# Run-time:
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(Carp)
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(Exporter)
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(File::Temp) >= 0.19
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(File::Which) >= 0.05
|
|
|
abdecc |
# Mac::Files not used on Linux
|
|
|
abdecc |
# Mac::SystemDirectory not used on Linux
|
|
|
abdecc |
# Win32 not used on Linux
|
|
|
abdecc |
# Tests:
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(File::Spec::Functions)
|
|
|
abdecc |
BuildRequires: %{?scl_prefix}perl(Test::More) >= 0.47
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(:MODULE_COMPAT_%(%{?scl:scl enable %{scl} '}eval "$(perl -V:version)";echo $version%{?scl:'}))
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(Cwd) >= 3.12
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(Exporter)
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(File::Path) >= 2.01
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(File::Spec) >= 3.12
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(File::Temp) >= 0.19
|
|
|
abdecc |
Requires: %{?scl_prefix}perl(File::Which) >= 0.05
|
|
|
abdecc |
|
|
|
abdecc |
%if 0%{?rhel} < 7
|
|
|
abdecc |
# RPM 4.8 style
|
|
|
abdecc |
%{?filter_setup:
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(Cwd)/d
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(File::Path)/d
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(File::Spec)/d
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(File::Temp)/d
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(File::Which)/d
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(Mac::/d
|
|
|
abdecc |
%filter_from_requires /%{?scl_prefix}perl(Win32/d
|
|
|
abdecc |
%?perl_default_filter
|
|
|
abdecc |
}
|
|
|
abdecc |
%else
|
|
|
abdecc |
# RPM 4.9 style
|
|
|
abdecc |
%{?perl_default_filter}
|
|
|
abdecc |
%global __requires_exclude %{?__requires_exclude}|perl\\(Cwd\\)|perl\\(File::Path\\)|perl\\(File::Spec\\)|perl\\(File::Temp\\)|perl\\(File::Which\\)|perl\\(Mac::|perl\\(Win32
|
|
|
abdecc |
%endif
|
|
|
abdecc |
|
|
|
abdecc |
%description
|
|
|
abdecc |
File::HomeDir is a module for locating the directories that are "owned"
|
|
|
abdecc |
by a user (typically your user) and to solve the various issues that
|
|
|
abdecc |
arise trying to find them consistently across a wide variety of
|
|
|
abdecc |
platforms.
|
|
|
abdecc |
|
|
|
abdecc |
%prep
|
|
|
abdecc |
%setup -q -n File-HomeDir-%{version}
|
|
|
abdecc |
|
|
|
abdecc |
%build
|
|
|
abdecc |
%{?scl:scl enable %{scl} '}perl Makefile.PL INSTALLDIRS=vendor && make %{?_smp_mflags}%{?scl:'}
|
|
|
abdecc |
|
|
|
abdecc |
%install
|
|
|
abdecc |
%{?scl:scl enable %{scl} '}make pure_install DESTDIR=%{buildroot}%{?scl:'}
|
|
|
abdecc |
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
abdecc |
chmod -R u+w %{buildroot}/*
|
|
|
abdecc |
|
|
|
abdecc |
%check
|
|
|
abdecc |
%{?scl:scl enable %{scl} '}make test%{?scl:'}
|
|
|
abdecc |
|
|
|
abdecc |
%files
|
|
|
abdecc |
%doc Changes LICENSE README
|
|
|
abdecc |
%{perl_vendorlib}/File/
|
|
|
abdecc |
%{_mandir}/man3/*.3pm*
|
|
|
abdecc |
|
|
|
abdecc |
%changelog
|
|
|
abdecc |
* Tue Jul 19 2016 Petr Pisar <ppisar@redhat.com> - 1.00-13
|
|
|
abdecc |
- SCL
|
|
|
abdecc |
|
|
|
abdecc |
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-12
|
|
|
abdecc |
- Perl 5.24 rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.00-11
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-10
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-9
|
|
|
abdecc |
- Perl 5.22 rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jan 15 2015 Petr Pisar <ppisar@redhat.com> - 1.00-8
|
|
|
abdecc |
- Correct dependencies
|
|
|
abdecc |
|
|
|
abdecc |
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.00-7
|
|
|
abdecc |
- Perl 5.20 rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-6
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.00-5
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.00-4
|
|
|
abdecc |
- Perl 5.18 rebuild
|
|
|
abdecc |
- Specify all dependencies
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jan 31 2013 Petr Šabata <contyk@redhat.com> - 1.00-3
|
|
|
abdecc |
- Use the Module::Install provided by upstream (#906007)
|
|
|
abdecc |
|
|
|
abdecc |
* Mon Nov 26 2012 Petr Šabata <contyk@redhat.com> - 1.00-2
|
|
|
abdecc |
- Re-enable the test suite
|
|
|
abdecc |
- Unbundle inc::Module::Install
|
|
|
abdecc |
- Modernize the spec
|
|
|
abdecc |
|
|
|
abdecc |
* Mon Oct 22 2012 Tom Callaway <spot@fedoraproject.org> - 1.00-1
|
|
|
abdecc |
- update to 1.00
|
|
|
abdecc |
|
|
|
abdecc |
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.99-4
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Tue Jul 10 2012 Petr Pisar <ppisar@redhat.com> - 0.99-3
|
|
|
abdecc |
- Perl 5.16 re-rebuild of bootstrapped packages
|
|
|
abdecc |
|
|
|
abdecc |
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.99-2
|
|
|
abdecc |
- Perl 5.16 rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Tue Jan 31 2012 Tom Callaway <spot@fedoraproject.org> - 0.99-1
|
|
|
abdecc |
- Update to 0.99
|
|
|
abdecc |
|
|
|
abdecc |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.98-3
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.98-2
|
|
|
abdecc |
- Perl mass rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Tue Jul 12 2011 Tom Callaway <spot@fedoraproject.org> - 0.98-1
|
|
|
abdecc |
- update to 0.98
|
|
|
abdecc |
|
|
|
abdecc |
* Fri Jun 24 2011 Marcela Maslanova <mmaslano@redhat.com> - 0.97-2
|
|
|
abdecc |
- fix filters for future rebuild
|
|
|
abdecc |
- add perl_bootstrap macro
|
|
|
abdecc |
- rebuild for perl 5.14.1
|
|
|
abdecc |
|
|
|
abdecc |
* Mon Feb 21 2011 Tom Callaway <spot@fedoraproject.org> - 0.97-1
|
|
|
abdecc |
- update to 0.97
|
|
|
abdecc |
|
|
|
abdecc |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.93-3
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.93-2
|
|
|
abdecc |
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
abdecc |
|
|
|
abdecc |
* Wed Sep 22 2010 Petr Pisar <ppisar@redhat.com> - 0.93-1
|
|
|
abdecc |
- 0.93 bump
|
|
|
abdecc |
- Consolidate dependencies
|
|
|
abdecc |
- Remove unversioned Requires
|
|
|
abdecc |
- Update Summary and Description
|
|
|
abdecc |
- Remove unneded file permission fixes
|
|
|
abdecc |
|
|
|
abdecc |
* Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.86-4
|
|
|
abdecc |
- Mass rebuild with perl-5.12.0
|
|
|
abdecc |
|
|
|
abdecc |
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.86-3
|
|
|
abdecc |
- rebuild against perl 5.10.1
|
|
|
abdecc |
|
|
|
abdecc |
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.86-2
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Mon Jun 1 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
|
|
|
abdecc |
- update for Padre
|
|
|
abdecc |
|
|
|
abdecc |
* Fri Mar 13 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.84-1
|
|
|
abdecc |
- update to 0.84
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.82-2
|
|
|
abdecc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
abdecc |
|
|
|
abdecc |
* Tue Dec 16 2008 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-1
|
|
|
abdecc |
- update to the latest version for Padre editor
|
|
|
abdecc |
|
|
|
abdecc |
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-3
|
|
|
abdecc |
- Rebuild for perl 5.10 (again)
|
|
|
abdecc |
|
|
|
abdecc |
* Fri Jan 11 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-2
|
|
|
abdecc |
- rebuild for new perl
|
|
|
abdecc |
|
|
|
abdecc |
* Wed Dec 19 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.67-1
|
|
|
abdecc |
- 0.67
|
|
|
abdecc |
|
|
|
abdecc |
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 0.66-1
|
|
|
abdecc |
- 0.66
|
|
|
abdecc |
|
|
|
abdecc |
* Wed May 30 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.65-1
|
|
|
abdecc |
- Update to 0.65.
|
|
|
abdecc |
|
|
|
abdecc |
* Sat Feb 10 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.64-1
|
|
|
abdecc |
- Update to 0.64.
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jan 11 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.63-1
|
|
|
abdecc |
- Update to 0.63.
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Jan 4 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.62-1
|
|
|
abdecc |
- Update to 0.62.
|
|
|
abdecc |
|
|
|
abdecc |
* Thu Aug 03 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.58-1
|
|
|
abdecc |
- First build.
|