]> git.pld-linux.org Git - packages/perl-HTML-Clean.git/blame - perl-HTML-Clean.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-Clean.git] / perl-HTML-Clean.spec
CommitLineData
120d29d3 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
49d05320 4
d8b6b5b1 5%define pdir HTML
6%define pnam Clean
3decd717 7Summary: HTML::Clean - cleans up HTML code for web browsers, not humans
866597a8 8Summary(pl.UTF-8): HTML::Clean - czyści kod w HTML-u z punktu widzenia serwerów WWW
995ae7cd 9Name: perl-HTML-Clean
97501467 10Version: 0.8
f82b8fe4 11Release: 10
0354760e 12# same as perl
13License: GPL v1+ or Artistic
12c6c476 14Group: Development/Languages/Perl
f5a414d3 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
2e1d0fae 16# Source0-md5: ee562703b7700c7fd4173f355e83ec2c
49d05320 17URL: http://search.cpan.org/dist/HTML-Clean/
7e22acd9 18BuildRequires: perl-devel >= 1:5.8.0
49d05320 19BuildRequires: rpm-perlprov >= 4.1-13
65e2016d 20BuildArch: noarch
9185633c 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12c6c476 22
23%description
3decd717 24The HTML::Clean Perl module encapsulates a number of common techniques
49d05320 25for minimizing the size of HTML files. You can typically save between
3decd717 2610% and 50% of the size of a HTML file using these methods.
12c6c476 27
59773eac
JR
28%description -l pl.UTF-8
29Moduł Perla HTML::Clean zamyka w sobie kilka ogólnych technik
30minimalizacji rozmiaru plików HTML. Zazwyczaj pozwala on zaoszczędzić
49d05320 31na rozmiarze pliku HTML od 10% do 50%.
12c6c476 32
33%prep
6128f399 34%setup -q -n %{pdir}-%{pnam}-%{version}
12c6c476 35
36%build
86284cb9 37%{__perl} Makefile.PL \
e7a5d2fb 38 INSTALLDIRS=vendor
120d29d3 39%{__make}
40
41%{?with_tests:%{__make} test}
12c6c476 42
43%install
44rm -rf $RPM_BUILD_ROOT
dc79e098 45
120d29d3 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
12c6c476 48
12c6c476 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
8e557a38 54%doc Changes README TODO
12c6c476 55%attr(755,root,root) %{_bindir}/*
86284cb9 56%{perl_vendorlib}/HTML/*.pm
57%dir %{perl_vendorlib}/auto/HTML
58%dir %{perl_vendorlib}/auto/HTML/Clean
59%{perl_vendorlib}/auto/HTML/Clean/autosplit.ix
12c6c476 60%{_mandir}/man[13]/*
This page took 0.098572 seconds and 5 git commands to generate.