auto-import changelog data from perl-XML-SAX-0.12-5.src.rpm

Wed Oct 22 2003 Chip Turner <cturner@redhat.com> - 0.12-1
- Specfile autogenerated.
This commit is contained in:
cvsdist 2004-09-09 10:23:36 +00:00
parent cdcc2dbde8
commit 21a2af0bc2
3 changed files with 33 additions and 45 deletions

View File

@ -1 +1 @@
XML-SAX-0.03.tar.gz XML-SAX-0.12.tar.gz

View File

@ -1,65 +1,53 @@
%define perlver %(rpm -q perl --queryformat '%%{version}') Summary: XML-SAX Perl module
Summary: Classes for using SAX2 in Perl.
Name: perl-XML-SAX Name: perl-XML-SAX
Version: 0.03 Version: 0.12
Release: 2 Release: 5
Group: System Environment/Libraries
Vendor: Red Hat, Inc.
BuildRoot: %{_tmppath}/%{name}-buildroot
Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/XML/XML-SAX-%{version}.tar.gz
BuildPrereq: perl
Requires: perl >= %{perlver}
License: GPL or Artistic License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/XML-SAX/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: perl >= 2:5.8.0
Requires: %(perl -MConfig -le 'if (defined $Config{useithreads}) { print "perl(:WITH_ITHREADS)" } else { print "perl(:WITHOUT_ITHREADS)" }')
Requires: %(perl -MConfig -le 'if (defined $Config{usethreads}) { print "perl(:WITH_THREADS)" } else { print "perl(:WITHOUT_THREADS)" }')
Requires: %(perl -MConfig -le 'if (defined $Config{uselargefiles}) { print "perl(:WITH_LARGEFILES)" } else { print "perl(:WITHOUT_LARGEFILES)" }')
Source0: XML-SAX-0.12.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRequires: perl-XML-NamespaceSupport
%description %description
XML::SAX consists of several framework classes for using and building %{summary}.
Perl SAX2 XML parsers, filters, and drivers. It is designed around the
need to be able to "plug in" different SAX parsers to an application
without requiring programmer intervention. Those of you familiar with
the DBI will be right at home. Some of the designs come from the Java
JAXP specification (SAX part), only without the javaness.
%define __find_provides /usr/lib/rpm/find-provides.perl
%define __find_requires /usr/lib/rpm/find-requires.perl
%prep %prep
%setup -q -n XML-SAX-%{version} %setup -q -n XML-SAX-%{version}
%build %build
%{__perl} Makefile.PL < /dev/null echo N | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor
make make OPTIMIZE="$RPM_OPT_FLAGS"
make test
%install %install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
make pure_install PREFIX=$RPM_BUILD_ROOT/usr eval `perl '-V:installarchlib'`
mkdir -p $RPM_BUILD_ROOT$installarchlib
%makeinstall
rm -f `find $RPM_BUILD_ROOT -type f -name perllocal.pod -o -name .packlist`
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress [ -x %{_libdir}/rpm/brp-compress ] && %{_libdir}/rpm/brp-compress
find $RPM_BUILD_ROOT/usr -type f -print | find $RPM_BUILD_ROOT%{_prefix} -type f -print | \
sed "s@^$RPM_BUILD_ROOT@@g" | sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-%{release}-filelist
grep -v perllocal.pod | if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
grep -v "\.packlist" > filelist
if [ "$(cat filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST" echo "ERROR: EMPTY FILE LIST"
exit -1 exit 1
fi fi
%clean %clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files -f filelist %files -f %{name}-%{version}-%{release}-filelist
%defattr (-,root,root) %defattr(-,root,root,-)
%doc Changes LICENSE README
%changelog %changelog
* Wed Apr 03 2002 Gary Benson <gbenson@redhat.com> 0.03-2 * Wed Oct 22 2003 Chip Turner <cturner@redhat.com> - 0.12-1
- tweak perl dependency as suggested by cturner@redhat.com - Specfile autogenerated.
* Wed Mar 20 2002 Gary Benson <gbenson@redhat.com>
- build against perl 5.6.1
* Mon Jan 14 2002 Gary Benson <gbenson@redhat.com> 0.03-1
- initial revision.

View File

@ -1 +1 @@
f4da07ffcd323521407ef5e30620a5d7 XML-SAX-0.03.tar.gz bff58bd077a9693fc8cf32e2b95f571f XML-SAX-0.12.tar.gz