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: Classes for using SAX2 in Perl.
Summary: XML-SAX Perl module
Name: perl-XML-SAX
Version: 0.03
Release: 2
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}
Version: 0.12
Release: 5
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
BuildRequires: perl-XML-NamespaceSupport
%description
XML::SAX consists of several framework classes for using and building
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.
%{summary}.
%define __find_provides /usr/lib/rpm/find-provides.perl
%define __find_requires /usr/lib/rpm/find-requires.perl
%prep
%setup -q -n XML-SAX-%{version}
%build
%{__perl} Makefile.PL < /dev/null
make
echo N | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT%{_prefix} INSTALLDIRS=vendor
make OPTIMIZE="$RPM_OPT_FLAGS"
make test
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make pure_install PREFIX=$RPM_BUILD_ROOT/usr
rm -rf $RPM_BUILD_ROOT
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 |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
grep -v "\.packlist" > filelist
if [ "$(cat filelist)X" = "X" ] ; then
find $RPM_BUILD_ROOT%{_prefix} -type f -print | \
sed "s@^$RPM_BUILD_ROOT@@g" > %{name}-%{version}-%{release}-filelist
if [ "$(cat %{name}-%{version}-%{release}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
exit 1
fi
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%files -f filelist
%defattr (-,root,root)
%doc Changes LICENSE README
%files -f %{name}-%{version}-%{release}-filelist
%defattr(-,root,root,-)
%changelog
* Wed Apr 03 2002 Gary Benson <gbenson@redhat.com> 0.03-2
- tweak perl dependency as suggested by cturner@redhat.com
* Wed Oct 22 2003 Chip Turner <cturner@redhat.com> - 0.12-1
- 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