blob: 5a0a465db198328ae3938b31d5b14ef6dd4cb4ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
%include /usr/lib/rpm/macros.perl
Summary: Games-WordFind perl module
Summary(pl): Modu³ perla Games-WordFind
Name: perl-Games-WordFind
Version: 0.02
Release: 3
License: GPL
Group: Development/Languages/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
%requires_eq perl
Requires: %{perl_sitearch}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Games-WordFind module simply provides a class which can be used to
generate WordFind type puzzles.
%description -l pl
Games-WordFind udostêpnia klasê do generowania puzzli.
%prep
%setup -q -n Games-WordFind-%{version}
%build
perl Makefile.PL
%{__make}
%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
)
gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
Changes README
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc {Changes,README}.gz examples
%{perl_sitelib}/Games/WordFind.pm
%{perl_sitelib}/auto/Games/WordFind/autosplit.ix
%{perl_sitearch}/auto/Games/WordFind
%{_mandir}/man3/*
|