4f0f6f7
Name:           perl-Test-Portability-Files
4f0f6f7
Version:        0.05
dc4b794
Release:        18%{?dist}
4f0f6f7
Summary:        Check file names portability
d7d6275
License:        GPL+ or Artistic
4f0f6f7
Group:          Development/Libraries
4f0f6f7
URL:            http://search.cpan.org/dist/Test-Portability-Files/
4f0f6f7
Source0:        http://www.cpan.org/authors/id/S/SA/SAPER/Test-Portability-Files-%{version}.tar.gz
4f0f6f7
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
4f0f6f7
BuildArch:      noarch
69934ac
BuildRequires:  perl(Exporter)
041b188
BuildRequires:  perl(ExtUtils::MakeMaker)
69934ac
BuildRequires:  perl(ExtUtils::Manifest)
69934ac
BuildRequires:  perl(File::Spec)
9b301fd
#BuildRequires:  perl(Module::Build)
69934ac
BuildRequires:  perl(Test)
69934ac
BuildRequires:  perl(Test::Builder)
d7d6275
BuildRequires:  perl(Test::More)
69934ac
BuildRequires:  perl(Test::Pod)
69934ac
BuildRequires:  perl(Test::Pod::Coverage)
4f0f6f7
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
4f0f6f7
4f0f6f7
%description
4f0f6f7
This module is used to check the portability across operating systems of
4f0f6f7
the names of the files present in the distribution of a module. The tests
4f0f6f7
use the advices given in "Files and Filesystems" in perlport. The author of
4f0f6f7
a distribution can select which tests to execute.
4f0f6f7
4f0f6f7
%prep
4f0f6f7
%setup -q -n Test-Portability-Files-%{version}
4f0f6f7
4f0f6f7
%build
9b301fd
#%{__perl} Build.PL installdirs=vendor
9b301fd
%{__perl} Makefile.PL INSTALLDIRS=vendor
9b301fd
#./Build
9b301fd
make
4f0f6f7
4f0f6f7
%install
4f0f6f7
rm -rf $RPM_BUILD_ROOT
4f0f6f7
9b301fd
#./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
9b301fd
make install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
041b188
9b301fd
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
baa543f
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
4f0f6f7
041b188
%{_fixperms} $RPM_BUILD_ROOT/*
4f0f6f7
4f0f6f7
%check
9b301fd
#./Build test
9b301fd
make test
4f0f6f7
4f0f6f7
%clean
4f0f6f7
rm -rf $RPM_BUILD_ROOT
4f0f6f7
4f0f6f7
%files
4f0f6f7
%defattr(-,root,root,-)
4f0f6f7
%doc Changes LICENSE LICENSE.Artistic LICENSE.GPL README
4f0f6f7
%{perl_vendorlib}/*
4f0f6f7
%{_mandir}/man3/*
4f0f6f7
4f0f6f7
%changelog
dc4b794
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-18
dc4b794
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
dc4b794
69934ac
* Wed Oct 24 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.05-17
69934ac
- Specify all dependencies.
69934ac
4bd2d14
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-16
4bd2d14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
4bd2d14
d6ba379
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.05-15
d6ba379
- Perl 5.16 rebuild
d6ba379
7ae842c
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-14
7ae842c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
7ae842c
8aeb68b
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.05-13
8aeb68b
- Perl mass rebuild
8aeb68b
296e9e3
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-12
296e9e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
296e9e3
e4944d6
* Wed Dec 22 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-11
e4944d6
- 661697 rebuild for fixing problems with vendorach/lib
e4944d6
4943597
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.05-10
4943597
- Mass rebuild with perl-5.12.0
4943597
8493824
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.05-9
8493824
- rebuild against perl 5.10.1
8493824
21a7279
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-8
21a7279
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
21a7279
9b1688b
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-7
9b1688b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9b1688b
4df8f6b
* Wed Mar  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.05-6
4df8f6b
- rebuild for new perl
4df8f6b
d7d6275
* Sun Dec 30 2007 Ralf Corsépius <rc040203@freenet.de> - 0.05-5
d7d6275
- BR: perl(Test::More).
d7d6275
- BR: perl(Test::Pod), perl(Test::Pod::Coverage).
d7d6275
- Adjust License-tag.
d7d6275
041b188
* Wed Apr 18 2007 Steven Pritchard <steve@kspei.com> 0.05-4
041b188
- Use fixperms macro instead of our own chmod incantation.
041b188
- BR ExtUtils::MakeMaker.
041b188
baa543f
* Sat Sep 16 2006 Steven Pritchard <steve@kspei.com> 0.05-3
baa543f
- Fix find option order.
baa543f
9b301fd
* Fri May 12 2006 Steven Pritchard <steve@kspei.com> 0.05-2
9b301fd
- Use Makefile.PL temporarily to work around Module::Build breakage.
9b301fd
4f0f6f7
* Fri May 12 2006 Steven Pritchard <steve@kspei.com> 0.05-1
4f0f6f7
- Specfile autogenerated by cpanspec 1.66.