1 | %define _use_internal_dependency_generator 0 |
---|
2 | |
---|
3 | %define module XML-Grove |
---|
4 | |
---|
5 | Summary: A Perl module providing simple access to the information set of parsed XML, HTML, or SGML instances. |
---|
6 | Name: perl-%{module} |
---|
7 | Version: 0.46alpha |
---|
8 | Release: 28%{?_dist_release} |
---|
9 | License: distributable |
---|
10 | Group: Development/Libraries |
---|
11 | URL: http://search.cpan.org/~kmacleod/XML-Grove/ |
---|
12 | |
---|
13 | Source0: %{module}-%{version}.tar.bz2 |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildArch: noarch |
---|
17 | BuildRequires: perl-libxml-perl |
---|
18 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
19 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
20 | |
---|
21 | Distribution: Vine Linux |
---|
22 | Vendor: Project Vine |
---|
23 | |
---|
24 | %description |
---|
25 | XML::Grove is a tree-based object model for accessing the information |
---|
26 | set of parsed or stored XML, HTML, or SGML instances. XML::Grove |
---|
27 | objects are Perl hashes and arrays where you access the properties of |
---|
28 | the objects using normal Perl syntax. |
---|
29 | |
---|
30 | %prep |
---|
31 | %setup -q -n %{module}-%{version} |
---|
32 | |
---|
33 | %build |
---|
34 | CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor |
---|
35 | make |
---|
36 | |
---|
37 | %install |
---|
38 | rm -rf $RPM_BUILD_ROOT |
---|
39 | |
---|
40 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
41 | |
---|
42 | [ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress |
---|
43 | |
---|
44 | find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \; |
---|
45 | |
---|
46 | find $RPM_BUILD_ROOT/usr -type f -print | |
---|
47 | sed "s@^$RPM_BUILD_ROOT@@g" | |
---|
48 | grep -v perllocal.pod | |
---|
49 | grep -v "\.packlist" > XML-Grove-%{version}-filelist |
---|
50 | if [ "$(cat XML-Grove-%{version}-filelist)X" = "X" ] ; then |
---|
51 | echo "ERROR: EMPTY FILE LIST" |
---|
52 | exit -1 |
---|
53 | fi |
---|
54 | |
---|
55 | %clean |
---|
56 | rm -rf $RPM_BUILD_ROOT |
---|
57 | |
---|
58 | |
---|
59 | %files -f XML-Grove-%{version}-filelist |
---|
60 | %defattr(-,root,root) |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Sun Nov 30 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.46alpha-28 |
---|
64 | - rebuilt with perl 5.16.3 |
---|
65 | |
---|
66 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.46alpha-27 |
---|
67 | - rebuild with perl-5.12.3 |
---|
68 | |
---|
69 | * Fri Aug 1 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-26 |
---|
70 | - applied new versioning policy |
---|
71 | - rebuilt with perl-5.10.0 |
---|
72 | - changed Group to Development/Libraries |
---|
73 | |
---|
74 | * Wed Jul 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.46alpha-25vl6 |
---|
75 | - changed Group to Development/Languages |
---|
76 | |
---|
77 | * Sun Jan 2 2005 IWAI, Masaharu <iwai@alib.jp> 0.46alpha-25vl5 |
---|
78 | - build on perl-5.8.6-0vl1 |
---|
79 | |
---|
80 | * Sat Dec 13 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl4 |
---|
81 | - rebuilt on perl-5.8.2 |
---|
82 | |
---|
83 | * Thu Nov 06 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl3 |
---|
84 | - rebuilt on perl-5.8.1 |
---|
85 | |
---|
86 | * Sun Apr 20 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl2 |
---|
87 | - build on perl-5.8.0 |
---|
88 | |
---|
89 | * Sun Mar 02 2003 Satoshi MACHINO <machino@vinelinux.org> 0.46alpha-25vl1 |
---|
90 | - build for VineLinux |
---|
91 | |
---|
92 | * Tue Aug 6 2002 Chip Turner <cturner@redhat.com> |
---|
93 | - automated release bump and build |
---|
94 | |
---|
95 | * Tue Jun 4 2002 Chip Turner <cturner@redhat.com> |
---|
96 | - properly claim directories owned by package so they are removed when package is removed |
---|
97 | |
---|
98 | * Sat Jan 26 2002 Jeff Johnson <jbj@redhat.com> |
---|
99 | - add internal provides. |
---|
100 | |
---|
101 | * Wed Jan 09 2002 Tim Powers <timp@redhat.com> |
---|
102 | - automated rebuild |
---|
103 | |
---|
104 | * Mon Jul 23 2001 Crutcher Dunnavant <crutcher@redhat.com> 0.46alpha-2 |
---|
105 | - imported from mandrake |
---|
106 | |
---|
107 | * Mon Jun 18 2001 Till Kamppeter <till@mandrakesoft.com> 0.46alpha-1mdk |
---|
108 | - Newly introduced for Foomatic. |
---|
109 | |
---|