3 Summary: HTML::RefMunger - mangle HREF links within HTML files
4 Summary(pl.UTF-8): HTML::RefMunger - podmienianie odnośników HREF w plikach HTML
5 Name: perl-HTML-RefMunger
9 Group: Development/Languages/Perl
10 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
11 # Source0-md5: 9dbaf3b7a2c8d3115695485392c3f729
12 URL: http://search.cpan.org/dist/HTML-RefMunger/
13 BuildRequires: perl-HTML-Parser
14 BuildRequires: perl-devel >= 1:5.8.0
15 BuildRequires: rpm-perlprov >= 4.1-13
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 HTML::RefMunger is a module that will parse HTML files for HREF and
21 IMG tags and munge the links within them to suit various file naming
22 conventions. Supported formats for conversion are:
23 - MacOS - 32 character limit,
24 - MS-DOS - 8.3 character limit,
25 - UNIX - Some older UNIX platforms have a 14-character limit.
27 %description -l pl.UTF-8
28 HTML::RefMunger jest modułem, który wyszukuje w plikach HTML znaczniki
29 HREF i IMG i przekształca zawarte w nich odnośniki tak, by pasowały do
30 określonych konwencji nazewnictwa. Wspierane formaty konwersji to:
31 - MacOS - do 32 znaków,
32 - MS-DOS - format 8.3,
33 - UNIX - niektóre starsze platformy zezwalają na nie więcej niż
34 14-znakowe nazwy plików.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
45 rm -rf $RPM_BUILD_ROOT
48 install DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %attr(755,root,root) %{_bindir}/refmunger
57 %{perl_vendorlib}/HTML/RefMunger.pm