cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Crypt-DES?expand=0&rev=7
This commit is contained in:
parent
b66b524095
commit
1226bd0b4b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 24 16:40:57 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- recreated by cpanspec 1.78
|
||||
o fix deps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 08:38:26 UTC 2010 - coolo@novell.com
|
||||
|
||||
|
@ -17,51 +17,67 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-Crypt-DES
|
||||
%define cpan_name Crypt-DES
|
||||
Summary: Perl DES encryption module
|
||||
Version: 2.05
|
||||
Release: 142
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/Perl
|
||||
Release: 1
|
||||
License: Artistic
|
||||
Url: http://www.cpan.org/modules/by-module/Crypt/
|
||||
Summary: Crypt::DES Perl Module
|
||||
Source: Crypt-DES-%{version}.tar.bz2
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/Crypt-DES/
|
||||
#Source: http://www.cpan.org/authors/id/D/DP/DPARIS/Crypt-DES-2.05.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Crypt::CBC)
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
An XS-based DES implementation for Perl.
|
||||
|
||||
The module implements the Crypt::CBC interface, which has the following
|
||||
methods
|
||||
|
||||
* blocksize
|
||||
=item keysize
|
||||
=item encrypt
|
||||
=item decrypt
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Eric Young (eay@mincom.oz.au)
|
||||
|
||||
%prep
|
||||
%setup -n Crypt-DES-%{version} -q
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||||
make %{?_smp_mflags}
|
||||
make test
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
### since 11.4 perl_process_packlist
|
||||
### removes .packlist, perllocal.pod files
|
||||
%if 0%{?suse_version} > 1130
|
||||
%perl_process_packlist
|
||||
%else
|
||||
# do not perl_process_packlist
|
||||
# remove .packlist file
|
||||
%{__rm} -f $RPM_BUILD_ROOT%perl_vendorarch/auto/Crypt/DES/.packlist
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod
|
||||
%endif
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYRIGHT README
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorarch}/Crypt
|
||||
%{perl_vendorarch}/auto/Crypt
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user