Author: arekm Date: Wed Dec 10 07:13:59 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: perl-parent.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-parent.spec diff -u /dev/null SPECS/perl-parent.spec:1.1 --- /dev/null Wed Dec 10 08:13:59 2008 +++ SPECS/perl-parent.spec Wed Dec 10 08:13:53 2008 @@ -0,0 +1,59 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir parent +Summary: parent - Establish an ISA relationship with base classes at compile time +Name: perl-parent +Version: 0.221 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +URL: http://search.cpan.org/dist/parent/ +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +Source0: http://search.cpan.org/CPAN/authors/id/C/CO/CORION/%{pdir}-%{version}.tar.gz +# Source0-md5: 4bacb68147a063ec475fd1a63c949d74 +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Allows you to both load one or more modules, while setting up inheritance from those modules at the same time. + +%prep +%setup -q -n %{pdir}-%{version} + +%build +%{__perl} Makefile.PL \ + INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ + DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes +%{perl_vendorlib}/parent.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 2008/12/10 07:13:53 arekm +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
