]> git.pld-linux.org Git - packages/perl-Crypt-ECB.git/commitdiff
- new RA-1_0 STABLE perl-Crypt-ECB-1_1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 29 Jul 2002 21:09:15 +0000 (21:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-ECB.spec -> 1.1

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

diff --git a/perl-Crypt-ECB.spec b/perl-Crypt-ECB.spec
new file mode 100644 (file)
index 0000000..caa31db
--- /dev/null
@@ -0,0 +1,52 @@
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Crypt
+%define                pnam    ECB
+Summary:       Crypt::ECB Perl module - implementation of the ECB mode
+Summary(pl):   Modu³ Perla Crypt::ECB - implementacja trybu ECB
+Name:          perl-Crypt-ECB
+Version:       1.1
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}-2.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 is a Perl-only implementation of the ECB mode. In
+combination with a block cipher such as DES, IDEA or Blowfish, you can
+encrypt and decrypt messages of arbitrarily long length. Though for
+security reasons other modes than ECB such as CBC should be preferred.
+See textbooks on cryptography if you want to know why.
+
+%description -l pl
+Ten modu³ jest czysto perlow± implementacj± trybu ECB. W po³±czeniu z
+szyfrem blokowym, takim jak DES, IDEA lub Blowfish, mo¿na kodowaæ i
+rozkodowywaæ wiadomo¶ci o dowolnej d³ugo¶ci. Jednak ze wzglêdów
+bezpieczeñstwa lepiej u¿ywaæ innych trybów ni¿ ECB, na przyk³ad CBC.
+Odpowied¼ dlaczego znajduje siê w ksi±¿kach z dziedziny kryptografii.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{__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 README
+%{perl_sitelib}/Crypt/ECB.pm
+%{_mandir}/man3/*
This page took 0.06625 seconds and 4 git commands to generate.