]> git.pld-linux.org Git - packages/perl-WWW-Poll.git/blob - perl-WWW-Poll.spec
2da9a799b770e51ddde6b2c44e2fc6b7e853e207
[packages/perl-WWW-Poll.git] / perl-WWW-Poll.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    WWW
7 %define         pnam    Poll
8 Summary:        WWW::Poll Perl module
9 Summary(cs.UTF-8):      Modul WWW::Poll pro Perl
10 Summary(da.UTF-8):      Perlmodul WWW::Poll
11 Summary(de.UTF-8):      WWW::Poll Perl Modul
12 Summary(es.UTF-8):      Módulo de Perl WWW::Poll
13 Summary(fr.UTF-8):      Module Perl WWW::Poll
14 Summary(it.UTF-8):      Modulo di Perl WWW::Poll
15 Summary(ja.UTF-8):      WWW::Poll Perl モジュール
16 Summary(ko.UTF-8):      WWW::Poll 펄 모줄
17 Summary(nb.UTF-8):      Perlmodul WWW::Poll
18 Summary(pl.UTF-8):      Moduł Perla WWW::Poll
19 Summary(pt.UTF-8):      Módulo de Perl WWW::Poll
20 Summary(pt_BR.UTF-8):   Módulo Perl WWW::Poll
21 Summary(ru.UTF-8):      Модуль для Perl WWW::Poll
22 Summary(sv.UTF-8):      WWW::Poll Perlmodul
23 Summary(uk.UTF-8):      Модуль для Perl WWW::Poll
24 Summary(zh_CN.UTF-8):   WWW::Poll Perl 模块
25 Name:           perl-WWW-Poll
26 Version:        0.01
27 Release:        13
28 # same as perl
29 License:        GPL v1+ or Artistic
30 Group:          Development/Languages/Perl
31 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
32 # Source0-md5:  9a67e34b5148440db0762ba7a66e5c0b
33 Patch0:         %{name}-undef.patch
34 BuildRequires:  perl-devel >= 1:5.8.0
35 BuildRequires:  rpm-perlprov >= 4.1-13
36 BuildArch:      noarch
37 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39 %description
40 WWW::Poll - Perl extension to build web polls.
41
42 %description -l pl.UTF-8
43 WWW::Poll - moduł do tworzenia ankiet na stronach WWW.
44
45 %prep
46 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %patch0 -p1
48
49 %build
50 %{__perl} Makefile.PL \
51         INSTALLDIRS=vendor
52 %{__make}
53
54 %{?with_tests:%{__make} test}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT
62 cp -a demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc Changes README
70 %{perl_vendorlib}/WWW/Poll.pm
71 # empty utosplit.ix
72 #%dir %{perl_vendorlib}/auto/WWW/Poll
73 #%%{perl_vendorlib}/auto/WWW/Poll/autosplit.ix
74 %{_mandir}/man3/*
75 %{_examplesdir}/%{name}-%{version}
This page took 0.203722 seconds and 2 git commands to generate.