Author: mguevara Date: Wed Feb 15 01:28:26 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - MKDoc::XML - The MKDoc XML Toolkit
---- Files affected: SPECS: perl-MKDoc-XML.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/perl-MKDoc-XML.spec diff -u /dev/null SPECS/perl-MKDoc-XML.spec:1.1 --- /dev/null Wed Feb 15 02:28:26 2006 +++ SPECS/perl-MKDoc-XML.spec Wed Feb 15 02:28:21 2006 @@ -0,0 +1,65 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pnam MKDoc-XML +Summary: MKDoc::XML - The MKDoc XML Toolkit +#Summary(pl): +Name: perl-MKDoc-XML +Version: 0.75 +Release: 0.1 +# same as perl (REMOVE THIS LINE IF NOT TRUE) +License: same as perl +Group: Development/Languages/Perl +Source0: http://search.cpan.org/CPAN/authors/id/B/BP/BPOSTLE/%{pnam}-%{version}.tar.gz +# Source0-md5: bae96f16d2f55ac01f562d2e101b2824 +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 +MKDoc::XML - The MKDoc XML Toolkit + +# %description -l pl +# TODO + +%prep +%setup -q -n %{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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc Changes README +%{perl_vendorlib}/MKDoc/*.pm +%{perl_vendorlib}/MKDoc/XML +%{_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 2006/02/15 01:28:21 mguevara +- MKDoc::XML - The MKDoc XML Toolkit + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
