# $Revision: 1.1 $, $Date: 2002/07/24 20:01:36 $ %include /usr/lib/rpm/macros.perl %define pdir List %define pnam Permutor Summary: List::Permutor -- Process all of the possible permutations of a list of items. Summary(pl): List::Permutor -- Przetwórz wszystkie mo¿liwe permutacje listy elementów. Name: perl-%{pdir}-%{pnam} Version: 0.022 Release: 1 License: ? Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz BuildRequires: perl >= 5.6.1 BuildRequires: rpm-perlprov >= 3.0.3-16 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Make the object by passing a list of the objects to be permuted. Each time that next() is called, another permutation will be returned. %description -l pl Tworzy obiekt po przekazaniu listy obiektów do permutowania. Za ka¿dym wywo³aniem next(), zwracana jest kolejna permutacja. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build perl Makefile.PL %{__make} #%{__make} test %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %{perl_sitelib}/%{pdir}/*.pm %{_mandir}/man3/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld.org.pl> All persons listed below can be reached at <cvs_login>@pld.org.pl $Log: perl-List-Permutor.spec,v $ Revision 1.1 2002/07/24 20:01:36 radek - new, STBR