rpms/perl-Algorithm-FastPermute/F-7 perl-Algorithm-FastPermute.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Miloš Jakubíček (mjakubicek)
fedora-extras-commits at redhat.com
Sat Apr 5 09:33:08 UTC 2008
- Previous message (by thread): rpms/perl-Algorithm-FastPermute/devel perl-Algorithm-FastPermute.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Algorithm-FastPermute/F-8 perl-Algorithm-FastPermute.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: mjakubicek
Update of /cvs/pkgs/rpms/perl-Algorithm-FastPermute/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31943/F-7
Modified Files:
.cvsignore sources
Added Files:
perl-Algorithm-FastPermute.spec
Log Message:
- Initial release.
--- NEW FILE perl-Algorithm-FastPermute.spec ---
%define short_name Algorithm-FastPermute
Name: perl-%{short_name}
Version: 0.999
Release: 2%{?dist}
Summary: Rapid generation of permutations
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/%{short_name}/
Source0: http://www.cpan.org/authors/id/R/RO/ROBIN/%{short_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Algorithm::FastPermute generates all the permutations of an array. You pass
a block of code, which will be executed for each permutation. The array
will be changed in place, and then changed back again before "permute"
returns. During the execution of the callback, the array is read-only and
you'll get an error if you try to change its length.
%prep
%setup -q -n %{short_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README perms.pl
%dir %{perl_vendorarch}/Algorithm
%{perl_vendorarch}/Algorithm/FastPermute.pm
%{perl_vendorarch}/auto/*
%{_mandir}/man3/*.3*
%exclude %{perl_vendorarch}/Algorithm/perms.pl
%changelog
* Fri Apr 04 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 0.999-2
- License changed to "GPL+ or Artistic".
* Sat Mar 08 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 0.999-1
- Initial release based on SRPM from Marius Feraru (reb00t.com).
- Modified according to the default perl spec file template.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Algorithm-FastPermute/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Apr 2008 22:14:36 -0000 1.1
+++ .cvsignore 5 Apr 2008 09:32:32 -0000 1.2
@@ -0,0 +1 @@
+Algorithm-FastPermute-0.999.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Algorithm-FastPermute/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Apr 2008 22:14:36 -0000 1.1
+++ sources 5 Apr 2008 09:32:32 -0000 1.2
@@ -0,0 +1 @@
+83a11265ddc65a669d6c899d3941e537 Algorithm-FastPermute-0.999.tar.gz
- Previous message (by thread): rpms/perl-Algorithm-FastPermute/devel perl-Algorithm-FastPermute.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/perl-Algorithm-FastPermute/F-8 perl-Algorithm-FastPermute.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list