]> git.pld-linux.org Git - packages/perl-CGI-Screen.git/blob - perl-CGI-Screen.spec
e5b942ce60d41df3bd5ebae021c2a54040484d2a
[packages/perl-CGI-Screen.git] / perl-CGI-Screen.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    Screen
8 Summary:        CGI::Screen - Perl extension for easy creation of multi screen CGI scripts
9 Summary(pl.UTF-8):      CGI::Screen - rozszerzenia Perla do łatwego tworzenia wieloekranowych skryptów CGI
10 Name:           perl-CGI-Screen
11 Version:        0.122
12 Release:        11
13 License:        GPL
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  3bcbb56df1852bd20183cd9eda3ea6e9
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 CGI::Screen is a subclass of "CGI" which allows the esay(TM) creation
24 of simple multi screen CGI scripts.  By 'multi screen' I mean scripts
25 which present different screens to the user when called with different
26 parameters. This is the common case for scripts linking to themselves.
27
28 %description -l pl.UTF-8
29 CGI::Screen jest podklasą "CGI", która umożliwia łatwe(TM) tworzenie
30 wieloekranowych skryptów CGI. ,,Skrypt wieloekranowy'' oznacza tu
31 skrypt, który przedstawia użytkownikowi różne ekrany, gdy wywoływany
32 jest z różnymi parametrami. Jest to przypadek ogólny dla skryptów,
33 które wywołują same siebie.
34
35 %prep
36 %setup -q -n %{pdir}-%{pnam}-%{version}
37
38 %build
39 %{__perl} Makefile.PL \
40         INSTALLDIRS=vendor
41 %{__make}
42
43 %{?with_tests:%{__make} test}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc ChangeLog README
57 %{perl_vendorlib}/CGI/Screen.pm
58 %{_mandir}/man3/*
This page took 0.049832 seconds and 2 git commands to generate.