perl-HTML-Parser/perl-HTML-Parser.spec
cvsdist af4de45175 auto-import changelog data from perl-HTML-Parser-3.35-5.src.rpm
Wed Mar 17 2004 Chip Turner <cturner@redhat.com> 3.35-2
- rebuild for fc1 update
2004-09-09 10:16:35 +00:00

147 lines
4.2 KiB
RPMSpec
Raw Blame History

%define _use_internal_dependency_generator 0
%define name perl-HTML-Parser
%define real_name HTML-Parser
Summary: A Perl module for parsing HTML.
Name: %{name}
Version: 3.35
Release: 5
License: GPL or Artistic
Group: System Environment/Libraries
Source: ftp://ftp.cpan.org/pub/perl/CPAN/modules/by-module/HTML/%{real_name}-%{version}.tar.gz
Url: http://search.cpan.org/search?query=HTML%3A%3AParser
BuildRoot: %{_tmppath}/%{name}-buildroot/
Requires: perl >= 5.6.0, perl-HTML-Tagset >= 3.03
BuildRequires: perl >= 5.6.0, perl-HTML-Tagset >= 3.03
%description
The HTML-Parser module for perl to parse and extract information from
HTML documents, including the HTML::Entities, HTML::HeadParser,
HTML::LinkExtor, HTML::PullParser, and HTML::TokeParser modules.
%prep
%setup -q -n %{real_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor < /dev/null
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 -v {} \;
find $RPM_BUILD_ROOT/usr -type f -print |
sed "s@^$RPM_BUILD_ROOT@@g" |
grep -v perllocal.pod |
grep -v "\.packlist" > perl-HTML-Parser-%{version}-filelist
if [ "$(cat perl-HTML-Parser-%{version}-filelist)X" = "X" ] ; then
echo "ERROR: EMPTY FILE LIST"
exit -1
fi
%clean
rm -rf $RPM_BUILD_ROOT
%files -f perl-HTML-Parser-%{version}-filelist
%defattr(-,root,root)
%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/HTML
%dir %{_libdir}/perl5/vendor_perl/%(perl -MConfig -le 'print "$Config{version}/$Config{archname}"')/auto/HTML
%changelog
* Wed Mar 17 2004 Chip Turner <cturner@redhat.com> 3.35-2
- rebuild for fc1 update
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Chip Turner <cturner@redhat.com> 3.35-1
- update to 3.35
* Thu Jun 05 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Aug 6 2002 Chip Turner <cturner@redhat.com>
- automated release bump and build
* Tue Jun 4 2002 Chip Turner <cturner@redhat.com>
- properly claim directories owned by package so they are removed when package is removed
* Mon Jun 3 2002 Chip Turner <cturner@redhat.com>
- fix for Makefile.PL sometimes prompting for input
* Wed Mar 27 2002 Chip Turner <cturner@redhat.com>
- update to 3.26, move to vendor_perl
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Jul 18 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.25-2
- imported from mandrake. tweaked man path.
* Tue Jul 03 2001 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.25-1mdk
- 3.25.
* Wed Jun 20 2001 Christian Belisle <cbelisle@mandrakesoft.com> 3.18-3mdk
- Fixed distribution tag.
- Updated Requires.
- Added an option to %makeinstall.
* Sun Jun 17 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 3.18-2mdk
- Rebuild against the latest perl.
* Tue Feb 27 2001 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.18-1mdk
- 3.18.
* Tue Jan 30 2001 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.15-1mdk
- 3.15.
* Tue Dec 05 2000 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.14-1mdk
- 3.14.
* Thu Oct 12 2000 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.13-1mdk
- 3.13.
* Tue Aug 29 2000 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.11-1mdk
- 3.11.
* Thu Aug 03 2000 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.10-2mdk
- macroszifications.
- add doc.
* Tue Jul 18 2000 Fran<61>ois Pons <fpons@mandrakesoft.com> 3.10-1mdk
- removed perllocal.pod from files.
- 3.10.
* Tue Jun 27 2000 Jean-Michel Dault <jmdault@mandrakesoft.com> 3.08-1mdk
- update to 3.08
* Wed May 17 2000 David BAUDENS <baudens@mandrakesoft.com> 3.05-4mdk
- Fix build for i486
- Use %%{_tmppath} for BuildRoot
* Fri Mar 31 2000 Pixel <pixel@mandrakesoft.com> 3.05-3mdk
- rebuild, new group, cleanup
* Tue Feb 29 2000 Jean-Michel Dault <jmdault@netrevolution.com> 3.0.5-1mdk
- upgrade to 3.05
* Mon Jan 3 2000 Jean-Michel Dault <jmdault@netrevolution.com>
- final cleanup for Mandrake 7
* Thu Dec 30 1999 Jean-Michel Dault <jmdault@netrevolution.com>
-updated to 3.02
* Sun Aug 29 1999 Jean-Michel Dault <jmdault@netrevolution.com>
- bzip2'd sources
- updated to 2.23
* Tue May 11 1999 root <root@alien.devel.redhat.com>
- Spec file was autogenerated.