Author: radek Date: Sun Dec 2 23:34:06 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-WWW-Comic.spec (NONE -> 1.1) (NEW), perl-WWW-Dilbert.spec (NONE -> 1.1) (NEW), perl-WWW-VenusEnvy.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-WWW-Comic.spec diff -u /dev/null SPECS/perl-WWW-Comic.spec:1.1 --- /dev/null Mon Dec 3 00:34:06 2007 +++ SPECS/perl-WWW-Comic.spec Mon Dec 3 00:34:01 2007 @@ -0,0 +1,78 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_with tests # perform "make test" (uses network) +# +%include /usr/lib/rpm/macros.perl +%define pdir WWW +%define pnam Comic +Summary: WWW::Comic - Retrieve comic strip images +#Summary(pl.UTF-8): +Name: perl-WWW-Comic +Version: 1.06 +Release: 1 +License: Apache v2.0 +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 211826fbbdf07e8448145c6a7a33f621 +URL: http://search.cpan.org/dist/WWW-Comic/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl(WWW::Dilbert) >= 1.18 +BuildRequires: perl(WWW::VenusEnvy) >= 1.06 +BuildRequires: perl-libwww +BuildRequires: perl-Module-Pluggable >= 2.96 +BuildRequires: perl-Test-Pod +BuildRequires: perl-Test-Pod-Coverage +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module will download cartoon comic strip images from various +websites and return a binary blob of the image, or write it to +disk. Multiple comic strips can be supported through subclassed +plugin modules. + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +AUTOMATED_TESTING=1 +export AUTOMATED_TESTING +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes INSTALL TODO +%{perl_vendorlib}/WWW/*.pm +%{perl_vendorlib}/WWW/Comic +%{_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 2007-12-02 23:34:01 radek +- new + ================================================================ Index: SPECS/perl-WWW-Dilbert.spec diff -u /dev/null SPECS/perl-WWW-Dilbert.spec:1.1 --- /dev/null Mon Dec 3 00:34:06 2007 +++ SPECS/perl-WWW-Dilbert.spec Mon Dec 3 00:34:01 2007 @@ -0,0 +1,77 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_with tests # perform "make test" (uses network) +# +%include /usr/lib/rpm/macros.perl +%define pdir WWW +%define pnam Dilbert +Summary: WWW::Dilbert - Retrieve Dilbert of the day comic strip images +#Summary(pl.UTF-8): +Name: perl-WWW-Dilbert +Version: 1.19 +Release: 1 +License: Apache v2.0 +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 6f1725fde846c27b7a38ca4ea3ed3182 +URL: http://search.cpan.org/dist/WWW-Dilbert/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-libwww +BuildRequires: perl-Test-Pod +BuildRequires: perl-Test-Pod-Coverage +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module will download the latest Dilbert of the Day cartoon strip +from the Dilbert website and return a binary blob of the image, or +write it to disk. + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +AUTOMATED_TESTING=1 +export AUTOMATED_TESTING +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes INSTALL TODO +%{perl_vendorlib}/WWW/*.pm +%{_mandir}/man3/* +%{_examplesdir}/%{name}-%{version} + +%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 2007-12-02 23:34:01 radek +- new + ================================================================ Index: SPECS/perl-WWW-VenusEnvy.spec diff -u /dev/null SPECS/perl-WWW-VenusEnvy.spec:1.1 --- /dev/null Mon Dec 3 00:34:06 2007 +++ SPECS/perl-WWW-VenusEnvy.spec Mon Dec 3 00:34:01 2007 @@ -0,0 +1,77 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without autodeps # don't BR packages needed only for resolving deps +%bcond_with tests # perform "make test" (uses network) +# +%include /usr/lib/rpm/macros.perl +%define pdir WWW +%define pnam VenusEnvy +Summary: WWW::VenusEnvy - Retrieve VenusEnvy comic strip images +#Summary(pl.UTF-8): +Name: perl-WWW-VenusEnvy +Version: 1.10 +Release: 1 +License: Apache v2.0 +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/WWW/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 15926752f71ac3e15a3513f2c2532633 +URL: http://search.cpan.org/dist/WWW-VenusEnvy/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with autodeps} || %{with tests} +BuildRequires: perl-libwww +BuildRequires: perl-Test-Pod +BuildRequires: perl-Test-Pod-Coverage +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module will download the latest VenusEnvy comic strip from the +Keenspace website and return a binary blob of the image, or write it +to disk. + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +AUTOMATED_TESTING=1 +export AUTOMATED_TESTING +%{__perl} Build.PL \ + destdir=$RPM_BUILD_ROOT \ + installdirs=vendor +./Build + +%{?with_tests:./Build test} + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install + +install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} +cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes INSTALL TODO +%{perl_vendorlib}/WWW/*.pm +%{_mandir}/man3/* +%{_examplesdir}/%{name}-%{version} + +%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 2007-12-02 23:34:01 radek +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
