]> git.pld-linux.org Git - packages/perl-Crypt-IDEA.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Sat, 2 Oct 1999 21:49:54 +0000 (21:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-IDEA.spec -> 1.1

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

diff --git a/perl-Crypt-IDEA.spec b/perl-Crypt-IDEA.spec
new file mode 100644 (file)
index 0000000..5d219b2
--- /dev/null
@@ -0,0 +1,60 @@
+Summary:       Crypt-IDEA perl module
+Summary(pl):   Modu³ perla Crypt-IDEA
+Name:          perl-Crypt-IDEA
+Version:       1.0
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module/Crypt/Crypt-IDEA-%{version}.tar.gz
+Patch0:                perl-Crypt-IDEA-inc.patch
+Patch1:                perl-Crypt-IDEA-paths.patch
+BuildRequires: perl >= 5.005_03-10
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+Crypt-IDEA - Perl interface to IDEA block cipher.
+
+%description -l pl
+Crypt-IDEA - modu³ wspomagaj±cy algorytm IDEA.
+
+%prep
+%setup -q -n Crypt-IDEA-%{version}
+%patch0 -p0
+%patch1 -p0
+
+%build
+perl Makefile.PL
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/Crypt/IDEA/*.so
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Crypt/IDEA
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* 
+        
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%{perl_sitearch}/Crypt/IDEA.pm
+
+%dir %{perl_sitearch}/auto/Crypt/IDEA
+%{perl_sitearch}/auto/Crypt/IDEA/.packlist
+%{perl_sitearch}/auto/Crypt/IDEA/IDEA.bs
+%attr(755,root,root) %{perl_sitearch}/auto/Crypt/IDEA/IDEA.so
+
+%{_mandir}/man3/*
This page took 0.044011 seconds and 4 git commands to generate.