]> git.pld-linux.org Git - packages/perl-Games-WordFind.git/blob - perl-Games-WordFind.spec
92183451a9770bd3bc6831888af3b4f8e354f8d3
[packages/perl-Games-WordFind.git] / perl-Games-WordFind.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Games
7 %define         pnam    WordFind
8 Summary:        Games::WordFind - class for generating "word find" type puzzles
9 Summary(pl.UTF-8):      Games::WordFind - klasa do generowania układanek słownych
10 Name:           perl-Games-WordFind
11 Version:        0.02
12 Release:        15
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  28bfa49532f2a49fd455fbd3b9afeb9e
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Games::WordFind Perl module simply provides a class which can be used
25 to generate "word find" type puzzles.
26
27 %description -l pl.UTF-8
28 Games::WordFind udostępnia klasę do generowania układanek słownych.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make}
37
38 %{?with_tests:%{__make} test}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
43
44 %{__make} install \
45         DESTDIR=$RPM_BUILD_ROOT
46 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
54 %{perl_vendorlib}/Games/WordFind.pm
55 %dir %{perl_vendorlib}/auto/Games
56 # empty autosplit.ix
57 #%dir %{perl_vendorlib}/auto/Games/WordFind
58 #%%{perl_vendorlib}/auto/Games/WordFind/autosplit.ix
59 %{_mandir}/man3/*
60 %dir %{_examplesdir}/%{name}-%{version}
61 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*
This page took 0.059191 seconds and 2 git commands to generate.