]> git.pld-linux.org Git - packages/perl-Crypt-Twofish.git/commitdiff
- new RA-1_0 STABLE perl-Crypt-Twofish-2_12-1
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 2 Aug 2002 20:06:34 +0000 (20:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-Twofish.spec -> 1.1

perl-Crypt-Twofish.spec [new file with mode: 0644]

diff --git a/perl-Crypt-Twofish.spec b/perl-Crypt-Twofish.spec
new file mode 100644 (file)
index 0000000..d0fc910
--- /dev/null
@@ -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
+<http://www.counterpane.com/twofish.html>.
+
+%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
+<http://www.counterpane.com/twofish.html>.
+
+%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/*
This page took 0.050695 seconds and 4 git commands to generate.