3 %bcond_without tests # do not perform "make test"
7 Summary: CGI::WML - subclass LDS's "CGI.pm" for WML output and WML methods
8 Summary(pl.UTF-8): CGI::WML - podklasa CGI.pm do wyjścia i metod WML
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 091abe6a07f1b795d63437e78bf68efd
17 Patch0: %{name}-noninteractive.patch
18 URL: http://search.cpan.org/dist/CGI-WML/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 3.0.3-26
22 BuildRequires: perl-CGI
23 BuildRequires: perl-HTML-Parser
24 BuildRequires: perl-HTML-TableExtract
25 BuildRequires: perl-XML-Parser
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 CGI::WML provides WML output and WML methods for CGI programming. The
32 purpose of the module is to retain the familiar CGI.pm way of
33 programming to enable experienced CGI programmers to use their
34 existing skills when creating WAP applications.
36 %description -l pl.UTF-8
37 CGI::WML udostępnia wyjście WML i metody WML do programowania CGI.
38 Celem tego modułu jest zachowanie znanej metody programowania CGI, aby
39 umożliwić doświadczonym programistom CGI używanie swoich umiejętności
40 przy tworzeniu aplikacji WAP.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
59 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
60 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/CGI/WML/.packlist
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %{perl_vendorlib}/%{pdir}/*.pm