source: projects/specs/trunk/p/perl-XML-Simple/perl-XML-Simple-vl.spec @ 8714

Revision 8714, 2.2 KB checked in by tomop, 10 years ago (diff)

updated perl modules.

Line 
1%define pkgname XML-Simple
2
3Summary: Easy API to maintain XML (esp config files).
4Name: perl-%{pkgname}
5Version: 2.20
6Release: 1%{?_dist_release}
7Group: Development/Libraries
8License: Artistic
9URL: http://search.cpan.org/author/GRANTM/%{pkgname}-%{version}/
10
11Source: http://search.cpan.org/CPAN/authors/id/G/GR/GRANTM/%{pkgname}-%{version}.tar.gz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: perl(XML::Parser)
15BuildRequires: perl(XML::SAX)
16BuildRequires: perl(XML::NamespaceSupport)
17BuildRequires: perl(XML::LibXML)
18BuildRequires: perl(Test::More)
19BuildArch: noarch
20
21%description
22The XML::Simple module provides a simple API layer on top of an
23underlying XML parsing module (either XML::Parser or one of the SAX2
24parser modules).  Two functions are exported: "XMLin()" and
25"XMLout()".
26
27%prep
28%setup -q -n %{pkgname}-%{version}
29
30%build
31perl Makefile.PL INSTALLDIRS=vendor
32make
33
34%install
35rm -rf %{buildroot}
36make install DESTDIR=$RPM_BUILD_ROOT
37rm -f %{buildroot}/%{perl_archlib}/perllocal.pod
38rm -rf %{buildroot}/%{perl_vendorarch}/auto/
39
40%check || :
41make test
42
43%clean
44rm -rf %{buildroot}
45
46%files
47%defattr(-,root,root,-)
48%doc README Changes
49%{perl_vendorlib}/XML/Simple.pm
50%{perl_vendorlib}/XML/Simple
51%{_mandir}/man3/XML::Simple*.3pm*
52
53%changelog
54* Tue Jul 1 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.20-1
55- new upstream release.
56
57* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.18-2
58- rebuild with perl-5.12.3
59
60* Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18-1
61- applied new versioning policy
62- rebuilt with perl-5.10.0-2
63
64* Sun Sep 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18-0vl1
65- new upstream
66- changed Group to Development/Libraries
67
68* Thu Jul 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14-0vl2
69- changed Group to Development/Languages
70- installed to vendor_perl
71
72* Thu Mar 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14-0vl1
73- initial build for Vine Linux
74
75* Thu Oct 30 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
76- Updated to 2.09.
77
78* Mon Apr  7 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
79- Update to 2.03.
80- Rewritten specfile with new macros.
81
82* Fri Jan 3 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
83- Initial build (cpan2rpm).
Note: See TracBrowser for help on using the repository browser.