57dee12726
- spec cleanup (#153199)
93 lines
2.5 KiB
RPMSpec
93 lines
2.5 KiB
RPMSpec
Name: perl-libxml-perl
|
|
Version: 0.08
|
|
Release: 1
|
|
Summary: A collection of Perl modules for working with XML
|
|
|
|
Group: Development/Libraries
|
|
License: GPL or Artistic
|
|
URL: http://search.cpan.org/dist/libxml-perl/
|
|
Source0: http://www.cpan.org/authors/id/K/KM/KMACLEOD/libxml-perl-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildArch: noarch
|
|
BuildRequires: perl >= 1:5.6.1
|
|
BuildRequires: perl(XML::Parser)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
%description
|
|
libxml-perl is a collection of smaller Perl modules, scripts, and
|
|
documents for working with XML in Perl. libxml-perl software works in
|
|
combination with XML::Parser, PerlSAX, XML::DOM, XML::Grove and
|
|
others.
|
|
|
|
|
|
%prep
|
|
%setup -q -n libxml-perl-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
|
|
|
%check || :
|
|
make test
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc ChangeLog Changes README
|
|
%{perl_vendorlib}/Data/
|
|
%{perl_vendorlib}/XML/
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
%changelog
|
|
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-1
|
|
- Update to 0.08.
|
|
- spec cleanup (#153199)
|
|
|
|
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.07-30
|
|
- rebuild
|
|
|
|
* Fri Apr 23 2004 Chip Turner <cturner@redhat.com> 0.07-29
|
|
- bump
|
|
|
|
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
|
|
- automated release bump and build
|
|
|
|
* Wed Mar 27 2002 Chip Turner <cturner@redhat.com>
|
|
- move to vendor_perl
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
- automated rebuild
|
|
|
|
* Thu Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.07-5
|
|
- imported from mandrake. tweaked man path.
|
|
|
|
* Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.07-4mdk
|
|
- Rebuild for the latest perl.
|
|
- Remove Distribution and Vendor tag.
|
|
- Don't run make test for now.
|
|
|
|
* Tue Mar 13 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 0.07-3mdk
|
|
- BuildArch: noarch
|
|
- add docs
|
|
- rename spec file
|
|
- clean up spec a bit
|
|
- run automated tests
|
|
|
|
* Sat Sep 16 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 0.07-2mdk
|
|
- Call spec-helper before creating filelist
|
|
|
|
* Wed Aug 09 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 0.07-1mdk
|
|
- Macroize package
|