2007-01-15 23:30:44 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-HTML-Clean (Version 0.8)
|
|
|
|
#
|
2009-06-18 15:05:24 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:44 +00:00
|
|
|
#
|
2009-06-18 15:05:24 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:30:44 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:05:24 +00:00
|
|
|
|
|
|
|
Name: perl-HTML-Clean
|
|
|
|
BuildRequires: lynx
|
|
|
|
Version: 0.8
|
|
|
|
Release: 875
|
|
|
|
Provides: HTML-Clean
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
Conflicts: perlmod
|
|
|
|
AutoReqProv: on
|
|
|
|
Url: http://cpan.org/modules/by-module/HTML/
|
|
|
|
License: Artistic License
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Source: HTML-Clean-%{version}.tar.bz2
|
|
|
|
Patch: %{name}-%{version}-IO.diff
|
|
|
|
Summary: Cleans up HTML code for web browsers, not humans
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:30:44 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The majority of the web pages of the internet today are much larger
|
|
|
|
than they need to be. The reason for this is that HTML tends to be
|
|
|
|
stored in a human readable format, with indenting, newlines and
|
|
|
|
comments.
|
|
|
|
|
|
|
|
However, all of these comments, whitespace etc. are ignored by the
|
|
|
|
browser, and needlessly lengthen download times.
|
|
|
|
|
|
|
|
Second, many people are using WYSIWYG HTML editors these days. This
|
|
|
|
makes creating content easy. However these editors can cause a number
|
|
|
|
of compatibility problems by tying themselves to a particular browser
|
|
|
|
or operating system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Paul Lindner <paul.lindner@itu.int>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n HTML-Clean-%{version} -q
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make all
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc TODO Changes README
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%{perl_vendorarch}/auto/HTML
|
|
|
|
%{perl_vendorlib}/auto/HTML
|
|
|
|
%{perl_vendorlib}/HTML
|
|
|
|
%{_bindir}/htmlclean
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2009-06-18 15:05:24 +00:00
|
|
|
%changelog
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:30:44 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:05:24 +00:00
|
|
|
* Wed Sep 28 2005 dmueller@suse.de
|
2007-01-15 23:30:44 +00:00
|
|
|
- add norootforbuild
|
2009-06-18 15:05:24 +00:00
|
|
|
* Fri Sep 09 2005 anicka@suse.cz
|
2007-01-15 23:30:44 +00:00
|
|
|
- remove unused IO (#56387)
|
2009-06-18 15:05:24 +00:00
|
|
|
* Wed Aug 20 2003 mjancar@suse.cz
|
2007-01-15 23:30:44 +00:00
|
|
|
- require the perl version we build with
|
2009-06-18 15:05:24 +00:00
|
|
|
* Tue Jul 15 2003 mjancar@suse.cz
|
2007-01-15 23:30:44 +00:00
|
|
|
- adapt to perl-5.8.1
|
|
|
|
- use %%perl_process_packlist
|
2009-06-18 15:05:24 +00:00
|
|
|
* Wed Jun 18 2003 mjancar@suse.cz
|
2007-01-15 23:30:44 +00:00
|
|
|
- fix fielist
|
2009-06-18 15:05:24 +00:00
|
|
|
* Tue May 20 2003 mjancar@suse.cz
|
2007-01-15 23:30:44 +00:00
|
|
|
- remove unpackaged files
|
2009-06-18 15:05:24 +00:00
|
|
|
* Tue Jul 02 2002 mls@suse.de
|
2007-01-15 23:30:44 +00:00
|
|
|
- remove race in .packlist generation
|
2009-06-18 15:05:24 +00:00
|
|
|
* Fri Jan 18 2002 rvasice@suse.cz
|
2007-01-15 23:30:44 +00:00
|
|
|
- spec file cleanup
|
2009-06-18 15:05:24 +00:00
|
|
|
* Mon Nov 20 2000 rolf@suse.de
|
2007-01-15 23:30:44 +00:00
|
|
|
- extracted from perlmod package
|
|
|
|
- update to version 0.8
|