]> git.pld-linux.org Git - SPECS.git/blob - perl-CGI-WML.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / perl-CGI-WML.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    CGI
6 %define         pnam    WML
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
9 Name:           perl-CGI-WML
10 Version:        0.09
11 Release:        3
12 # same as perl
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
21 %if %{with tests}
22 BuildRequires:  perl-CGI
23 BuildRequires:  perl-HTML-Parser
24 BuildRequires:  perl-HTML-TableExtract
25 BuildRequires:  perl-XML-Parser
26 %endif
27 BuildArch:      noarch
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
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.
35
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.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %patch0 -p1
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
60 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/CGI/WML/.packlist
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %{perl_vendorlib}/%{pdir}/*.pm
68 %{_mandir}/man3/*
This page took 0.977142 seconds and 3 git commands to generate.