3 %bcond_without tests # do not perform "make test"
5 %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 BuildRequires: rpm-perlprov >= 3.0.3-16
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: apache-mod_perl
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 The collection of CGI::WeT::* modules allows a site to be built from
25 three major components:
26 (1) static themed HTML files,
27 (2) theme definitions,
30 %description -l pl.UTF-8
31 Zestaw modułów CGI::WeT umożliwia zbudowanie stron WWW z trzech
32 podstawowych składników:
33 (1) statycznych plików HTML z motywami,
34 (2) definicji motywów,
38 %setup -q -n %{pdir}-%{pnam}-%{version}
41 %{__perl} Makefile.PL \
45 %{?with_tests:%{__make} test}
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
52 DESTDIR=$RPM_BUILD_ROOT
53 cp -a scripts themes $RPM_BUILD_ROOT%{_examplesdir}/%{name}
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %{perl_vendorlib}/CGI/WeT.pm
62 %{perl_vendorlib}/CGI/WeT
64 %{_examplesdir}/%{name}