perl-Crypt-DES-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. %define module Crypt-DES
  2. Name: perl-%{module}
  3. Version: 2.07
  4. Release: 4%{_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. Patch0: perl-Crypt-DES-init-braces.patch
  13. Patch99: perl-Crypt-DES-fedora-c99.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}
  15. BuildRequires: libxcrypt-devel
  16. BuildRequires: perl(ExtUtils::MakeMaker)
  17. Requires: perl(:MODULE_COMPAT_%perl_abi_version)
  18. %description
  19. The module implements the Crypt::CBC interface.
  20. %debug_package
  21. %prep
  22. %setup -q -n %{module}-%{version}
  23. # Fix "warning: missing braces around initializer [-Wmissing-braces]"
  24. %patch0 -p0
  25. # Fix C99 compatibility (CPAN RT#133363)
  26. %patch99 -p1
  27. %build
  28. CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}"
  29. %{__make}
  30. %install
  31. rm -rf $RPM_BUILD_ROOT
  32. make install DESTDIR=$RPM_BUILD_ROOT
  33. # rm -f %{buildroot}%{perl_archlib}/perllocal.pod
  34. # rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
  35. find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
  36. %files
  37. %doc README
  38. %{_mandir}/man3*/*
  39. %{perl_vendorarch}/Crypt/*
  40. %{perl_vendorarch}/auto/*
  41. %changelog
  42. * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-4
  43. - rebuilt with perl-5.40.
  44. * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-3
  45. - rebuilt with perl-5.34.0.
  46. * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-2
  47. - rebuilt with perl-5.26.
  48. - added BR:libxcrypt-devel.
  49. * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.07-1
  50. - updated to 2.07
  51. - moved to Development/Libraries Group
  52. * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.05-3
  53. - build with Perl 5.16
  54. - add Requires MODULE_COMPAT_*
  55. * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 2.05-2vl6
  56. - build with perl 5.12.3
  57. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.05-1
  58. - rebuilt with perl-5.10.0.
  59. * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl1
  60. - rebuilt for VineSeed
  61. * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.43
  62. - rebuilt to release for VinePlus 4.2
  63. * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.42
  64. - built for Vine 4.2 (testing)