perl-HTML-Tagset/perl-HTML-Tagset.spec
cvsdist 688df52011 auto-import changelog data from perl-HTML-Tagset-3.03-29.src.rpm
Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
2004-09-09 10:14:26 +00:00

70 lines
1.7 KiB
RPMSpec

%define _use_internal_dependency_generator 0
Summary: HTML::Tagset - data tables useful in parsing HTML.
Name: perl-HTML-Tagset
Version: 3.03
Release: 29
License: distributable
Group: Applications/CPAN
Source0: HTML-Tagset-%{version}.tar.gz
Url: http://www.cpan.org
BuildRoot: /var/tmp/perl-HTML-Tagset-buildroot/
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.
# Provide perl-specific find-{provides,requires}.
%define __find_provides /usr/lib/rpm/find-provides.perl
%define __find_requires /usr/lib/rpm/find-requires.perl
%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
%clean
rm -rf $RPM_BUILD_ROOT
%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 -v {} \;
find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
grep -v "\.packlist" > HTML-Tagset-%{version}-filelist
if [ "$(cat HTML-Tagset-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%files -f HTML-Tagset-%{version}-filelist
%defattr(-,root,root)
%changelog
* 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.