SPECS: perl-XML-XSLT-Wrapper.spec (NEW) - new

glen glen at pld-linux.org
Fri Apr 7 01:29:14 CEST 2006


Author: glen                         Date: Thu Apr  6 23:29:14 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   perl-XML-XSLT-Wrapper.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-XML-XSLT-Wrapper.spec
diff -u /dev/null SPECS/perl-XML-XSLT-Wrapper.spec:1.1
--- /dev/null	Fri Apr  7 01:29:14 2006
+++ SPECS/perl-XML-XSLT-Wrapper.spec	Fri Apr  7 01:29:09 2006
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	XML
+%define	pnam	XSLT-Wrapper
+Summary:	XML::XSLT::Wrapper - Consistent interface to XSLT processors
+Name:		perl-XML-XSLT-Wrapper
+Version:	0.32
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-authors/id/M/MU/MULL/XML-XSLT-Wrapper-0.32.tar.gz
+# Source0-md5:	d08350e5d6a45d5e42ac7ab5fa80fd45
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Provides a consistent interface to various XSLT processors.  Tries each
+of a supplied list of processors in turn until one performs a successful
+transform. If no list is given, tries all the processors it knows until
+one works. Does its best to fail gracefully whenever a processor does
+not work for some reason.
+
+%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 TODO
+%dir %{perl_vendorlib}/XML/XSLT
+%{perl_vendorlib}/XML/XSLT/*.pm
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/04/06 23:29:09  glen
+- new
+
================================================================


More information about the pld-cvs-commit mailing list