]> git.pld-linux.org Git - packages/perl-Crypt-IDEA.git/commitdiff
- release 2: rebuild agaunst perl 5.6 and use new rpm automation.
authorkloczek <kloczek@pld-linux.org>
Sat, 30 Dec 2000 04:44:12 +0000 (04:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Crypt-IDEA.spec -> 1.8

perl-Crypt-IDEA.spec

index abc5cadf9bc09b5966434d2af5ed30b3cabbf396..a963a55feb64aad658da8292e581f889a22914b7 100644 (file)
@@ -3,14 +3,15 @@ Summary:      Crypt-IDEA perl module
 Summary(pl):   Modu³ perla Crypt-IDEA
 Name:          perl-Crypt-IDEA
 Version:       1.01
-Release:       1
+Release:       2
 License:       GPL
 Group:         Development/Languages/Perl
+Group(de):     Entwicklung/Sprachen/Perl
 Group(pl):     Programowanie/Jêzyki/Perl
 Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/Crypt/Crypt-IDEA-%{version}.tar.gz
-Patch0:                perl-Crypt-IDEA-paths.patch
+Patch0:                %{name}-paths.patch
 BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
 %requires_eq   perl
 Requires:      %{perl_sitearch}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -27,32 +28,19 @@ Crypt-IDEA - modu
 
 %build
 perl Makefile.PL
-%{__make} OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} OPTIMIZE="%{!?debug:$RPM_OPT_FLAGS}%{?debug:-O -g}"
 
 %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
 
This page took 0.052353 seconds and 4 git commands to generate.