SPECS: perl-XML-SAX-ExpatNB.spec (NEW) - nfy, wip, initial,

agaran agaran at pld-linux.org
Wed Jul 19 20:59:36 CEST 2006


Author: agaran                       Date: Wed Jul 19 18:59:36 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- nfy, wip, initial, 

---- Files affected:
SPECS:
   perl-XML-SAX-ExpatNB.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-XML-SAX-ExpatNB.spec
diff -u /dev/null SPECS/perl-XML-SAX-ExpatNB.spec:1.1
--- /dev/null	Wed Jul 19 20:59:36 2006
+++ SPECS/perl-XML-SAX-ExpatNB.spec	Wed Jul 19 20:59:31 2006
@@ -0,0 +1,91 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests	# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define		pdir	XML
+%define		pnam	SAX-ExpatNB
+Summary:	XML::SAX::ExpatNB - SAX2 driver for Expat (XML::Parser)
+Name:		perl-XML-SAX-ExpatNB
+Version:	0.01
+Release:	0.1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	335735a0408272ba20addba8e7005bcc
+BuildRequires:	perl-XML-NamespaceSupport >= 0.03
+BuildRequires:	perl-XML-Parser >= 2.27
+BuildRequires:	perl-XML-SAX >= 0.03
+BuildRequires:	perl(XML::SAX::Base) >= 1.00
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is an implementation of a SAX2 driver sitting on top of Expat
+(XML::Parser).
+
+%description -l pl
+To jest implementacja sterownika SAX2 w oparciu o moduł Expat
+(XML::Parser).
+
+%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
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+umask 022
+%{__perl} -MXML::SAX -e "XML::SAX->add_parser(q(XML::SAX::Expat))->save_parsers()"
+
+%postun
+if [ "$1" = "0" ]; then
+	umask 022
+	%{__perl} -MXML::SAX -e "XML::SAX->remove_parser(q(XML::SAX::Expat))->save_parsers()"
+fi
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_vendorlib}/XML/SAX/Expat.pm
+%{_mandir}/man3/*
+
+%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/07/19 18:59:31  agaran
+- nfy, wip, initial,
+
+Revision 1.4  2004/11/03 22:30:56  paladine
+- formatting
+
+Revision 1.3  2004/05/05 06:28:47  ankry
+- license unification, cosmetics
+
+Revision 1.2  2004/04/15 19:46:36  ankry
+- cosmetics, unification
+
+Revision 1.1  2004/01/07 15:48:26  qboosh
+- new
+
================================================================


More information about the pld-cvs-commit mailing list