source: projects/specs/branches/6/p/perl-XML-Twig/perl-XML-Twig-vl.spec @ 3740

Revision 3740, 3.1 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%define _use_internal_dependency_generator 0
2
3Name: perl-XML-Twig
4Version: 3.29
5Release: 3%{?_dist_release}
6Summary: A perl module for processing huge XML documents in tree mode.
7License: distributable
8Group: Development/Libraries
9URL: http://search.cpan.org/~mirod/XML-Twig/
10BuildRoot: %{_tmppath}/%{name}-%{version}-root
11BuildRequires: perl >= 5.8.2, perl-XML-Parser >= 2.23
12Requires: perl >= 5.8.2, perl-XML-Parser >= 2.23
13Buildarch: noarch
14Source0: XML-Twig-%{version}.tar.gz
15
16%description
17This module provides a way to process XML documents. It is build on
18top of XML::Parser.  XML::Twig offers a tree interface to the
19document, while allowing you to output the parts of it that have been
20completely processed.  It allows minimal resource (CPU and memory)
21usage by building the tree only for the parts of the documents that
22need actual processing, through the use of the twig_roots and
23twig_print_outside_roots options.
24
25%prep
26%setup -q -n XML-Twig-%{version}
27
28%build
29CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor <<_OPT_
30y
31_OPT_
32make
33
34%install
35rm -rf $RPM_BUILD_ROOT
36mkdir -p $RPM_BUILD_ROOT%{_prefix}
37make DESTDIR=$RPM_BUILD_ROOT install
38
39[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
40
41find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
42
43find $RPM_BUILD_ROOT/usr -type f -print | \
44        sed "s@^$RPM_BUILD_ROOT@@g" | \
45        grep -v perllocal.pod | \
46        grep -v %{_mandir}    | \
47        grep -v "\.packlist" > XML-Twig-%{version}-filelist
48if [ "$(cat XML-Twig-%{version}-filelist)X" = "X" ] ; then
49    echo "ERROR: EMPTY FILE LIST"
50    exit 1
51fi
52
53#%check
54#make test || /bin/true
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files -f XML-Twig-%{version}-filelist
60%defattr(-,root,root)
61%{_mandir}/man1/xml*.1*
62%{_mandir}/man3/*3pm*
63
64%changelog
65* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.29-3
66- fix typo
67
68* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.29-2
69- rebuilt with perl-5.12.3
70
71* Sun Jul 27 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.29-1
72- rebuilt with perl-5.10.0
73- applied new versioning policy
74
75* Sun Sep 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.29-0vl1
76- new upstream
77- changed Group to Development/Libraries
78
79* Sun Jul 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.15-0vl2
80- rebuilt for VineSeed (4.0)
81- changed Group to Development/Languages
82
83* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 3.15-0vl1
84- new upstream release
85- build on perl-5.8.6-0vl1
86
87* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 3.11-0vl2
88- built on perl-5.8.2
89
90* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 3.11-0vl1
91- new updtream version
92- built on perl-5.8.1
93
94* Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 3.09-3vl2
95- build on perl-5.8.0
96
97* Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 3.09-3vl1
98- build for VineLinux
99
100* Tue Dec 10 2002 Chip Turner <cturner@redhat.com>
101- update to latest version from CPAN
102
103* Mon Aug 26 2002 Chip Turner <cturner@redhat.com>
104- rebuild for build failure
105
106* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
107- automated release bump and build
108
109* Wed May 29 2002 cturner@redhat.com
110- Specfile autogenerated
111
Note: See TracBrowser for help on using the repository browser.