]> git.pld-linux.org Git - SPECS.git/blob - perl-HTML-RefMunger.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-HTML-RefMunger.spec
1 %define         pdir    HTML
2 %define         pnam    RefMunger
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
6 Version:        0.01
7 Release:        11
8 License:        Artistic
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
16 BuildArch:      noarch
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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.
26
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.
35
36 %prep
37 %setup -q -n %{pdir}-%{pnam}-%{version}
38
39 %build
40 %{__perl} Makefile.PL \
41         INSTALLDIRS=vendor
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 %{__make} \
48         install DESTDIR=$RPM_BUILD_ROOT
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc README
56 %attr(755,root,root) %{_bindir}/refmunger
57 %{perl_vendorlib}/HTML/RefMunger.pm
58 %{_mandir}/man[13]/*
This page took 0.129389 seconds and 3 git commands to generate.