3 %bcond_without tests # do perform "make test"
7 Summary: Net::DBus - Perl extension for the DBus message system
8 Summary(pl.UTF-8): Net::DBus - Rozszerzenie Perla dla systemu komunikacji DBus
12 # "same as perl", but GPL v2+ is specified
13 License: GPL v2+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: da44a16f8abf1db76f5ccf50d9926944
17 URL: http://search.cpan.org/dist/Net-DBus/
18 BuildRequires: dbus-devel >= 1.3.0
19 BuildRequires: perl-Time-HiRes
20 BuildRequires: perl-XML-Twig
21 BuildRequires: perl-devel >= 1:5.8.0
23 BuildRequires: perl(Test::CPAN::Changes)
24 BuildRequires: perl-Test-Pod
25 BuildRequires: perl-Test-Pod-Coverage
26 BuildRequires: perl-Test-Simple
28 BuildRequires: pkgconfig
29 BuildRequires: rpm-perlprov >= 4.1-13
30 Requires: dbus-libs >= 1.3.0
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Net::DBus provides a Perl XS API to the dbus inter-application
35 messaging system. The Perl API covers the core base level of the dbus
36 APIs, not concerning itself yet with the GLib or Qt wrappers. For more
37 information on dbus visit the project website at
38 <http://www.freedesktop.org/software/dbus/>.
40 %description -l pl.UTF-8
41 Moduł Net::DBus dostarcza API Perla XS dla dbusa - systemu komunikacji
42 między aplikacjami. API Perla pokrywa kluczową funkcjonalność API
43 dbusa, nie kłopocząc się jeszcze wrapperami GLiba albo Qt. Więcej
44 informacji na temat dbusa można znaleźć na stronie projektu:
45 <http://www.freedesktop.org/software/dbus/>.
48 %setup -q -n %{pdir}-%{pnam}-%{version}
51 %{__perl} Makefile.PL \
55 OPTIMIZE="%{rpmcflags}"
57 %{?with_tests:%{__make} test}
60 rm -rf $RPM_BUILD_ROOT
62 %{__make} pure_install \
63 DESTDIR=$RPM_BUILD_ROOT
65 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/*.pod
66 %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/Tutorial
69 rm -rf $RPM_BUILD_ROOT
72 %defattr(644,root,root,755)
73 %doc AUTHORS Changes README
74 %{perl_vendorarch}/Net/DBus.pm
75 %dir %{perl_vendorarch}/Net/DBus
76 %{perl_vendorarch}/Net/DBus/*.pm
77 %dir %{perl_vendorarch}/Net/DBus/Binding
78 %{perl_vendorarch}/Net/DBus/Binding/*.pm
79 %dir %{perl_vendorarch}/Net/DBus/Binding/Message
80 %{perl_vendorarch}/Net/DBus/Binding/Message/*.pm
81 %dir %{perl_vendorarch}/Net/DBus/Test
82 %{perl_vendorarch}/Net/DBus/Test/*.pm
83 %dir %{perl_vendorarch}/auto/Net/DBus
84 %attr(755,root,root) %{perl_vendorarch}/auto/Net/DBus/DBus.so
85 %{_mandir}/man3/Net::DBus*.3pm*