Author: amateja Date: Fri Aug 28 07:27:07 2009 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/perl-Class-Gomor: perl-Class-Gomor.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-Class-Gomor/perl-Class-Gomor.spec diff -u /dev/null packages/perl-Class-Gomor/perl-Class-Gomor.spec:1.1 --- /dev/null Fri Aug 28 09:27:07 2009 +++ packages/perl-Class-Gomor/perl-Class-Gomor.spec Fri Aug 28 09:27:02 2009 @@ -0,0 +1,72 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir Class +%define pnam Gomor +Summary: Class::Gomor - another class and object builder +Summary(pl.UTF-8): Class:Gomor - kolejny builder klas i obiektów +Name: perl-Class-Gomor +Version: 1.02 +Release: 1 +License: artistic +Group: Development/Languages/Perl +Source0: http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 287c3b3be72fcb4a4089fe232b8b1002 +URL: http://search.cpan.org/dist/Class-Gomor/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module is yet another class builder. This one adds parameter +checking in new constructor, that is to check for attributes +existence, and definedness. + +%description -l pl.UTF-8 +Ten moduł jest jeszcze kolejnym builderem klas. + +%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} install \ + DESTDIR=$RPM_BUILD_ROOT + +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 README +%{perl_vendorlib}/Class/*.pm +%{perl_vendorlib}/Class/Gomor +%{_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 2009/08/28 07:27:02 amateja +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
