3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: CGI::Widget - base class for CGI::Widget::
9 Summary(pl.UTF-8): CGI::Widget - klasa bazowa dla CGI::Widget::
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 70a57a75c17696fe57590efbaab787f8
17 URL: http://search.cpan.org/dist/CGI-Widget/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRequires: perl-CGI
22 BuildRequires: perl-Tree-DAG_Node
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 The CGI::Widget module's purpose is to allow authors of CGI or other
29 dynamically generated HTML documents an easy way to create common, and
30 possibly complex, page elements.
32 %description -l pl.UTF-8
33 Zadaniem CGI::Widget jest udostępnienie autorom skryptów CGI (lub
34 korzystającym z innych technik dynamicznego tworzenia dokumentów HTML)
35 prostego sposobu na tworzenie wspólnych i możliwie złożonych elementów
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %{perl_vendorlib}/%{pdir}/*.pm
60 %{perl_vendorlib}/%{pdir}/%{pnam}