3 %bcond_without tests # do not perform "make test"
7 %include /usr/lib/rpm/macros.perl
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
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 URL: http://search.cpan.org/dist/CGI-Screen/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 CGI::Screen is a subclass of "CGI" which allows the esay(TM) creation
25 of simple multi screen CGI scripts. By 'multi screen' I mean scripts
26 which present different screens to the user when called with different
27 parameters. This is the common case for scripts linking to themselves.
29 %description -l pl.UTF-8
30 CGI::Screen jest podklasą "CGI", która umożliwia łatwe(TM) tworzenie
31 wieloekranowych skryptów CGI. ,,Skrypt wieloekranowy'' oznacza tu
32 skrypt, który przedstawia użytkownikowi różne ekrany, gdy wywoływany
33 jest z różnymi parametrami. Jest to przypadek ogólny dla skryptów,
34 które wywołują same siebie.
37 %setup -q -n %{pdir}-%{pnam}-%{version}
40 %{__perl} Makefile.PL \
44 %{?with_tests:%{__make} test}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
53 rm -rf $RPM_BUILD_ROOT
56 %defattr(644,root,root,755)
58 %{perl_vendorlib}/CGI/Screen.pm