source: projects/specs/trunk/p/perl-XML-Encoding/perl-XML-Encoding-vl.spec @ 9062

Revision 9062, 2.9 KB checked in by inagaki, 9 years ago (diff)

2014-11-05 Ryoichi INAGAKI <ryo1@…>

  • perl-Crypt-DES: updated
  • perl-Crypt-DES_EDE3: changed Group
  • perl-Crypt-PasswdMD5, perl-Parse-Yapp, perl-XML-Encoding, perl-libxml-perl: rebuilt


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