diff --git a/.cvsignore b/.cvsignore index e69de29..b3a26a8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Module-Signature-0.44.tar.gz diff --git a/perl-Module-Signature.spec b/perl-Module-Signature.spec new file mode 100644 index 0000000..5f9d9dd --- /dev/null +++ b/perl-Module-Signature.spec @@ -0,0 +1,98 @@ +%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)} +# Must use expand to ensure mktemp is run only once +%{expand: %%define mytempdir %(mktemp -d %{_tmppath}/tmp.XXXXXX)} + +Name: perl-Module-Signature +Version: 0.44 +Release: 2 +Summary: CPAN signature management utilities and modules + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Module-Signature/ +Source0: http://www.cpan.org/authors/id/A/AU/AUTRIJUS/Module-Signature-0.44.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl >= 1:5.6.1, perl(Digest::SHA1), gnupg +Requires: gnupg, perl(PAR::Dist), perl(Digest::SHA1) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This package contains command line tools and utilities a module for +checking and creating SIGNATURE files for Perl CPAN distributions. + + +%prep +%setup -q -n Module-Signature-%{version} + + +%build +mkdir -m 700 %{mytempdir}/_gnupg ; export GNUPGHOME=%{mytempdir}/_gnupg +%{__perl} Makefile.PL INSTALLDIRS=vendor < /dev/null +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -a -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check || : +export GNUPGHOME=%{mytempdir}/_gnupg +for f in debug*.list ; do test -e $f && mv $f %{mytempdir} ; done +# make test # would require network access +for f in %{mytempdir}/debug*.list ; do test -e $f && mv $f . ; done + + +%clean +rm -rf $RPM_BUILD_ROOT %{mytempdir} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS Changes README TODO *.pub +%{_bindir}/cpansign +%{perl_vendorlib}/Module +%{_mandir}/man[13]/*.[13]* + + +%changelog +* Thu Apr 7 2005 Ville Skyttä - 0.44-2 +- Drop Epoch: 0 and 0.fdr. release prefix. + +* Fri Dec 17 2004 Ville Skyttä - 0:0.44-0.fdr.1 +- Update to 0.44. + +* Sun Nov 21 2004 Ville Skyttä - 0:0.42-0.fdr.1 +- Update to 0.42. + +* Tue Jul 6 2004 Ville Skyttä - 0:0.41-0.fdr.2 +- Require perl(Digest::SHA1) (bug 1606). + +* Mon Jul 5 2004 Ville Skyttä - 0:0.41-0.fdr.1 +- Update to 0.41. + +* Fri Jul 2 2004 Ville Skyttä - 0:0.40-0.fdr.1 +- Update to 0.40. + +* Fri Jun 18 2004 Ville Skyttä - 0:0.39-0.fdr.1 +- Update to 0.39. + +* Mon May 31 2004 Ville Skyttä - 0:0.38-0.fdr.4 +- Really use pure_install (bug 1606). +- Fix build with older mktemp versions which require a template (bug 1606). + +* Mon May 31 2004 Ville Skyttä - 0:0.38-0.fdr.3 +- Fix build in setups which do not generate debug packages (bug 1606). +- Require perl >= 1:5.6.1 for vendor install dir support. +- Use pure_install to avoid perllocal.pod workarounds. + +* Sun Apr 25 2004 Ville Skyttä - 0:0.38-0.fdr.2 +- Require perl(:MODULE_COMPAT_*). + +* Sat Mar 27 2004 Ville Skyttä - 0:0.38-0.fdr.1 +- First build. diff --git a/sources b/sources index e69de29..9327ec2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f1928d481376c1402878890feec26a1f Module-Signature-0.44.tar.gz