perl-Crypt-DES-vl.spec 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. %define module Crypt-DES
  2. %define name perl-%{module}
  3. %define version 2.05
  4. %define release 3%{_dist_release}
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Summary: Perl DES encryption module
  9. Group: Development/Languages
  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. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. The module implements the Crypt::CBC interface.
  19. %prep
  20. %setup -q -n %{module}-%{version}
  21. %build
  22. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
  23. %{__make}
  24. %install
  25. rm -rf %{buildroot}
  26. %makeinstall
  27. # rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  28. rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
  29. %clean
  30. rm -rf %{buildroot}
  31. %files
  32. %defattr(-,root,root)
  33. # %doc README Changes
  34. %doc README
  35. %{_mandir}/man3*/*
  36. %{perl_vendorarch}/Crypt/*
  37. %{perl_vendorarch}/auto/*
  38. %changelog
  39. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.05-3
  40. - build with Perl 5.16
  41. - add Requires MODULE_COMPAT_*
  42. * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 2.05-2vl6
  43. - build with perl 5.12.3
  44. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.05-1
  45. - rebuilt with perl-5.10.0.
  46. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl1
  47. - rebuilt for VineSeed
  48. * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.43
  49. - rebuilt to release for VinePlus 4.2
  50. * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.42
  51. - built for Vine 4.2 (testing)