]> git.pld-linux.org Git - packages/perl-Crypt-UnixCrypt.git/commitdiff
- initial PLD spec, need fixing
authormarcus <marcus@pld-linux.org>
Wed, 3 Apr 2002 14:18:56 +0000 (14:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-UnixCrypt.spec -> 1.1

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

diff --git a/perl-Crypt-UnixCrypt.spec b/perl-Crypt-UnixCrypt.spec
new file mode 100644 (file)
index 0000000..16b179c
--- /dev/null
@@ -0,0 +1,43 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Crypt
+%define        pnam    DES
+Summary:       Crypt-DES perl module
+Summary(pl):   Modu³ perla Crypt-DES
+Name:          perl-Crypt-DES
+Version:       2.03
+Release:       3
+License:       distributable
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: perl >= 5.6
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Crypt-DES - Perl interface to DES block cipher.
+
+%description -l pl
+Crypt-DES - modu³ wspomagaj±cy algorytm DES.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make} OPTIMIZE="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitearch}/Crypt/DES.pm
+%dir %{perl_sitearch}/auto/Crypt/DES
+%{perl_sitearch}/auto/Crypt/DES/DES.bs
+%attr(755,root,root) %{perl_sitearch}/auto/Crypt/DES/DES.so
+%{_mandir}/man3/*
This page took 0.131591 seconds and 4 git commands to generate.