package created by autospec [release 0.05-1mamba;Mon Feb 21 2011]
This commit is contained in:
parent
30e152e486
commit
a5db79657c
@ -1,2 +1,6 @@
|
|||||||
# perl-XML-TokeParser
|
# perl-XML-TokeParser
|
||||||
|
|
||||||
|
XML::TokeParser provides a procedural ("pull mode") interface to XML::Parser in much the same way that Gisle Aas'
|
||||||
|
HTML::TokeParser provides a procedural interface to HTML::Parser. XML::TokeParser splits its XML input up into
|
||||||
|
"tokens," each corresponding to an XML::Parser event.
|
||||||
|
|
||||||
|
54
perl-XML-TokeParser.spec
Normal file
54
perl-XML-TokeParser.spec
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-XML-TokeParser
|
||||||
|
Version: 0.05
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: XML::TokeParser - Simplified interface to XML::Parser
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: gil <puntogil@libero.it>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://search.cpan.org/CPAN/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(XML::Parser)
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
XML::TokeParser provides a procedural ("pull mode") interface to XML::Parser in much the same way that Gisle Aas'
|
||||||
|
HTML::TokeParser provides a procedural interface to HTML::Parser. XML::TokeParser splits its XML input up into
|
||||||
|
"tokens," each corresponding to an XML::Parser event.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n XML-TokeParser-%{version}
|
||||||
|
find . -type f | xargs sed -i -e 's/\r//'
|
||||||
|
find . -type f | xargs chmod 0644
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
||||||
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall_perl
|
||||||
|
|
||||||
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
|
chmod -R u+w %{buildroot}/*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*.3pm.gz
|
||||||
|
%doc Changes README TODO TokeParser.xml
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Feb 21 2011 gil <puntogil@libero.it> 0.05-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user