Author: agaran Date: Mon Jul 31 22:15:07 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, version 0.08, rel 0.1, builds
---- Files affected: SPECS: perl-POE-Component-RSS.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-POE-Component-RSS.spec diff -u /dev/null SPECS/perl-POE-Component-RSS.spec:1.1 --- /dev/null Tue Aug 1 00:15:07 2006 +++ SPECS/perl-POE-Component-RSS.spec Tue Aug 1 00:15:02 2006 @@ -0,0 +1,75 @@ +# $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 POE +%define pnam Component-RSS +Summary: perl(POE::Component::RSS) +Name: perl-POE-Component-RSS +Version: 0.08 +Release: 0.1 +# note if it is "same as perl" +License: (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here) +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: d11b15431c41e807fde23b3cd0f7e10c +# most of CPAN modules have generic URL (substitute pdir and pnam here) +URL: http://search.cpan.org/dist/POE-Component-RSS +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +#BuildRequires: - +%if %{with autodeps} || %{with tests} +#BuildRequires: perl- +#BuildRequires: perl- +%endif +#Requires: - +#Provides: - +#Obsoletes: - +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +#%define _noautoreq 'perl(anything_fake_or_conditional)' + +%description +Perl module POE::Component::RSS is an event based RSS parsing module. It wraps +XML::RSS and provides a POE based framework for accessing the information +provided. + +%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 LICENSE +%{perl_vendorlib}/POE/Component/RSS.pm +%{_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/07/31 22:15:02 agaran +- initial, version 0.08, rel 0.1, builds + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
