summaryrefslogtreecommitdiff
path: root/perl-Games-WordFind.spec
blob: 9efdc81267cf8855c3b7ff46ff82c182c32b34df (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
%define	pdir	Games
%define	pnam	WordFind
Summary:	Games::WordFind perl module
Summary(pl):	Moduł perla Games::WordFind
Name:		perl-Games-WordFind
Version:	0.02
Release:	9
License:	GPL
Group:		Development/Languages/Perl
Source0:	ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
BuildRequires:	perl >= 5.6
BuildRequires:	rpm-perlprov >= 3.0.3-16
BuildArch:	noarch
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 układanek słownych.

%prep
%setup -q -n %{pdir}-%{pnam}-%{version}

%build
perl Makefile.PL
%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

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