3 %bcond_without tests # do not perform "make test"
6 Summary: NCGI - A Common Gateway Interface (CGI) Class
7 Summary(pl.UTF-8): NCGI - klasa dla CGI (Common Gateway Interface)
12 Group: Development/Languages/Perl
13 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
14 # Source0-md5: b2eba415d26650d10efb33b40d20c82c
15 URL: http://search.cpan.org/dist/NCGI/
16 BuildRequires: perl-devel >= 1:5.8.0
17 BuildRequires: rpm-perlprov >= 4.1-13
19 BuildRequires: perl-Log-Delta >= 0.02
20 BuildRequires: perl-XML-API >= 0.07
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 NCGI is an aid for authors writing CGI scripts. It has the same basic
27 function as the well known CGI module although with a completely
30 %description -l pl.UTF-8
31 NCGI jest pomocą dla autorów piszących skrypty CGI. Ma te same funkcje
32 podstawowe co dobrze znany moduł CGI, lecz z zupełnie innym
36 %setup -q -n %{pdir}-%{version}
39 %{__perl} Makefile.PL \
43 %{?with_tests:%{__make} test}
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT
52 rm -rf $RPM_BUILD_ROOT
55 %defattr(644,root,root,755)
57 %{perl_vendorlib}/*.pm
58 %{perl_vendorlib}/NCGI