]> git.pld-linux.org Git - packages/perl-CGI-Widget.git/blame - perl-CGI-Widget.spec
use generic url
[packages/perl-CGI-Widget.git] / perl-CGI-Widget.spec
CommitLineData
58addc6e 1#
2# Conditional build:
24292c33 3%bcond_without tests # do not perform "make test"
c6725929 4
2dd23ce2 5%define pdir CGI
6%define pnam Widget
c6725929 7%include /usr/lib/rpm/macros.perl
b7ada406 8Summary: CGI::Widget - base class for CGI::Widget::
7e1b0627 9Summary(pl.UTF-8): CGI::Widget - klasa bazowa dla CGI::Widget::
58addc6e 10Name: perl-CGI-Widget
11Version: 0.15
9a005782 12Release: 5
58addc6e 13License: Artistic
14Group: Development/Languages/Perl
baa9e975 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
8a75308e 16# Source0-md5: 70a57a75c17696fe57590efbaab787f8
c6725929 17URL: http://search.cpan.org/dist/CGI-Widget/
8b8a2263 18BuildRequires: perl-devel >= 1:5.8.0
c6725929 19BuildRequires: rpm-perlprov >= 4.1-13
24292c33 20%if %{with tests}
58addc6e 21BuildRequires: perl-CGI
22BuildRequires: perl-Tree-DAG_Node
23%endif
24BuildArch: noarch
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%description
28The CGI::Widget module's purpose is to allow authors of CGI or other
c6725929
ER
29dynamically generated HTML documents an easy way to create common, and
30possibly complex, page elements.
58addc6e 31
238ba1ec
JR
32%description -l pl.UTF-8
33Zadaniem CGI::Widget jest udostępnienie autorom skryptów CGI (lub
34korzystającym z innych technik dynamicznego tworzenia dokumentów HTML)
35prostego sposobu na tworzenie wspólnych i możliwie złożonych elementów
58addc6e 36stron.
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
40a4ce2a 42%{__perl} Makefile.PL \
13f18817 43 INSTALLDIRS=vendor
58addc6e 44%{__make}
45
24292c33 46%{?with_tests:%{__make} test}
58addc6e 47
48%install
49rm -rf $RPM_BUILD_ROOT
50
8590c823 51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
58addc6e 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
40a4ce2a 59%{perl_vendorlib}/%{pdir}/*.pm
60%{perl_vendorlib}/%{pdir}/%{pnam}
58addc6e 61%{_mandir}/man3/*
This page took 0.088134 seconds and 4 git commands to generate.