1 | Name: perl-XML-DOM |
---|
2 | Version: 1.44 |
---|
3 | Release: 7%{?_dist_release} |
---|
4 | Summary: DOM extension to XML::Parser |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: GPL+ or Artistic |
---|
8 | URL: http://search.cpan.org/dist/XML-DOM/ |
---|
9 | Source0: http://www.cpan.org/authors/id/T/TJ/TJMATHER/XML-DOM-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | # perl(XML::Parser::PerlSAX) |
---|
14 | BuildRequires: perl-libxml-perl |
---|
15 | BuildRequires: perl-XML-RegExp |
---|
16 | # for testing perl(LWP::UserAgent) |
---|
17 | BuildRequires: perl-libwww-perl |
---|
18 | Requires: perl-XML-Parser |
---|
19 | Requires: perl-libwww-perl |
---|
20 | Requires: perl >= %(eval "`%{__perl} -V:version`"; echo $version) |
---|
21 | Obsoletes: perl-libxml-enno <= 1.02 |
---|
22 | |
---|
23 | %description |
---|
24 | This is a Perl extension to XML::Parser. It adds a new 'Style' to |
---|
25 | XML::Parser, called 'Dom', that allows XML::Parser to build an Object |
---|
26 | Oriented datastructure with a DOM Level 1 compliant interface. For a |
---|
27 | description of the DOM (Document Object Model), see |
---|
28 | http://www.w3.org/DOM/ |
---|
29 | |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n XML-DOM-%{version} |
---|
33 | |
---|
34 | cat <<EOF > %{name}-prov |
---|
35 | #!/bin/sh |
---|
36 | %{__perl_provides} \$* | grep -v 'perl(XML::XQL::Node)' |
---|
37 | EOF |
---|
38 | %define __perl_provides %{_builddir}/XML-DOM-%{version}/%{name}-prov |
---|
39 | chmod +x %{__perl_provides} |
---|
40 | |
---|
41 | |
---|
42 | %build |
---|
43 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
44 | make %{?_smp_mflags} |
---|
45 | |
---|
46 | |
---|
47 | %install |
---|
48 | rm -rf $RPM_BUILD_ROOT |
---|
49 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
50 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
51 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
52 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
53 | |
---|
54 | |
---|
55 | %check |
---|
56 | make test |
---|
57 | |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | |
---|
63 | %files |
---|
64 | %defattr(-,root,root,-) |
---|
65 | %doc BUGS Changes README |
---|
66 | %{perl_vendorlib}/XML/ |
---|
67 | %{_mandir}/man3/XML::*.3* |
---|
68 | |
---|
69 | |
---|
70 | %changelog |
---|
71 | * Sat Aug 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.44-7 |
---|
72 | - Initial build for Vine Linux |
---|
73 | |
---|
74 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-6 |
---|
75 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
76 | |
---|
77 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-5 |
---|
78 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
79 | |
---|
80 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-4 |
---|
81 | - Rebuild for perl 5.10 (again) |
---|
82 | |
---|
83 | * Thu Jan 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-3 |
---|
84 | - rebuild for new perl |
---|
85 | |
---|
86 | * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa@redhat.com> - 1.44-2.1 |
---|
87 | - correct license tag |
---|
88 | - add BR: perl(ExtUtils::MakeMaker) |
---|
89 | |
---|
90 | * Thu Jun 29 2006 Orion Poplawski <orion@cora.nwra.com> - 1.44-2 |
---|
91 | - Bump for new perl version (#196667) |
---|
92 | |
---|
93 | * Sat Nov 5 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.44-1 |
---|
94 | - First Fedora Extras release (#172331). |
---|
95 | |
---|
96 | * Thu Oct 27 2005 Ville Skyttä <ville.skytta at iki.fi> - 1.44-0.1 |
---|
97 | - First build (#128879). |
---|