From: Jakub Bogusz Date: Fri, 2 Aug 2002 20:06:34 +0000 (+0000) Subject: - new X-Git-Tag: RA-1_0 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=523783373f787ad19b2c625bad1dbf8f0f05cad5;p=packages%2Fperl-Crypt-Twofish.git - new Changed files: perl-Crypt-Twofish.spec -> 1.1 --- 523783373f787ad19b2c625bad1dbf8f0f05cad5 diff --git a/perl-Crypt-Twofish.spec b/perl-Crypt-Twofish.spec new file mode 100644 index 0000000..d0fc910 --- /dev/null +++ b/perl-Crypt-Twofish.spec @@ -0,0 +1,58 @@ +# +# Conditional build: +# _without_tests - do not perform "make test" +%include /usr/lib/rpm/macros.perl +%define pdir Crypt +%define pnam Twofish +Summary: Crypt::Twofish Perl module - the Twofish encryption algorithm +Summary(pl): Modu³ Perla Crypt::Twofish - algorytm szyfrowania Twofish +Name: perl-Crypt-Twofish +Version: 2.12 +Release: 1 +License: Artistic +Group: Development/Languages/Perl +Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +BuildRequires: perl-devel >= 5.6 +BuildRequires: rpm-perlprov >= 3.0.3-16 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module implements Twofish encryption. It supports the Crypt::CBC +interface. Twofish is a 128-bit symmetric block cipher with a variable +length (128, 192, or 256-bit) key, developed by Counterpane Labs. It +is unpatented and free for all uses, as described at +. + +%description -l pl +Ten modu³ jest implementacj± szyfrowania Twofish. Obs³uguje interfejs +Crypt::CBC. Twofish jest 128-bitowym symetrycznym szyfrem blokowym ze +zmienn± d³ugo¶ci± klucza (128, 192 lub 256 bitów), opracowanym przez +Counterpane Labs. Nie jest opatentowany i mo¿na go swobodnie u¿ywaæ +do dowolnych celów, zgodnie z opisem pod adresem +. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +perl Makefile.PL +%{__make} OPTIMIZE="%{rpmcflags}" +%{!?_without_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_sitearch}/Crypt/Twofish.pm +%dir %{perl_sitearch}/auto/Crypt/Twofish +%{perl_sitearch}/auto/Crypt/Twofish/*.bs +%attr(755,root,root) %{perl_sitearch}/auto/Crypt/Twofish/*.so +%{_mandir}/man3/*