[svn] r7285 - in trunk/rpms: . perl-IO-Async

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Mon Jul 6 15:25:52 CEST 2009


Author: cmr
Date: 2009-07-06 14:25:52 +0100 (Mon, 06 Jul 2009)
New Revision: 7285

Added:
   trunk/rpms/perl-IO-Async/
   trunk/rpms/perl-IO-Async/perl-IO-Async.spec
Log:
initial package


Added: trunk/rpms/perl-IO-Async/perl-IO-Async.spec
===================================================================
--- trunk/rpms/perl-IO-Async/perl-IO-Async.spec	                        (rev 0)
+++ trunk/rpms/perl-IO-Async/perl-IO-Async.spec	2009-07-06 13:25:52 UTC (rev 7285)
@@ -0,0 +1,62 @@
+# $Id$
+# Authority: cmr
+# Upstream: Paul Evans E<lt>leonerd$leonerd,org,ukE<gt>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name IO-Async
+
+Summary: a collection of modules that implement asynchronous filehandle IO
+Name: perl-IO-Async
+Version: 0.21
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/IO-Async/
+
+Source: http://www.cpan.org/modules/by-module/IO/IO-Async-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(File::Temp)
+BuildRequires: perl(Test::Exception)
+BuildRequires: perl(Test::More)
+BuildRequires: perl(Test::Refcount)
+
+%description
+a collection of modules that implement asynchronous filehandle
+IO.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+### Clean up docs
+find examples/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes MANIFEST META.yml examples/
+%doc %{_mandir}/man3/IO::Async*.3pm*
+%dir %{perl_vendorlib}/IO/
+%{perl_vendorlib}/IO/Async/
+%{perl_vendorlib}/IO/Async.pm
+
+%changelog
+* Mon Jul 06 2009 Christoph Maser <cmr at financial.com> - 0.21-1
+- Initial package. (using DAR)




More information about the commits mailing list