Author: radek Date: Fri Feb 20 10:26:22 2009 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-Rose-Object.spec (NONE -> 1.1) (NEW), perl-Rose-DateTime.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-Rose-Object.spec diff -u /dev/null SPECS/perl-Rose-Object.spec:1.1 --- /dev/null Fri Feb 20 11:26:22 2009 +++ SPECS/perl-Rose-Object.spec Fri Feb 20 11:26:16 2009 @@ -0,0 +1,67 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Rose +%define pnam Object +Summary: Rose::Object - A simple object base class. +#Summary(pl.UTF-8): +Name: perl-Rose-Object +Version: 0.855 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Rose/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: d9632687f60e78cf5b5ea4f2a0384c53 +URL: http://search.cpan.org/dist/Rose-Object/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Rose::Object is a generic object base class. It provides very little +functionality, but a healthy dose of convention. + +# %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 +%{perl_vendorlib}/Rose/*.pm +%{perl_vendorlib}/Rose/Object +%{perl_vendorlib}/Rose/Class +%{_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 2009/02/20 10:26:16 radek +- new + ================================================================ Index: SPECS/perl-Rose-DateTime.spec diff -u /dev/null SPECS/perl-Rose-DateTime.spec:1.1 --- /dev/null Fri Feb 20 11:26:22 2009 +++ SPECS/perl-Rose-DateTime.spec Fri Feb 20 11:26:16 2009 @@ -0,0 +1,78 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Rose +%define pnam DateTime +Summary: Rose::DateTime - DateTime helper functions and objects. +#Summary(pl.UTF-8): +Name: perl-Rose-DateTime +Version: 0.532 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Rose/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 4b22b9178c28f267a4907b365ecfc35d +URL: http://search.cpan.org/dist/Rose-DateTime/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +# FAIL: circular dependency +#BuildRequires: perl(Rose::Object) >= 0.82 +BuildRequires: perl-DateTime +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The Rose::DateTime::* modules provide a few convenience functions +and objects for use with DateTime dates. + +Rose::DateTime::Util contains a simple date parser and a slightly +customized date formatter. + +Rose::DateTime::Parser encapsulates a date parser with an associated +default time zone. + +# %description -l pl.UTF-8 +# TODO + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +# the "||:" added due to the circular dependency with perl-Rose-Object +%{?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 +%{perl_vendorlib}/Rose/*.pm +%{perl_vendorlib}/Rose/DateTime +%{_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 2009/02/20 10:26:16 radek +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
