perl-HTML-Tagset/perl-HTML-Tagset.spec

64 lines
1.6 KiB
RPMSpec

Summary: HTML::Tagset - data tables useful in parsing HTML.
Name: perl-HTML-Tagset
Version: 3.04
Release: 1
License: Artistic or GPL
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/S/SB/SBURKE/HTML-Tagset-%{version}.tar.gz
URL: http://search.cpan.org/dist/HTML-Tagset/
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: perl >= 0:5.00503
Requires: perl >= 0:5.00503
BuildArch: noarch
%description
This module contains several data tables useful in various kinds of
HTML parsing operations, such as tag and entity names.
%prep
%setup -q -n HTML-Tagset-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor
make
make test
%install
rm -rf $RPM_BUILD_ROOT
make install
[ -x /usr/lib/rpm/brp-compress ] && /usr/lib/rpm/brp-compress
find $RPM_BUILD_ROOT \( -name perllocal.pod -o -name .packlist \) -exec rm -fv {} \;
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc ChangeLog README
%{perl_vendorlib}/HTML/*.pm
%{_mandir}/man?/HTML::Tagset*.gz
%changelog
* Tue Mar 29 2005 Robert Scheck <redhat@linuxnetz.de> 3.04-1
- upgrade to 3.04 and spec file cleanup (#140914, #150360)
* Wed Sep 22 2004 Chip Turner <cturner@redhat.com> 3.03-30
- rebuild
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Thu Jan 23 2003 Tim Powers <timp@redhat.com> 3.03-28
- rebuild
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Mon Apr 30 2001 Chip Turner <cturner@redhat.com>
- Spec file was autogenerated.