]> git.pld-linux.org Git - packages/perl-Crypt-TripleDES.git/commitdiff
- new RA-1_0 STABLE perl-Crypt-TripleDES-0_24-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-TripleDES.spec -> 1.1

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

diff --git a/perl-Crypt-TripleDES.spec b/perl-Crypt-TripleDES.spec
new file mode 100644 (file)
index 0000000..802a0b8
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Crypt
+%define                pnam    TripleDES
+Summary:       Crypt::TripleDES Perl module - pure Perl Triple DES implementation
+Summary(pl):   Modu³ Perla Crypt::TripleDES - czysto perlowa implementacja Triple DES
+Name:          perl-Crypt-TripleDES
+Version:       0.24
+Release:       1
+License:       Artistic or GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements 3DES encryption in ECB mode. The code is based
+on Eric Young's implementation of DES in pure perl. It's quite slow
+because of the way Perl handles bit operations and is not recommended
+for use with large texts.
+
+%description -l pl
+Ten modu³ jest implementacj± szyfrowania 3DES w trybie ECB. Kod bazuje
+na czysto perlowej implementacji DES Erica Younga. Jest dosyæ wolny ze
+wzglêdu na sposób obs³ugi operacji bitowych przez interpreter i nie
+jest zalecany do u¿ycia z du¿ymi tekstami.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/Crypt/*.pm
+%{_mandir}/man3/*
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}
This page took 0.030901 seconds and 4 git commands to generate.