source: projects/specs/trunk/p/perl-XML-Grove/perl-XML-Grove-vl.spec @ 9124

Revision 9124, 3.1 KB checked in by inagaki, 9 years ago (diff)

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

  • perl-Perl-Critic-More: rebuilt
  • perl-XML-{Dumper, Filter-BufferText?, Grove, XPath}: rebuilt
  • perl-XML-{LibXML, LibXSLT, SAX-Writer, Writer}: updated
  • perl-YAML-LibYAML: updated


Line 
1%define _use_internal_dependency_generator 0
2
3%define module  XML-Grove
4
5Summary: A Perl module providing simple access to the information set of parsed XML, HTML, or SGML instances.
6Name: perl-%{module}
7Version: 0.46alpha
8Release: 28%{?_dist_release}
9License: distributable
10Group: Development/Libraries
11URL: http://search.cpan.org/~kmacleod/XML-Grove/
12
13Source0: %{module}-%{version}.tar.bz2
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildArch: noarch
17BuildRequires: perl-libxml-perl
18BuildRequires: perl(ExtUtils::MakeMaker)
19Requires:      perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
20
21Distribution:   Vine Linux
22Vendor:         Project Vine
23
24%description
25XML::Grove is a tree-based object model for accessing the information
26set of parsed or stored XML, HTML, or SGML instances. XML::Grove
27objects are Perl hashes and arrays where you access the properties of
28the objects using normal Perl syntax.
29
30%prep
31%setup -q -n %{module}-%{version}
32
33%build
34CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
35make
36
37%install
38rm -rf $RPM_BUILD_ROOT
39
40make DESTDIR=$RPM_BUILD_ROOT install
41
42[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
43
44find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -v {} \;
45
46find $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
50if [ "$(cat XML-Grove-%{version}-filelist)X" = "X" ] ; then
51    echo "ERROR: EMPTY FILE LIST"
52    exit -1
53fi
54
55%clean
56rm -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
Note: See TracBrowser for help on using the repository browser.