rpms/perl-Sort-Key/F-10 perl-Sort-Key.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Mon Apr 13 05:28:10 UTC 2009


Author: iarnell

Update of /cvs/pkgs/rpms/perl-Sort-Key/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7910/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Sort-Key.spec 
Log Message:
initial import


--- NEW FILE perl-Sort-Key.spec ---
Name:           perl-Sort-Key
Version:        1.28
Release:        1%{?dist}
Summary:        Fastest way to sort anything in Perl
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/Sort-Key/
Source0:        http://www.cpan.org/authors/id/S/SA/SALVA/Sort-Key-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More) >= 0.54
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Sort::Key provides a set of functions to sort lists of values by some
calculated key value.

# don't "provide" private Perl libs
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P}"
%global __find_requires /bin/sh -c "%{__deploop R}"

%prep
%setup -q -n Sort-Key-%{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' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Sort*
%{_mandir}/man3/*

%changelog
* Sat Apr 11 2009 Iain Arnell 1.28-1
- Specfile autogenerated by cpanspec 1.77.
- don't provide private Perl libs


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Sort-Key/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Apr 2009 18:35:37 -0000	1.1
+++ .cvsignore	13 Apr 2009 05:27:39 -0000	1.2
@@ -0,0 +1 @@
+Sort-Key-1.28.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Sort-Key/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Apr 2009 18:35:37 -0000	1.1
+++ sources	13 Apr 2009 05:27:39 -0000	1.2
@@ -0,0 +1 @@
+ec9d003d68784a5643815c65124aad18  Sort-Key-1.28.tar.gz




More information about the Fedora-perl-devel-list mailing list