]> git.pld-linux.org Git - packages/perl-WDDX.git/blob - perl-WDDX.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-WDDX.git] / perl-WDDX.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    WDDX
6 Summary:        WDDX.pm - Module for reading and writing WDDX packets
7 Summary(pl.UTF-8):      WDDX.pm - moduł do odczytu i zapisu pakietów WDDX
8 Name:           perl-WDDX
9 Version:        1.02
10 Release:        1
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{version}.tar.gz
15 # Source0-md5:  e2d01a914affb9e562b2a12c7b765b29
16 URL:            http://www.scripted.com/wddx/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %if %{with tests}
20 BuildRequires:  perl-XML-Parser >= 2
21 BuildRequires:  perl-Test-Pod
22 %endif
23 BuildArch:      noarch
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 This module provides a Perl interface to WDDX. The latest version of
28 this module as well as additional information can be found at
29 <http://www.scripted.com/wddx/>. For more information about WDDX please
30 visit <http://www.wddx.org/>.
31
32 %description -l pl.UTF-8
33 Ten moduł udostępnia perlowy interfejs do WDDX. Ostatnia wersję tego
34 modułu oraz dodatkowe informacje można znaleźć pod
35 <http://www.scripted.com/wddx/>. Więcej informacji o WDDX znajduje się
36 pod adresem <http://www.wddx.org/>.
37
38 %prep
39 %setup -q -n %{pdir}-%{version}
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} pure_install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README
60 %{perl_vendorlib}/*.pm
61 %{perl_vendorlib}/WDDX
62 %{_mandir}/man3/*
This page took 0.125319 seconds and 4 git commands to generate.