Christian Wittmer 2011-02-25 13:24:00 +00:00 committed by Git OBS Bridge
parent 058eebb297
commit 4e9e4c137f
2 changed files with 35 additions and 23 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 25 13:21:51 UTC 2011 - chris@computersalat.de
- recreated by cpanspec 1.78.03
- noarch pkg
-------------------------------------------------------------------
Tue Nov 30 19:20:19 UTC 2010 - coolo@novell.com

View File

@ -15,47 +15,53 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-HTML-Tagset
Version: 3.20
Release: 52
AutoReqProv: on
Release: 54
License: GPL+ or Artistic
%define cpan_name HTML-Tagset
Summary: Data tables useful in parsing HTML
Url: http://search.cpan.org/dist/HTML-Tagset/
Group: Development/Libraries/Perl
License: Artistic
Url: http://cpan.org/modules/by-module/HTML/
Summary: Data Tables Useful for Dealing with HTML
Source: HTML-Tagset-%{version}.tar.bz2
#Source: http://www.cpan.org/authors/id/P/PE/PETDANCE/HTML-Tagset-3.20.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
BuildRequires: perl perl-macros
%description
Data tables useful for dealing with HTML.
This module contains several data tables useful in various kinds of HTML
parsing operations.
Note that all tag names used are lowercase.
In the following documentation, a "hashset" is a hash being used as a set
-- the hash conveys that its keys are there, and the actual values
associated with the keys are not significant. (But what values are there,
are always true.)
%prep
%setup -n HTML-Tagset-%{version} -q
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
%{__make} test
%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
rm -rf $RPM_BUILD_ROOT
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README Changes
%doc %{_mandir}/man3/*
%{perl_vendorlib}/HTML
%{perl_vendorarch}/auto/HTML
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes README
%changelog