#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Games
%define pnam WordFind
+%include /usr/lib/rpm/macros.perl
Summary: Games::WordFind - class for generating "word find" type puzzles
Summary(pl.UTF-8): Games::WordFind - klasa do generowania układanek słownych
Name: perl-Games-WordFind
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 28bfa49532f2a49fd455fbd3b9afeb9e
+URL: http://search.cpan.org/dist/Games-WordFind/
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -p examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
rm -rf $RPM_BUILD_ROOT