From dfe1665138147f2a5273740e274441ff769b17f1 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 10:21:11 +0000 Subject: [PATCH] auto-import changelog data from perl-XML-LibXML-1.31-1.src.rpm Mon Jan 14 2002 Gary Benson 1.31-1 - initial revision. --- .cvsignore | 1 + perl-XML-LibXML.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+) create mode 100644 perl-XML-LibXML.spec diff --git a/.cvsignore b/.cvsignore index e69de29..2c2e263 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +XML-LibXML-1.31.tar.gz diff --git a/perl-XML-LibXML.spec b/perl-XML-LibXML.spec new file mode 100644 index 0000000..01260ad --- /dev/null +++ b/perl-XML-LibXML.spec @@ -0,0 +1,52 @@ +%define perlver %(rpm -q perl --queryformat '%%{version}') + +Summary: Perl bindings for the GNOME libxml2 library +Name: perl-XML-LibXML +Version: 1.31 +Release: 1 +Group: System Environment/Libraries +Vendor: Red Hat, Inc. +BuildRoot: %{_tmppath}/%{name}-buildroot +Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/XML/XML-LibXML-%{version}.tar.gz +BuildPrereq: libxml2-devel >= 2.4.3, perl, perl-XML-SAX +Requires: libxml2 >= 2.4.3, perl = %{perlver}, perl-XML-SAX +License: GPL or Artistic + +%description +Perl bindings for the GNOME libxml2 library. + + +%define __find_provides /usr/lib/rpm/find-provides.perl +%define __find_requires /usr/lib/rpm/find-requires.perl +%prep +%setup -q -n XML-LibXML-%{version} + +%build +%{__perl} Makefile.PL < /dev/null +make + +%install +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +make pure_install PREFIX=$RPM_BUILD_ROOT/usr + +[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress + +find $RPM_BUILD_ROOT/usr -type f -print | + sed "s@^$RPM_BUILD_ROOT@@g" | + grep -v perllocal.pod | + grep -v "\.packlist" > filelist +if [ "$(cat filelist)X" = "X" ] ; then + echo "ERROR: EMPTY FILE LIST" + exit -1 +fi + +%clean +[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT + +%files -f filelist +%defattr (-,root,root) +%doc Changes PHISHS.CHANGES README + +%changelog +* Mon Jan 14 2002 Gary Benson 1.31-1 +- initial revision. diff --git a/sources b/sources index e69de29..0ec96e7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +680089366ccb5cc06372dee14042c5e2 XML-LibXML-1.31.tar.gz