commit d0ccf68932bae5fbaeb301045e23b295e28e82f6 Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Tue Jan 18 11:05:32 2011 +0100 0.043 imported .gitignore | 1 + perl-POD2-Base.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 51 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..b37c0e4 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/POD2-Base-0.043.tar.gz diff --git a/perl-POD2-Base.spec b/perl-POD2-Base.spec new file mode 100644 index 0000000..f4909c3 --- /dev/null +++ b/perl-POD2-Base.spec @@ -0,0 +1,49 @@ +Name: perl-POD2-Base +Version: 0.043 +Release: 1%{?dist} +Summary: Base module for translations of Perl documentation +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/POD2-Base/ +Source0: http://www.cpan.org/authors/id/F/FE/FERREIRA/POD2-Base-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.38 +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.18 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module is an abstraction of the code in POD2::IT and POD2::FR. These +modules belong to the Italian and the French translation projects of core +Perl pods. + +%prep +%setup -q -n POD2-Base-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=perl +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes README +%doc eg +%{perl_privlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jan 17 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.043-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot +- Package example diff --git a/sources b/sources index e69de29..48ac44e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aa72bc2e4f487427f380e0ef9a10f3e8 POD2-Base-0.043.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel