]> git.pld-linux.org Git - packages/perl-HTML-Stream.git/blob - perl-HTML-Stream.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-HTML-Stream.git] / perl-HTML-Stream.spec
1 %define         pdir    HTML
2 %define         pnam    Stream
3 Summary:        HTML::Stream - HTML output stream class, and some markup utilities
4 Summary(pl.UTF-8):      HTML::Stream - klasa produkująca strumień HTML oraz narzędzia do znaczników
5 Name:           perl-HTML-Stream
6 Version:        1.60
7 Release:        1
8 # same as perl
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/HTML/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  dfc0376eb1359568769e1c22891c24ea
13 URL:            http://search.cpan.org/dist/HTML-Stream/
14 BuildRequires:  perl-devel >= 1:5.8.0
15 BuildRequires:  perl-HTML-Parser
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The HTML::Stream module provides you with an object-oriented (and
22 subclassable) way of outputting HTML. Basically, you open up an "HTML
23 stream" on an existing filehandle, and then do all of your output to
24 the HTML stream. You can intermix HTML-stream-output and
25 ordinary-print-output, if you like.
26
27 %description -l pl.UTF-8
28 Moduł HTML::Stream udostępnia obiektowo zorientowane (i poddające się
29 dziedziczeniu) metody do produkowania HTML. Wystarczy otworzyć
30 "strumień HTML" na istniejącym uchwycie pliku, a następnie przekazywać
31 całe wyjście do tego strumienia. Można przeplatać wyjście do
32 strumienia HTML z normalnym.
33
34 %prep
35 %setup -q -n %{pdir}-%{pnam}-%{version}
36
37 %build
38 %{__perl} Makefile.PL \
39         INSTALLDIRS=vendor
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README docs/*.html docs/index.menu docs/HTML docs/icons etc examples
54 %{perl_vendorlib}/HTML/Stream.pm
55 %{_mandir}/man3/HTML::Stream.3pm*
This page took 0.123948 seconds and 4 git commands to generate.