Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release-src > by-pkgid > e58d1269a8507bdd3fa84a4e5a5c7cd4 > files > 2

perl-HTML-Tree-3.2300-2mdv2008.1.src.rpm

%define module	HTML-Tree
%define name	perl-%{module}
%define real_version	3.23
%define version	3.2300
%define release %mkrel 2

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Build and scan parse-trees of HTML
Group:		Development/Perl
License:	GPL or Artistic
Source:		http://www.cpan.org/authors/id/S/SB/SBURKE/%{module}-%{real_version}.tar.bz2
Url:		http://search.cpan.org/dist/%{module}/
%if %{mdkversion} < 1010
BuildRequires:	perl-devel
%endif
BuildRequires:	perl-HTML-Parser
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}

%description
This distribution contains a suite of modules for representing,
creating, and extracting information from HTML syntax trees; there is
also relevent documentation.  These modules used to be part of the
libwww-perl distribution, but are now unbundled in order to facilitate
a separate development track.

%prep
%setup -q -n %{module}-%{real_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc README Changes
%{perl_vendorlib}/HTML
%{_mandir}/*/*



%changelog
* Thu Mar 06 2008 Oden Eriksson <oeriksson@mandriva.com> 3.2300-2mdv2008.1
+ Revision: 180409
- rebuild

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 3.2300-1mdv2008.0
+ Revision: 20160
- fix version
- 3.23


* Mon Apr 03 2006 Guillaume Rousse <guillomovitch@mandriva.org> 3.1901-1mdk
- New version
- fix directory ownership
- rpmbuildupdate aware

* Mon Oct 10 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 3.18-2mdk
- Rebuild, misc spec fixes

* Wed Sep 17 2003 Stefan van der Eijk <stefan@eijk.nu> 3.18-1mdk
- 3.18
- revamp .spec file