source: projects/specs/branches/6/p/perl-XML-Encoding/perl-XML-Encoding-vl.spec @ 3205

Revision 3205, 2.7 KB checked in by iwaim, 13 years ago (diff)

perl-XML-Encoding-2.08-1

Line 
1%define _use_internal_dependency_generator 0
2
3%define module  XML-Encoding
4Summary: A module for parsing encoded map XML files.
5Name: perl-%{module}
6Version: 2.08
7Release: 1%{?_dist_release}
8License: Artistic and GPL
9Group: Development/Libraries
10Source0: %{module}-%{version}.tar.gz
11URL: http://search.cpan.org/~shay/XML-Encoding/
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: perl-XML-Parser
15Requires: perl >= 5.8.2, perl-XML-Parser
16BuildArch: noarch
17
18Vendor: Project Vine
19Distribution: Vine Linux
20
21%description
22This module, which is built as a subclass of XML::Parser, provides a
23parser for encoding map files, which are XML files. The file
24maps/encmap.dtd in the distribution describes the structure of these
25files.
26
27%prep
28%setup -q -n %{module}-%{version}
29
30%build
31CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
32make
33make test || /bin/true
34
35%clean
36rm -rf $RPM_BUILD_ROOT
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41make DESTDIR=$RPM_BUILD_ROOT install
42
43[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
44
45find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
46
47find $RPM_BUILD_ROOT/usr -type f -print |
48        sed "s@^$RPM_BUILD_ROOT@@g" |
49        grep -v perllocal.pod |
50        grep -v "\.packlist" > XML-Encoding-%{version}-filelist
51if [ "$(cat XML-Encoding-%{version}-filelist)X" = "X" ] ; then
52    echo "ERROR: EMPTY FILE LIST"
53    exit -1
54fi
55
56%check
57make test
58
59%files -f XML-Encoding-%{version}-filelist
60%defattr(-,root,root)
61
62%changelog
63* Wed Mar 30 2011 IWAI, Masaharu <iwai@alib.jp> 2.08-1
64- new upstream release
65- add Vendor and Distribution tags
66
67* Sun Feb 15 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.07-1
68- new upstream release
69- updated URL
70- changed Group to Development/Libraries
71
72* Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 1.01-24vl5
73- applied new versioning policy
74
75* Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.01-23vl6
76- changed Group to Development/Languages
77
78* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 1.01-23vl5
79- build on perl-5.8.6-0vl1
80
81* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.01-23vl4
82- rebuilt on perl-5.8.2
83
84* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.01-23vl3
85- rebuilt on perl-5.8.1
86
87* Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 1.01-23vl2
88- build on perl-5.8.0
89
90* Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 1.01-23vl1
91- build for VineLinux
92
93* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
94- automated release bump and build
95
96* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
97- automated rebuild
98
99* Thu Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 1.01-2
100- imported from mandrake. tweaked man path.
101
102* Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 1.01-1mdk
103- Newly introduced for Foomatic.
104
Note: See TracBrowser for help on using the repository browser.