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