rpms/perl-XML-TokeParser/F-11 perl-XML-TokeParser.spec, NONE, 1.1 sources, 1.1, 1.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Author: iarnell

Update of /cvs/pkgs/rpms/perl-XML-TokeParser/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29469/F-11

Modified Files:
	sources 
Added Files:
	perl-XML-TokeParser.spec 
Log Message:
initial import


--- NEW FILE perl-XML-TokeParser.spec ---
Name:           perl-XML-TokeParser
Version:        0.05
Release:        1%{?dist}
Summary:        Simplified interface to XML::Parser
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/XML-TokeParser/
Source0:        http://www.cpan.org/authors/id/P/PO/PODMASTER/XML-TokeParser-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(XML::Parser) >= 2
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%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 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 -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README TODO TokeParser.xml
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Mon May 04 2009 Iain Arnell <iarnell@xxxxxxxxx> 0.05-1
- Specfile autogenerated by cpanspec 1.77.
- Fix line-endings and permissions


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-TokeParser/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	4 May 2009 20:53:36 -0000	1.1
+++ sources	4 May 2009 23:25:15 -0000	1.2
@@ -0,0 +1 @@
+a886ac451d99dca522df20d7cf7b28b4  XML-TokeParser-0.05.tar.gz

--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list

[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux