3 %bcond_without tests # do not perform "make test"
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
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
20 BuildRequires: perl-XML-Parser >= 2
21 BuildRequires: perl-Test-Pod
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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/>.
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/>.
39 %setup -q -n %{pdir}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{perl_vendorlib}/*.pm
61 %{perl_vendorlib}/WDDX