perl-Crypt-DES-vl.spec 2.1 KB

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