12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- %define module Crypt-DES
- Name: perl-%{module}
- Version: 2.07
- Release: 4%{_dist_release}
- Summary: Perl DES encryption module
- Group: programming
- Vendor: Project Vine
- Distribution: Vine Linux
- License: GPL or Artistic
- URL: https://metacpan.org/pod/Crypt::DES
- Source: https://cpan.metacpan.org/authors/id/D/DP/DPARIS/%{module}-%{version}.tar.gz
- Patch0: perl-Crypt-DES-init-braces.patch
- Patch99: perl-Crypt-DES-fedora-c99.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}
- BuildRequires: libxcrypt-devel
- BuildRequires: perl(ExtUtils::MakeMaker)
- Requires: perl(:MODULE_COMPAT_%perl_abi_version)
- %description
- The module implements the Crypt::CBC interface.
- %debug_package
- %prep
- %setup -q -n %{module}-%{version}
- # Fix "warning: missing braces around initializer [-Wmissing-braces]"
- %patch0 -p0
- # Fix C99 compatibility (CPAN RT#133363)
- %patch99 -p1
- %build
- CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{_prefix}"
- %{__make}
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- # rm -f %{buildroot}%{perl_archlib}/perllocal.pod
- # rm -rf %{buildroot}%{perl_vendorarch}/auto/*/*/.packlist
- find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
- %files
- %doc README
- %{_mandir}/man3*/*
- %{perl_vendorarch}/Crypt/*
- %{perl_vendorarch}/auto/*
- %changelog
- * Sat Jun 14 2025 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-4
- - rebuilt with perl-5.40.
- * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-3
- - rebuilt with perl-5.34.0.
- * Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.07-2
- - rebuilt with perl-5.26.
- - added BR:libxcrypt-devel.
- * Wed Nov 5 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.07-1
- - updated to 2.07
- - moved to Development/Libraries Group
- * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.05-3
- - build with Perl 5.16
- - add Requires MODULE_COMPAT_*
- * Fri Mar 25 2011 IWAI, Masaharu <iwai@alib.jp> 2.05-2vl6
- - build with perl 5.12.3
- * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 2.05-1
- - rebuilt with perl-5.10.0.
- * Mon Mar 10 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl1
- - rebuilt for VineSeed
- * Sun Mar 09 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.43
- - rebuilt to release for VinePlus 4.2
- * Tue Mar 04 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.05-0vl0.42
- - built for Vine 4.2 (testing)
|