auto-import changelog data from perl-XML-SAX-0.03-1.src.rpm
Mon Jan 14 2002 Gary Benson <gbenson@redhat.com> 0.03-1 - initial revision.
This commit is contained in:
parent
484f447494
commit
b25460cfda
@ -0,0 +1 @@
|
||||
XML-SAX-0.03.tar.gz
|
59
perl-XML-SAX.spec
Normal file
59
perl-XML-SAX.spec
Normal file
@ -0,0 +1,59 @@
|
||||
%define perlver %(rpm -q perl --queryformat '%%{version}')
|
||||
|
||||
Summary: Classes for using SAX2 in Perl.
|
||||
Name: perl-XML-SAX
|
||||
Version: 0.03
|
||||
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-SAX-%{version}.tar.gz
|
||||
BuildPrereq: perl
|
||||
Requires: perl = %{perlver}
|
||||
License: GPL or Artistic
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%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.
|
||||
|
||||
|
||||
%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
|
||||
|
||||
%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 LICENSE README
|
||||
|
||||
%changelog
|
||||
* Mon Jan 14 2002 Gary Benson <gbenson@redhat.com> 0.03-1
|
||||
- initial revision.
|
Loading…
Reference in New Issue
Block a user