source: projects/specs/trunk/p/perl-HTML-Tagset/perl-HTML-Tagset-vl.spec @ 8657

Revision 8657, 2.8 KB checked in by iwaim, 10 years ago (diff)

perl-HTML-Tagset 3.20-4

Line 
1Summary: HTML::Tagset - data tables useful in parsing HTML.
2Name: perl-HTML-Tagset
3Version: 3.20
4Release: 4%{?_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* Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 3.20-4
62- build with Perl 5.16
63
64* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 3.20-3vl6
65- build with perl 5.12.3
66- defined __find_{provides,requires} without vl6+
67
68* Fri Apr 25 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 3.20-2
69- build on perl-5.10.0-1vl5
70- update License
71
72* Sat Mar 22 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.20-1
73- new upstream release
74- add Vendor/Distributio tag
75- build under new versioning policy
76
77* Tue Jul 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.10-0vl1
78- updated 3.10
79- installed module files to vendor_perl directory
80- changed Group to Development/Libraries
81
82* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 3.03-25vl4
83- build on perl-5.8.6-0vl1
84- update Url value
85
86* Mon Dec 15 2003 IWAI, Masaharu <iwai@alib.jp> 3.03-25vl3
87- build with perl-5.8.2
88- running make test
89- add %%{perl_sitelib}/HTML directory in %%files
90
91* Tue Oct 08 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
92- 3.03-25vl2
93- Fix Requires, Buildrequires
94
95* Mon Oct 07 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
96- 3.03-25vl1
97- first build for Vine Linux
98
99* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
100- automated release bump and build
101
102* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
103- automated rebuild
104
105* Mon Apr 30 2001 Chip Turner <cturner@redhat.com>
106- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.