1 | Name: perl-XML-SAX-Base |
---|
2 | Version: 1.08 |
---|
3 | Release: 3%{?_dist_release} |
---|
4 | Summary: Base class SAX Drivers and Filters |
---|
5 | License: GPL+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/XML-SAX-Base/ |
---|
8 | Source0: http://www.cpan.org/authors/id/G/GR/GRANTM/XML-SAX-Base-%{version}.tar.gz |
---|
9 | BuildArch: noarch |
---|
10 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
11 | BuildRequires: perl(Test::More) |
---|
12 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
13 | Conflicts: perl-XML-SAX < 0.99-1 |
---|
14 | |
---|
15 | Vendor: Project Vine |
---|
16 | Distribution: Vine Linux |
---|
17 | Packager: shaolin |
---|
18 | |
---|
19 | %description |
---|
20 | This module has a very simple task - to be a base class for PerlSAX drivers |
---|
21 | and filters. It's default behaviour is to pass the input directly to the |
---|
22 | output unchanged. It can be useful to use this module as a base class so |
---|
23 | you don't have to, for example, implement the characters() callback. |
---|
24 | |
---|
25 | %prep |
---|
26 | %setup -q -n XML-SAX-Base-%{version} |
---|
27 | |
---|
28 | %build |
---|
29 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
30 | make %{?_smp_mflags} |
---|
31 | |
---|
32 | %install |
---|
33 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
34 | |
---|
35 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
36 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
37 | |
---|
38 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
39 | |
---|
40 | mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} |
---|
41 | mv $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/SAX/BuildSAXBase.pl $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} |
---|
42 | |
---|
43 | %check |
---|
44 | make test |
---|
45 | |
---|
46 | %files |
---|
47 | %doc Changes dist.ini META.json README BuildSAXBase.pl |
---|
48 | %{perl_vendorlib}/* |
---|
49 | %{_mandir}/man3/* |
---|
50 | |
---|
51 | %changelog |
---|
52 | * Mon Jun 30 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.08-3 |
---|
53 | - rebuilt with perl-5.16.0. |
---|
54 | |
---|
55 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.08-2 |
---|
56 | - rebuild |
---|
57 | |
---|
58 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.08-1 |
---|
59 | - initial build for Vine Linux |
---|
60 | |
---|
61 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.08-2 |
---|
62 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
63 | |
---|
64 | * Fri Oct 07 2011 Marcela Mašláňová <mmaslano@redhat.com> 1.08-1 |
---|
65 | - Specfile autogenerated by cpanspec 1.78. |
---|