diff --git a/.cvsignore b/.cvsignore index e69de29..31a1ad7 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Crypt-DES-2.05.tar.gz diff --git a/perl-Crypt-DES.spec b/perl-Crypt-DES.spec new file mode 100644 index 0000000..c08653b --- /dev/null +++ b/perl-Crypt-DES.spec @@ -0,0 +1,59 @@ +Name: perl-Crypt-DES +Version: 2.05 +Release: 1%{?dist} +Summary: DES encryption module +License: BSD-style +Group: Development/Libraries +URL: http://search.cpan.org/dist/Crypt-DES/ +Source0: http://www.cpan.org/modules/by-module/Crypt/Crypt-DES-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(Crypt::CBC) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +DES encryption module. + +%prep +%setup -q -n Crypt-DES-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; +find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \; + +chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYRIGHT README +%{perl_vendorarch}/auto/Crypt/ +%{perl_vendorarch}/Crypt/ +%{_mandir}/man3/* + +%changelog +* Thu Feb 02 2006 Steven Pritchard 2.05-1 +- Update to 2.05. +- Drop explicit Requires: perl(Crypt::CBC). +- LD_RUN_PATH hack shouldn't be needed now. +- Trim file list a bit. +- License is BSD, more or less. + +* Sat Sep 17 2005 Steven Pritchard 2.03-2 +- Minor spec cleanup. + +* Fri Aug 26 2005 Steven Pritchard 2.03-1 +- Specfile autogenerated. diff --git a/sources b/sources index e69de29..c9093f3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a8a0bea7064e11d2af434f3e468c17bb Crypt-DES-2.05.tar.gz