summaryrefslogtreecommitdiff
path: root/perl-Games-WordFind.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-Games-WordFind.spec')
-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/*