1 | Name: perl-XML-Writer |
---|
2 | Version: 0.606 |
---|
3 | Release: 5%{?_dist_release} |
---|
4 | Summary: A simple Perl module for writing XML documents |
---|
5 | |
---|
6 | Group: Development/Libraries |
---|
7 | License: MIT |
---|
8 | URL: http://search.cpan.org/dist/XML-Writer/ |
---|
9 | Source0: http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-%{version}.tar.gz |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | |
---|
12 | BuildArch: noarch |
---|
13 | BuildRequires: perl(Test::Pod) |
---|
14 | BuildRequires: perl(Test::Pod::Coverage) |
---|
15 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
17 | |
---|
18 | %description |
---|
19 | XML::Writer is a simple Perl module for writing XML documents: it |
---|
20 | takes care of constructing markup and escaping data correctly, and by |
---|
21 | default, it also performs a significant amount of well-formedness |
---|
22 | checking on the output, to make certain (for example) that start and |
---|
23 | end tags match, that there is exactly one document element, and that |
---|
24 | there are not duplicate attribute names. |
---|
25 | |
---|
26 | |
---|
27 | %prep |
---|
28 | %setup -q -n XML-Writer-%{version} |
---|
29 | |
---|
30 | |
---|
31 | %build |
---|
32 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | |
---|
36 | %install |
---|
37 | rm -rf $RPM_BUILD_ROOT |
---|
38 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
39 | find $RPM_BUILD_ROOT -type f -a \( -name .packlist \ |
---|
40 | -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' |
---|
41 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
42 | |
---|
43 | |
---|
44 | %check |
---|
45 | make test |
---|
46 | |
---|
47 | |
---|
48 | %clean |
---|
49 | rm -rf $RPM_BUILD_ROOT |
---|
50 | |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc Changes README TODO |
---|
55 | %{perl_vendorlib}/* |
---|
56 | %{_mandir}/man3/*.3* |
---|
57 | |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Mon Jan 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.606-5 |
---|
61 | - Initial build for Vine Linux |
---|
62 | |
---|
63 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.606-4 |
---|
64 | - rebuild against perl 5.10.1 |
---|
65 | |
---|
66 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.606-3 |
---|
67 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
68 | |
---|
69 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.606-2 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
71 | |
---|
72 | * Mon Feb 2 2009 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.606-1 |
---|
73 | - Update to upstream 0.606 |
---|
74 | - Clarify license is MIT |
---|
75 | |
---|
76 | * Tue Mar 18 2008 Alex Lancaster <alexlan[AT]fedoraproject org> - 0.604-1 |
---|
77 | - New upstream release (0.604) |
---|
78 | |
---|
79 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.603-4 |
---|
80 | - Rebuild for perl 5.10 (again) |
---|
81 | |
---|
82 | * Sun Jan 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.603-3 |
---|
83 | - rebuild for new perl |
---|
84 | |
---|
85 | * Thu Aug 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.603-2 |
---|
86 | - License tag to "GPL+ or Artistic" as per new guidelines. |
---|
87 | |
---|
88 | * Sat Aug 18 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.603-1 |
---|
89 | - Update to latest upstream |
---|
90 | |
---|
91 | * Mon Mar 26 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-3 |
---|
92 | - Fixed %check |
---|
93 | |
---|
94 | * Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-2 |
---|
95 | - Update BR as per suggestions from review by Ralf Corsepius |
---|
96 | |
---|
97 | * Wed Mar 23 2007 Alex Lancaster <alexl@users.sourceforge.net> 0.602-1 |
---|
98 | - Update to 0.602 |
---|
99 | |
---|
100 | * Wed Apr 06 2005 Hunter Matthews <thm@duke.edu> 0.531-1 |
---|
101 | - Review suggestions from José Pedro Oliveira |
---|
102 | |
---|
103 | * Tue Mar 22 2005 Hunter Matthews <thm@duke.edu> 0.531-1 |
---|
104 | - Initial build. |
---|