summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkloczek2001-01-06 15:35:27 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit9af92e6cf85be7e061ec44c799363b8dd4f952fd (patch)
tree94894ec7f440cc15df338abb418dfea97e3908b4
parenta076d5631abfae84d863428a407e4c834b4b7344 (diff)
downloadperl-Games-WordFind-9af92e6cf85be7e061ec44c799363b8dd4f952fd.zip
perl-Games-WordFind-9af92e6cf85be7e061ec44c799363b8dd4f952fd.tar.gz
- release 4: rebuild agaunst perl 5.6 and use rpm automation.perl-Games-WordFind-0_02-4
Changed files: perl-Games-WordFind.spec -> 1.8
-rw-r--r--perl-Games-WordFind.spec21
1 files changed, 6 insertions, 15 deletions
diff --git a/perl-Games-WordFind.spec b/perl-Games-WordFind.spec
index 5a0a465..fd14cf7 100644
--- a/perl-Games-WordFind.spec
+++ b/perl-Games-WordFind.spec
@@ -3,13 +3,14 @@ Summary: Games-WordFind perl module
Summary(pl): Moduł perla Games-WordFind
Name: perl-Games-WordFind
Version: 0.02
-Release: 3
+Release: 4
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/Games/Games-WordFind-%{version}.tar.gz
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)
@@ -30,27 +31,17 @@ perl Makefile.PL
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-(
- cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Games/WordFind
- sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
- mv .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
- Changes README
+gzip -9nf Changes README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc {Changes,README}.gz examples
-
+%doc *.gz examples
%{perl_sitelib}/Games/WordFind.pm
%{perl_sitelib}/auto/Games/WordFind/autosplit.ix
-
-%{perl_sitearch}/auto/Games/WordFind
-
%{_mandir}/man3/*