Author: zbyniu Date: Tue Jan 24 16:29:59 2012 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/perl-Catalyst-Component-InstancePerContext: perl-Catalyst-Component-InstancePerContext.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-Catalyst-Component-InstancePerContext/perl-Catalyst-Component-InstancePerContext.spec diff -u /dev/null packages/perl-Catalyst-Component-InstancePerContext/perl-Catalyst-Component-InstancePerContext.spec:1.1 --- /dev/null Tue Jan 24 17:29:59 2012 +++ packages/perl-Catalyst-Component-InstancePerContext/perl-Catalyst-Component-InstancePerContext.spec Tue Jan 24 17:29:54 2012 @@ -0,0 +1,69 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%define pdir Catalyst +%define pnam Component-InstancePerContext +%include /usr/lib/rpm/macros.perl +Summary: Catalyst::Component::InstancePerContext - Return a new instance a component on each request +#Summary(pl.UTF-8): +Name: perl-Catalyst-Component-InstancePerContext +Version: 0.001001 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Catalyst/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: dd3e9c804cb7f8d6755132d92b26a80a +# generic URL, check or change before uncommenting +#URL: http://search.cpan.org/dist/Catalyst-Component-InstancePerContext/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-Catalyst +BuildRequires: perl-Moose +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Return a new instance a component on each request + +# %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 README +%{perl_vendorlib}/Catalyst/Component/*.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 2012/01/24 16:29:54 zbyniu +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
