parent
c2b3c6f4cd
commit
57dee12726
@ -1 +1 @@
|
|||||||
libxml-perl-0.07.tar.bz2
|
libxml-perl-0.08.tar.gz
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
%define _use_internal_dependency_generator 0
|
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)
|
||||||
|
|
||||||
%define module libxml-perl
|
|
||||||
Summary: A collection of Perl modules for working with XML.
|
|
||||||
Name: perl-%{module}
|
|
||||||
Version: 0.07
|
|
||||||
Release: 31
|
|
||||||
License: distributable
|
|
||||||
Group: System Environment/Libraries
|
|
||||||
Source0: %{module}-%{version}.tar.bz2
|
|
||||||
Url: http://www.cpan.org
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-buildroot/
|
|
||||||
Requires: perl >= 5.6.0, perl-XML-Parser
|
|
||||||
BuildRequires: perl-XML-Parser
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: perl >= 1:5.6.1
|
||||||
|
BuildRequires: perl(XML::Parser)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libxml-perl is a collection of smaller Perl modules, scripts, and
|
libxml-perl is a collection of smaller Perl modules, scripts, and
|
||||||
@ -22,37 +22,38 @@ others.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{module}-%{version}
|
%setup -q -n libxml-perl-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make
|
make %{?_smp_mflags}
|
||||||
make test || /bin/true
|
|
||||||
|
%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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%install
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
make install
|
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc ChangeLog Changes README
|
||||||
|
%{perl_vendorlib}/Data/
|
||||||
|
%{perl_vendorlib}/XML/
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT/usr -type f -print |
|
|
||||||
sed "s@^$RPM_BUILD_ROOT@@g" |
|
|
||||||
grep -v perllocal.pod |
|
|
||||||
grep -v "\.packlist" > perl-libxml-perl-%{version}-filelist
|
|
||||||
if [ "$(cat perl-libxml-perl-%{version}-filelist)X" = "X" ] ; then
|
|
||||||
echo "ERROR: EMPTY FILE LIST"
|
|
||||||
exit -1
|
|
||||||
fi
|
|
||||||
|
|
||||||
%files -f perl-libxml-perl-%{version}-filelist
|
|
||||||
%defattr(-,root,root)
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Mar 30 2005 Warren Togami <wtogami@redhat.com>
|
* Sat Apr 02 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.08-1
|
||||||
- remove brp-compress
|
- Update to 0.08.
|
||||||
|
- spec cleanup (#153199)
|
||||||
|
|
||||||
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.07-30
|
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 0.07-30
|
||||||
- rebuild
|
- rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user