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

Revision 12120, 3.0 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

Line 
1Summary: HTML::Tagset - data tables useful in parsing HTML.
2Name: perl-HTML-Tagset
3Version: 3.20
4Release: 5%{?_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
35
36%install
37rm -rf $RPM_BUILD_ROOT
38make DESTDIR=$RPM_BUILD_ROOT install
39# make install
40
41[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
42
43find $RPM_BUILD_ROOT/usr -type f -print |
44        sed "s@^$RPM_BUILD_ROOT@@g" |
45        grep -v perllocal.pod |
46        grep -v "\.packlist" > HTML-Tagset-%{version}-filelist
47if [ "$(cat HTML-Tagset-%{version}-filelist)X" = "X" ] ; then
48    echo "ERROR: EMPTY FILE LIST"
49    exit -1
50fi
51
52find $RPM_BUILD_ROOT/usr -type f -print | \
53        grep -e perllocal.pod -e "\.packlist" | xargs rm
54
55%check
56make test
57
58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files -f HTML-Tagset-%{version}-filelist
62%defattr(-,root,root)
63%dir %{perl_vendorlib}/HTML
64
65%changelog
66* Thu May 16 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.20-5
67- rebuilt with perl-5.26.
68
69* Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 3.20-4
70- build with Perl 5.16
71
72* Sat Mar 26 2011 IWAI, Masaharu <iwai@alib.jp> 3.20-3vl6
73- build with perl 5.12.3
74- defined __find_{provides,requires} without vl6+
75
76* Fri Apr 25 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 3.20-2
77- build on perl-5.10.0-1vl5
78- update License
79
80* Sat Mar 22 2008 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 3.20-1
81- new upstream release
82- add Vendor/Distributio tag
83- build under new versioning policy
84
85* Tue Jul 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.10-0vl1
86- updated 3.10
87- installed module files to vendor_perl directory
88- changed Group to Development/Libraries
89
90* Sat Dec  4 2004 IWAI, Masaharu <iwai@alib.jp> 3.03-25vl4
91- build on perl-5.8.6-0vl1
92- update Url value
93
94* Mon Dec 15 2003 IWAI, Masaharu <iwai@alib.jp> 3.03-25vl3
95- build with perl-5.8.2
96- running make test
97- add %%{perl_sitelib}/HTML directory in %%files
98
99* Tue Oct 08 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
100- 3.03-25vl2
101- Fix Requires, Buildrequires
102
103* Mon Oct 07 2002 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
104- 3.03-25vl1
105- first build for Vine Linux
106
107* Tue Aug  6 2002 Chip Turner <cturner@redhat.com>
108- automated release bump and build
109
110* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
111- automated rebuild
112
113* Mon Apr 30 2001 Chip Turner <cturner@redhat.com>
114- Spec file was autogenerated.
Note: See TracBrowser for help on using the repository browser.