source: projects/specs/branches/6/p/perl-HTML-Tagset/perl-HTML-Tagset-vl.spec @ 3123

Revision 3123, 2.7 KB checked in by iwaim, 13 years ago (diff)

perl-HTML-Tagset

Line 
1Summary: HTML::Tagset - data tables useful in parsing HTML.
2Name: perl-HTML-Tagset
3Version: 3.20
4Release: 3%{?_dist_release}
5License: Perl's
6Group: Development/Libraries
7Source0: HTML-Tagset-%{version}.tar.gz
8Url: http://search.cpan.org/~sburke/HTML-Tagset/
9BuildRoot: %{_tmppath}/%{name}-%{version}-root
10BuildRequires: perl >= 1:5.6.0
11Requires: perl >= 1:5.6.0
12BuildArch: noarch
13
14Vendor: Project Vine
15Distribution: Vine Linux
16
17%description
18This module contains several data tables useful in various kinds of
19HTML parsing operations, such as tag and entity names.
20
21# Provide perl-specific find-{provides,requires}.
22%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl4"
23%define __find_provides /usr/lib/rpm/find-provides.perl
24%define __find_requires /usr/lib/rpm/find-requires.perl
25%endif
26
27%prep
28%setup -q -n HTML-Tagset-%{version}
29
30%build
31CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
32make
33
34%install
35rm -rf $RPM_BUILD_ROOT
36make DESTDIR=$RPM_BUILD_ROOT install
37# make install
38
39[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
40
41find $RPM_BUILD_ROOT/usr -type f -print |
42        sed "s@^$RPM_BUILD_ROOT@@g" |
43        grep -v perllocal.pod |
44        grep -v "\.packlist" > HTML-Tagset-%{version}-filelist
45if [ "$(cat HTML-Tagset-%{version}-filelist)X" = "X" ] ; then
46    echo "ERROR: EMPTY FILE LIST"
47    exit -1
48fi
49
50%check
51make test
52
53%clean
54rm -rf $RPM_BUILD_ROOT
55
56%files -f HTML-Tagset-%{version}-filelist
57%defattr(-,root,root)
58%dir %{perl_vendorlib}/HTML
59
60%changelog
61* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 3.20-3vl6
62- build with perl 5.12.3
63- defined __find_{provides,requires} without vl6+
64
65* Fri Apr 25 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 3.20-2
66- build on perl-5.10.0-1vl5
67- update License
68
69* Sat Mar 22 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.20-1
70- new upstream release
71- add Vendor/Distributio tag
72- build under new versioning policy
73
74* Tue Jul 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.10-0vl1
75- updated 3.10
76- installed module files to vendor_perl directory
77- changed Group to Development/Libraries
78
79* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 3.03-25vl4
80- build on perl-5.8.6-0vl1
81- update Url value
82
83* Mon Dec 15 2003 IWAI, Masaharu <iwai@alib.jp> 3.03-25vl3
84- build with perl-5.8.2
85- running make test
86- add %%{perl_sitelib}/HTML directory in %%files
87
88* Tue Oct 08 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
89- 3.03-25vl2
90- Fix Requires, Buildrequires
91
92* Mon Oct 07 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
93- 3.03-25vl1
94- first build for Vine Linux
95
96* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
97- automated release bump and build
98
99* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
100- automated rebuild
101
102* Mon Apr 30 2001 Chip Turner <cturner@redhat.com>
103- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.