1 | %define _use_internal_dependency_generator 0 |
---|
2 | |
---|
3 | Summary: A collection of Perl modules for XML parsing and validation. |
---|
4 | Name: perl-libxml-enno |
---|
5 | Version: 1.02 |
---|
6 | Release: 31%{?_dist_release} |
---|
7 | License: distributable |
---|
8 | Group: Development/Libraries |
---|
9 | Source0: libxml-enno-%{version}.tar.gz |
---|
10 | Url: http://www.cpan.org |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root/ |
---|
12 | BuildRequires: perl >= 5.8.2 |
---|
13 | Requires: perl >= 5.8.2 |
---|
14 | Provides: perl(XML::Handler::DOM) |
---|
15 | BuildRequires: perl-Parse-Yapp |
---|
16 | BuildRequires: perl-libwww-perl |
---|
17 | BuildRequires: perl-Date-Manip |
---|
18 | BuildArch: noarch |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | %description |
---|
23 | libxml-enno contains the modules XML::DOM, XML::XQL, XML::Checker and |
---|
24 | several 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 |
---|
36 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
37 | make |
---|
38 | |
---|
39 | %install |
---|
40 | rm -rf $RPM_BUILD_ROOT |
---|
41 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
42 | |
---|
43 | [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
---|
44 | |
---|
45 | find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; |
---|
46 | |
---|
47 | find $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 |
---|
51 | if [ "$(cat libxml-enno-%{version}-filelist)X" = "X" ] ; then |
---|
52 | echo "ERROR: EMPTY FILE LIST" |
---|
53 | exit -1 |
---|
54 | fi |
---|
55 | |
---|
56 | %clean |
---|
57 | rm -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. |
---|