perl-Crypt-DES-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. %define module Crypt-DES
  2. Name: perl-%{module}
  3. Version: 2.07
  4. Release: 3%{_dist_release}
  5. Summary: Perl DES encryption module
  6. Group: programming
  7. Vendor: Project Vine
  8. Distribution: Vine Linux
  9. License: GPL or Artistic
  10. URL: https://metacpan.org/pod/Crypt::DES
  11. Source: https://cpan.metacpan.org/authors/id/D/DP/DPARIS/%{module}-%{version}.tar.gz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}
  13. BuildRequires: libxcrypt-devel
  14. BuildRequires: perl(ExtUtils::MakeMaker)
  15. Requires: perl
  16. %description
  17. The module implements the Crypt::CBC interface.
  18. %debug_package
  19. %prep
  20. %setup -q -n %{module}-%{version}
  21. %build
  22. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}"
  23. %{__make}
  24. %install
  25. rm -rf $RPM_BUILD_ROOT
  26. make install DESTDIR=$RPM_BUILD_ROOT
  27. # rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  28. # rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
  29. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  30. %clean
  31. rm -rf $RPM_BUILD_ROOT
  32. %files
  33. %defattr(-,root,root)
  34. %doc README
  35. %{_mandir}/man3*/*
  36. %{perl_vendorarch}/Crypt/*
  37. %{perl_vendorarch}/auto/*
  38. %changelog
  39. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-3
  40. - rebuilt with perl-5.34.0.
  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)