]> git.pld-linux.org Git - packages/perl-CGI-WML.git/blame - perl-CGI-WML.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-CGI-WML.git] / perl-CGI-WML.spec
CommitLineData
c0a889eb 1#
2# Conditional build:
cedeccfe 3%bcond_without tests # do not perform "make test"
c56af734 4
855eba2f 5%define pdir CGI
6%define pnam WML
6641dcc3 7Summary: CGI::WML - subclass LDS's "CGI.pm" for WML output and WML methods
08817953 8Summary(pl.UTF-8): CGI::WML - podklasa CGI.pm do wyjścia i metod WML
c0a889eb 9Name: perl-CGI-WML
e989a8fe 10Version: 0.09
6641dcc3 11Release: 3
076eb76a 12# same as perl
13License: GPL v1+ or Artistic
c0a889eb 14Group: Development/Languages/Perl
5c05a8f1 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
88cb14bc 16# Source0-md5: 091abe6a07f1b795d63437e78bf68efd
b741ca82 17Patch0: %{name}-noninteractive.patch
c56af734 18URL: http://search.cpan.org/dist/CGI-WML/
a8adcc9c 19BuildRequires: perl-devel >= 1:5.8.0
c56af734 20BuildRequires: rpm-perlprov >= 3.0.3-26
f85e9d6a 21%if %{with tests}
c0a889eb 22BuildRequires: perl-CGI
23BuildRequires: perl-HTML-Parser
24BuildRequires: perl-HTML-TableExtract
25BuildRequires: perl-XML-Parser
26%endif
27BuildArch: noarch
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
b741ca82
ER
31CGI::WML provides WML output and WML methods for CGI programming. The
32purpose of the module is to retain the familiar CGI.pm way of
c0a889eb 33programming to enable experienced CGI programmers to use their
34existing skills when creating WAP applications.
35
e109db9f
JR
36%description -l pl.UTF-8
37CGI::WML udostępnia wyjście WML i metody WML do programowania CGI.
38Celem tego modułu jest zachowanie znanej metody programowania CGI, aby
39umożliwić doświadczonym programistom CGI używanie swoich umiejętności
0a920b3e 40przy tworzeniu aplikacji WAP.
c0a889eb 41
42%prep
43%setup -q -n %{pdir}-%{pnam}-%{version}
b741ca82 44%patch0 -p1
c0a889eb 45
46%build
581c7238 47%{__perl} Makefile.PL \
48 INSTALLDIRS=vendor
c0a889eb 49%{__make}
50
cedeccfe 51%{?with_tests:%{__make} test}
c0a889eb 52
53%install
54rm -rf $RPM_BUILD_ROOT
55
581c7238 56%{__make} install \
57 DESTDIR=$RPM_BUILD_ROOT
c0a889eb 58
b741ca82
ER
59rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
60rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/CGI/WML/.packlist
61
c0a889eb 62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
581c7238 67%{perl_vendorlib}/%{pdir}/*.pm
c0a889eb 68%{_mandir}/man3/*
This page took 0.099959 seconds and 4 git commands to generate.