%define module Crypt-DES Name: perl-%{module} Version: 2.07 Release: 3%{_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 BuildRoot: %{_tmppath}/%{name}-%{version} BuildRequires: libxcrypt-devel BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl %description The module implements the Crypt::CBC interface. %debug_package %prep %setup -q -n %{module}-%{version} %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 {} \; %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{_mandir}/man3*/* %{perl_vendorarch}/Crypt/* %{perl_vendorarch}/auto/* %changelog * Wed Nov 17 2021 Tomohiro "Tomo-p" KATO 2.07-3 - rebuilt with perl-5.34.0. * Thu May 16 2019 Tomohiro "Tomo-p" KATO 2.07-2 - rebuilt with perl-5.26. - added BR:libxcrypt-devel. * Wed Nov 5 2014 Ryoichi INAGAKI 2.07-1 - updated to 2.07 - moved to Development/Libraries Group * Fri Jun 27 2014 IWAI, Masaharu 2.05-3 - build with Perl 5.16 - add Requires MODULE_COMPAT_* * Fri Mar 25 2011 IWAI, Masaharu 2.05-2vl6 - build with perl 5.12.3 * Thu May 1 2008 Tomohiro 'Tomo-p' KATO 2.05-1 - rebuilt with perl-5.10.0. * Mon Mar 10 2008 Satoshi IWAMOTO 2.05-0vl1 - rebuilt for VineSeed * Sun Mar 09 2008 Satoshi IWAMOTO 2.05-0vl0.43 - rebuilt to release for VinePlus 4.2 * Tue Mar 04 2008 Satoshi IWAMOTO 2.05-0vl0.42 - built for Vine 4.2 (testing)