Author: agaran Date: Fri Feb 15 22:58:39 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, rel 1, builds here
---- Files affected: SPECS: perl-Gearman-Client-Async.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Gearman-Client-Async.spec diff -u /dev/null SPECS/perl-Gearman-Client-Async.spec:1.1 --- /dev/null Fri Feb 15 23:58:39 2008 +++ SPECS/perl-Gearman-Client-Async.spec Fri Feb 15 23:58:33 2008 @@ -0,0 +1,71 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Gearman +%define pnam Client-Async +Summary: Gearman::Client::Async - Asynchronous client module for Gearman for Danga::Socket applications +#Summary(pl.UTF-8): +Name: perl-Gearman-Client-Async +Version: 0.94 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-authors/id/B/BR/BRADFITZ/Gearman-Client-Async-0.94.tar.gz +# Source0-md5: 71dcadfb434202dbdf4798f2ec93b32f +# generic URL, check or change before uncommenting +#URL: http://search.cpan.org/dist/Gearman-Client-Async/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-Danga-Socket >= 1.52 +BuildRequires: perl-Gearman >= 1.05 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description + + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} pure_install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc CHANGES README.txt TODO +%{perl_vendorlib}/Gearman/Client/*.pm +%{perl_vendorlib}/Gearman/Client/Async +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008-02-15 22:58:33 agaran +- initial, rel 1, builds here + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
