3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
8 Summary: CGI::WeT Perl module - suite of modules to themeify a website
9 Summary(pl.UTF-8): Moduł Perla CGI::WeT - pakiet modułów do nadania motywów stronom WWW
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 78528519a7a96511b96064d9a4d750ce
17 URL: http://search.cpan.org/dist/CGI-WeT/
18 BuildRequires: apache-mod_perl
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 3.0.3-16
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 The collection of CGI::WeT::* modules allows a site to be built from
26 three major components:
27 (1) static themed HTML files,
28 (2) theme definitions,
31 %description -l pl.UTF-8
32 Zestaw modułów CGI::WeT umożliwia zbudowanie stron WWW z trzech
33 podstawowych składników:
34 (1) statycznych plików HTML z motywami,
35 (2) definicji motywów,
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
50 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
53 DESTDIR=$RPM_BUILD_ROOT
54 cp -a scripts themes $RPM_BUILD_ROOT%{_examplesdir}/%{name}
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
62 %{perl_vendorlib}/CGI/WeT.pm
63 %{perl_vendorlib}/CGI/WeT
65 %{_examplesdir}/%{name}