Author: arekm Date: Sun Aug 20 17:03:39 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - unfinished
---- Files affected: SPECS: perl-Coro.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Coro.spec diff -u /dev/null SPECS/perl-Coro.spec:1.1 --- /dev/null Sun Aug 20 19:03:39 2006 +++ SPECS/perl-Coro.spec Sun Aug 20 19:03:34 2006 @@ -0,0 +1,69 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Coro +%define pnam Coro +Summary: Coro - do events the coro-way +Name: perl-Coro +Version: 1.9 +Release: 0.1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz +# Source0-md5: 63efa9fb31ded80f2c7d1fb900163824 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module enables you to create programs using the powerful Event +model (and module), while retaining the linear style known from simple +or threaded programs. + +%prep +%setup -q -n %{pnam}-%{version} + +%build +echo "y +l +16384" | %{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} \ + OPTIMIZE="%{rpmcflags}" + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc ANNOUNCE ChangeLog README TODO + +%{perl_vendorarch}/Coro.pm +%{perl_vendorarch}/Coro +%dir %{perl_vendorarch}/auto/Coro +%{perl_vendorarch}/auto/Coro/*.bs +%attr(755,root,root) %{perl_vendorarch}/auto/Coro/*.so +%{_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 2006/08/20 17:03:34 arekm +- unfinished + + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
