auto-import changelog data from perl-XML-Parser-2.31-12.src.rpm

Tue Aug 06 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
- description update
Tue Jun 04 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when
    package is removed
This commit is contained in:
cvsdist 2004-09-09 10:23:39 +00:00
parent d5273de052
commit 521ed25923
3 changed files with 75 additions and 2 deletions

View File

@ -1 +1 @@
XML-Parser-2.30.tar.gz XML-Parser-2.31.tar.gz

73
perl-XML-Parser.spec Normal file
View File

@ -0,0 +1,73 @@
Summary: A low level Perl module for parsing XML either via trees or streaming.
Name: perl-XML-Parser
Version: 2.31
Release: 12
License: distributable
Group: Applications/CPAN
Source0: XML-Parser-%{version}.tar.gz
Url: http://www.cpan.org
BuildRoot: %{_tmppath}/perl-XML-Parser-buildroot/
BuildRequires: perl >= 2:5.8.0
BuildRequires: perl-libwww-perl
BuildRequires: perl-URI
Requires: perl >= 2:5.8.0
Requires: perl-libwww-perl
Requires: perl-URI
%description
This module provides ways to parse XML documents. It is built on top
of XML::Parser::Expat, which is a lower level interface to James
Clark's expat library. Each call to one of the parsing methods creates
a new instance of XML::Parser::Expat which is then used to parse the
document. Expat options may be provided when the XML::Parser object is
created. These options are then passed on to the Expat object on each
parse call. They can also be given as extra arguments to the parse
methods, in which case they override options given at XML::Parser
creation time.
%prep
%setup -q -n XML-Parser-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
make test
%clean
rm -rf $RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
make install
[ -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" > XML-Parser-%{version}-filelist
if [ "$(cat XML-Parser-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f XML-Parser-%{version}-filelist
%defattr(-,root,root)
%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/XML/Parser
%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/auto/XML/Parser
%changelog
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Thu Jun 27 2002 Chip Turner <cturner@redhat.com>
- description update
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when package is removed
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Fri Dec 7 2001 root <root@redhat.com>
- Spec file was autogenerated.

View File

@ -1 +1 @@
1729859ea9db2718c86c23dfc2ab3c6f XML-Parser-2.30.tar.gz 01f136a5f71631845979fd2b797b3ce3 XML-Parser-2.31.tar.gz