]> git.pld-linux.org Git - packages/perl-CGI-WeT.git/blob - perl-CGI-WeT.spec
74017b8db95f95fa5f86e66619e2a6cfca654de2
[packages/perl-CGI-WeT.git] / perl-CGI-WeT.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    CGI
7 %define         pnam    WeT
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
10 Name:           perl-CGI-WeT
11 Version:        0.71
12 Release:        11
13 License:        Artistic
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
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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,
28 (3) CGI scripts.
29
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,
35 (3) skryptów CGI.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53 cp -a scripts themes $RPM_BUILD_ROOT%{_examplesdir}/%{name}
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc Changes README
61 %{perl_vendorlib}/CGI/WeT.pm
62 %{perl_vendorlib}/CGI/WeT
63 %{_mandir}/man3/*
64 %{_examplesdir}/%{name}
This page took 0.065251 seconds and 2 git commands to generate.