source: projects/specs/branches/6/p/perl-libxml-enno/perl-libxml-enno-vl.spec @ 3320

Revision 3320, 3.0 KB checked in by iwaim, 13 years ago (diff)

perl-libxml-enno-1.02-31

Line 
1%define _use_internal_dependency_generator 0
2
3Summary: A collection of Perl modules for XML parsing and validation.
4Name: perl-libxml-enno
5Version: 1.02
6Release: 31%{?_dist_release}
7License: distributable
8Group: Development/Libraries
9Source0: libxml-enno-%{version}.tar.gz
10Url: http://www.cpan.org
11BuildRoot: %{_tmppath}/%{name}-%{version}-root/
12BuildRequires: perl >= 5.8.2
13Requires: perl >= 5.8.2
14Provides: perl(XML::Handler::DOM)
15BuildRequires: perl-Parse-Yapp
16BuildRequires: perl-libwww-perl
17BuildRequires: perl-Date-Manip
18BuildArch: noarch
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23libxml-enno contains the modules XML::DOM, XML::XQL, XML::Checker and
24several other packages used for parsing XML from Perl.
25
26%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
27# Provide perl-specific find-{provides,requires}.
28%define __find_provides /usr/lib/rpm/find-provides.perl
29%define __find_requires /usr/lib/rpm/find-requires.perl
30%endif
31
32%prep
33%setup -q -n libxml-enno-%{version}
34
35%build
36CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
37make
38
39%install
40rm -rf $RPM_BUILD_ROOT
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" > libxml-enno-%{version}-filelist
51if [ "$(cat libxml-enno-%{version}-filelist)X" = "X" ] ; then
52    echo "ERROR: EMPTY FILE LIST"
53    exit -1
54fi
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59#check
60#make test || /bin/true
61
62%files -f libxml-enno-%{version}-filelist
63%defattr(-,root,root)
64
65%changelog
66* Tue Apr  5 2011 IWAI, Masaharu <iwai@alib.jp> 1.02-31
67- rename to perl-Date-Manip in BuildRequires
68- build with perl 5.12.3
69- defined __find_{provides,requires} with vl4 and vl5
70- add Vendor and Distribution tags
71
72* Sat May 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-30
73- applied new versioning policy
74- rebuilt with perl-5.10.0-2
75
76* Sun Sep  3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-29vl6
77- changed Group to Development/Libraries
78- installed files to vendor_perl dir
79
80* Sun Jan  2 2005 IWAI, Masaharu <iwai@alib.jp> 1.02-29vl5
81- build on perl-5.8.6-0vl1
82
83* Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl4
84- built on perl-5.8.2
85
86* Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl3
87- built on perl-5.8.1
88
89* Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl2
90- build on perl-5.8.0
91
92* Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 1.02-29vl1
93- build for VineLinux
94
95* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
96- automated release bump and build
97
98* Mon Aug  5 2002 Chip Turner <cturner@redhat.com>
99- updated description
100
101* Tue Jun  4 2002 Chip Turner <cturner@redhat.com>
102- properly claim directories owned by package so they are removed when package is removed
103
104* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
105- automated rebuild
106
107* Fri Dec 7 2001 root <root@redhat.com>
108- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.