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: a260e9ae037981a3519ffd5f2e9f2906
17 URL: https://metacpan.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 BuildRequires: rpmbuild(macros) >= 1.745
31 Requires: dbus-libs >= 1.3.0
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Net::DBus provides a Perl XS API to the dbus inter-application
36 messaging system. The Perl API covers the core base level of the dbus
37 APIs, not concerning itself yet with the GLib or Qt wrappers. For more
38 information on dbus visit the project website at
39 <http://www.freedesktop.org/software/dbus/>.
41 %description -l pl.UTF-8
42 Moduł Net::DBus dostarcza API Perla XS dla dbusa - systemu komunikacji
43 między aplikacjami. API Perla pokrywa kluczową funkcjonalność API
44 dbusa, nie kłopocząc się jeszcze wrapperami GLiba albo Qt. Więcej
45 informacji na temat dbusa można znaleźć na stronie projektu:
46 <http://www.freedesktop.org/software/dbus/>.
49 %setup -q -n %{pdir}-%{pnam}-%{version}
52 %{__perl} Makefile.PL \
56 OPTIMIZE="%{rpmcflags}"
58 %{?with_tests:%{__make} test}
61 rm -rf $RPM_BUILD_ROOT
63 %{__make} pure_install \
64 DESTDIR=$RPM_BUILD_ROOT
66 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/*.pod
67 %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/Tutorial
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc AUTHORS Changes README
75 %{perl_vendorarch}/Net/DBus.pm
76 %dir %{perl_vendorarch}/Net/DBus
77 %{perl_vendorarch}/Net/DBus/*.pm
78 %dir %{perl_vendorarch}/Net/DBus/Binding
79 %{perl_vendorarch}/Net/DBus/Binding/*.pm
80 %dir %{perl_vendorarch}/Net/DBus/Binding/Message
81 %{perl_vendorarch}/Net/DBus/Binding/Message/*.pm
82 %dir %{perl_vendorarch}/Net/DBus/Test
83 %{perl_vendorarch}/Net/DBus/Test/*.pm
84 %dir %{perl_vendorarch}/auto/Net/DBus
85 %attr(755,root,root) %{perl_vendorarch}/auto/Net/DBus/DBus.so
86 %{_mandir}/man3/Net::DBus*.3pm*