summaryrefslogtreecommitdiff
path: root/perl-Games-WordFind.spec
blob: 2296eb4f90e63875bd1967c9fca0ec0ba7eba2bf (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
%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:	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.6
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

gzip -9nf Changes README

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)
%doc *.gz examples
%{perl_sitelib}/Games/WordFind.pm
%{perl_sitelib}/auto/Games/WordFind/autosplit.ix
%{_mandir}/man3/*