perl-Crypt-DES-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %define module Crypt-DES
  2. %define name perl-%{module}
  3. %define version 2.07
  4. %define release 1%{_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Perl DES encryption module
  9. Group: Development/Libraries
  10. License: GPL or Artistic
  11. URL: http://search.cpan.org/dist/%{module}/
  12. Source: http://search.cpan.org/CPAN/authors/id/B/BT/BTROTT/%{module}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-%{version}
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. %description
  19. The module implements the Crypt::CBC interface.
  20. %prep
  21. %setup -q -n %{module}-%{version}
  22. %build
  23. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}"
  24. %{__make}
  25. %install
  26. rm -rf $RPM_BUILD_ROOT
  27. make install DESTDIR=$RPM_BUILD_ROOT
  28. # rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  29. # rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
  30. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %files
  34. %defattr(-,root,root)
  35. %doc README
  36. %{_mandir}/man3*/*
  37. %{perl_vendorarch}/Crypt/*
  38. %{perl_vendorarch}/auto/*
  39. %changelog
  40. * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.07-1
  41. - updated to 2.07
  42. - moved to Development/Libraries Group
  43. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.05-3
  44. - build with Perl 5.16
  45. - add Requires MODULE_COMPAT_*
  46. * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 2.05-2vl6
  47. - build with perl 5.12.3
  48. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.05-1
  49. - rebuilt with perl-5.10.0.
  50. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl1
  51. - rebuilt for VineSeed
  52. * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.43
  53. - rebuilt to release for VinePlus 4.2
  54. * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.42
  55. - built for Vine 4.2 (testing)