rpms/perl-Gearman/F-7 perl-Gearman.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Ruben Kerkhof (ruben) fedora-extras-commits at redhat.com
Mon Jul 2 21:05:50 UTC 2007


Author: ruben

Update of /cvs/pkgs/rpms/perl-Gearman/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29546

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Gearman.spec 
Log Message:
Initial import into F-7


--- NEW FILE perl-Gearman.spec ---
Name:           perl-Gearman
Version:        1.09
Release:        1%{?dist}
Summary:        Distributed job system
License:        GPL or Artistic
Group:          Development/Libraries
URL:            http://danga.com/gearman/
Source0:        http://search.cpan.org/CPAN/authors/id/B/BR/BRADFITZ/Gearman-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  perl(Test::More)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(String::CRC32)

Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
Gearman is a system to farm out work to other machines,
dispatching function calls to machines that are better suited to do work,
to do work in parallel, to load balance lots of function calls,
or to call functions between languages.

%prep
%setup -q -n Gearman-%{version}

# Filter double proved for Gearman::Client:
cat << \EOF > %{name}-prov
#!/bin/sh
%{__perl_provides} $* |\
  sed -e '/^perl(Gearman::Client)$/d'
EOF

%define __perl_provides %{_builddir}/Gearman-%{version}/%{name}-prov
chmod +x %{__perl_provides}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
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 -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 HACKING TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Sat Jun 30 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.09-1
- Upstream released new version
- New version now includes license information
- Filter out just one of the two Provides for Gearman::Client
* Thu Jun 28 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.08-2
- Filter out double Provides for Gearman::Client
- Change Source0 url
* Mon May 21 2007 Ruben Kerkhof <ruben at rubenkerkhof.com> 1.08-1
- Initial import



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Gearman/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Jul 2007 18:54:24 -0000	1.1
+++ .cvsignore	2 Jul 2007 21:05:14 -0000	1.2
@@ -0,0 +1 @@
+Gearman-1.09.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Gearman/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Jul 2007 18:54:24 -0000	1.1
+++ sources	2 Jul 2007 21:05:14 -0000	1.2
@@ -0,0 +1 @@
+97403520bed18e1a7316001742381b2c  Gearman-1.09.tar.gz




More information about the scm-commits mailing list