3 %bcond_without tests # do perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Net::ACL - Perl extension for the DBus message system
9 Summary(pl.UTF-8): Net::ACL - Rozszerzenie Perla dla systemu komunikacji DBus
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 7138571b3d8df29faa65d1db509f9d32
18 URL: http://search.cpan.org/dist/Net-DBus/
19 BuildRequires: dbus-devel
20 BuildRequires: perl-Time-HiRes
21 BuildRequires: perl-XML-Parser
22 BuildRequires: perl-XML-Twig
23 BuildRequires: perl-devel >= 1:5.8.0
24 BuildRequires: rpm-perlprov >= 4.1-13
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Net::DBus provides a Perl XS API to the dbus inter-application
29 messaging system. The Perl API covers the core base level of the dbus
30 APIs, not concerning itself yet with the GLib or Qt wrappers. For more
31 information on dbus visit the project website at
32 <http://www.freedesktop.org/software/dbus/>.
34 %description -l pl.UTF-8
35 Moduł Net::DBus dostarcza API Perla XS dla dbusa - systemu komunikacji
36 między aplikacjami. API Perla pokrywa kluczową funkcjonalność API
37 dbusa, nie kłopocząc się jeszcze wrapperami GLiba albo Qt. Więcej
38 informacji na temat dbusa można znaleźć na stronie projektu:
39 <http://www.freedesktop.org/software/dbus/>.
42 %setup -q -n %{pdir}-%{pnam}-%{version}
45 %{__perl} Makefile.PL \
49 %{?with_tests:%{__make} test}
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT
57 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/*.pod
58 rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/Tutorial
61 rm -rf $RPM_BUILD_ROOT
64 %defattr(644,root,root,755)
65 %doc AUTHORS CHANGES README
66 %{perl_vendorarch}/Net/DBus.pm
67 %dir %{perl_vendorarch}/Net/DBus
68 %{perl_vendorarch}/Net/DBus/*.pm
69 %dir %{perl_vendorarch}/Net/DBus/Binding
70 %{perl_vendorarch}/Net/DBus/Binding/*.pm
71 %dir %{perl_vendorarch}/Net/DBus/Binding/Message
72 %{perl_vendorarch}/Net/DBus/Binding/Message/*.pm
73 %dir %{perl_vendorarch}/Net/DBus/Test
74 %{perl_vendorarch}/Net/DBus/Test/*.pm
75 %dir %{perl_vendorarch}/auto/Net/DBus
76 %{perl_vendorarch}/auto/Net/DBus/DBus.bs
77 %attr(755,root,root) %{perl_vendorarch}/auto/Net/DBus/DBus.so