%include /usr/lib/rpm/macros.perl %define pdir HTML %define pnam Stream Summary: HTML::Stream - HTML output stream class, and some markup utilities Summary(pl): HTML::Stream - klasa produkująca strumień HTML oraz narzędza do znaczników Name: perl-HTML-Stream Version: 1.55 Release: 1 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: c25de08883353b789fd2b544626a60d4 BuildRequires: perl-devel >= 5.6.1 BuildRequires: perl-HTML-Parser BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description The HTML::Stream module provides you with an object-oriented (and subclassable) way of outputting HTML. Basically, you open up an "HTML stream" on an existing filehandle, and then do all of your output to the HTML stream. You can intermix HTML-stream-output and ordinary-print-output, if you like. %description -l pl Moduł HTML::Stream udostępnia obiektowo zorientowane (i poddające się dziedziczeniu) metody do produkowania HTML. Wystarczy otworzyć "strumień HTML" na istniejącym uchwycie pliku, a następnie przekazywać całe wyjście do tego strumienia. Można przeplatać wyjście do strumienia HTML z normalnym. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc README docs/*.html docs/index.menu docs/%{pdir} docs/icons etc examples %{perl_vendorlib}/%{pdir}/%{pnam}.pm %{_mandir}/man3/*