source: projects/specs/branches/6/p/perl-XML-Writer/perl-XML-Writer-vl.spec @ 521

Revision 521, 3.1 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           perl-XML-Writer
2Version:        0.606
3Release:        5%{?_dist_release}
4Summary:        A simple Perl module for writing XML documents
5
6Group:          Development/Libraries
7License:        MIT
8URL:            http://search.cpan.org/dist/XML-Writer/
9Source0:        http://www.cpan.org/authors/id/J/JO/JOSEPHW/XML-Writer-%{version}.tar.gz
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11
12BuildArch:      noarch
13BuildRequires:  perl(Test::Pod)
14BuildRequires:  perl(Test::Pod::Coverage)
15BuildRequires:  perl(ExtUtils::MakeMaker)
16Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%description
19XML::Writer is a simple Perl module for writing XML documents: it
20takes care of constructing markup and escaping data correctly, and by
21default, it also performs a significant amount of well-formedness
22checking on the output, to make certain (for example) that start and
23end tags match, that there is exactly one document element, and that
24there 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
33make %{?_smp_mflags}
34
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
39find $RPM_BUILD_ROOT -type f -a \( -name .packlist \
40  -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
41find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
42
43
44%check
45make test
46
47
48%clean
49rm -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.
Note: See TracBrowser for help on using the repository browser.