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): 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: 1663f7d4440fe2756c3dc315a80aeadc
18 Patch0: %{name}-dbus.patch
19 URL: http://search.cpan.org/dist/Net-DBus/
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
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Net::DBus provides a Perl XS API to the dbus inter-application
30 messaging system. The Perl API covers the core base level of the dbus
31 APIs, not concerning itself yet with the GLib or Qt wrappers. For more
32 information on dbus visit the project website at
33 <http://www.freedesktop.org/software/dbus/>.
36 Modu³ Net::DBus dostarcza API Perla XS dla dbusa - systemu komunikacji
37 miêdzy aplikacjami. API Perla pokrywa kluczow± funkcjonalno¶æ API
38 dbusa, nie k³opocz±c siê jeszcze wrapperami GLiba albo Qt. Wiêcej
39 informacji na temat dbusa mo¿na znale¼æ na stronie projektu:
40 <http://www.freedesktop.org/software/dbus/>.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
47 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
59 rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/*.pod
60 rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/Tutorial
63 rm -rf $RPM_BUILD_ROOT
66 %defattr(644,root,root,755)
67 %doc AUTHORS CHANGES README
68 %{perl_vendorarch}/Net/DBus.pm
69 %dir %{perl_vendorarch}/Net/DBus
70 %{perl_vendorarch}/Net/DBus/*.pm
71 %dir %{perl_vendorarch}/Net/DBus/Binding
72 %{perl_vendorarch}/Net/DBus/Binding/*.pm
73 %dir %{perl_vendorarch}/Net/DBus/Binding/Message
74 %{perl_vendorarch}/Net/DBus/Binding/Message/*.pm
75 %dir %{perl_vendorarch}/Net/DBus/Test
76 %{perl_vendorarch}/Net/DBus/Test/*.pm
77 %dir %{perl_vendorarch}/auto/Net/DBus
78 %{perl_vendorarch}/auto/Net/DBus/DBus.bs
79 %attr(755,root,root) %{perl_vendorarch}/auto/Net/DBus/DBus.so