source: projects/specs/branches/6/p/perl-XML-Simple/perl-XML-Simple-vl.spec @ 3739

Revision 3739, 2.1 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%define pkgname XML-Simple
2
3Summary: Easy API to maintain XML (esp config files).
4Name: perl-%{pkgname}
5Version: 2.18
6Release: 2%{?_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* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.18-2
55- rebuild with perl-5.12.3
56
57* Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18-1
58- applied new versioning policy
59- rebuilt with perl-5.10.0-2
60
61* Sun Sep 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18-0vl1
62- new upstream
63- changed Group to Development/Libraries
64
65* Thu Jul 13 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14-0vl2
66- changed Group to Development/Languages
67- installed to vendor_perl
68
69* Thu Mar 16 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14-0vl1
70- initial build for Vine Linux
71
72* Thu Oct 30 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
73- Updated to 2.09.
74
75* Mon Apr  7 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
76- Update to 2.03.
77- Rewritten specfile with new macros.
78
79* Fri Jan 3 2003 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
80- Initial build (cpan2rpm).
Note: See TracBrowser for help on using the repository browser.