1 | Summary: Use and provide DBus services |
---|
2 | Name: perl-Net-DBus |
---|
3 | Version: 1.0.0 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: GPL or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Net-DBus/ |
---|
8 | Source0: http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-%{version}.tar.gz |
---|
9 | |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
11 | BuildRequires: dbus-devel |
---|
12 | BuildRequires: pkgconfig |
---|
13 | BuildRequires: perl(XML::Grove) |
---|
14 | BuildRequires: perl(XML::Parser) |
---|
15 | BuildRequires: perl(XML::Twig) |
---|
16 | BuildRequires: perl(Test::More) |
---|
17 | BuildRequires: perl(Test::Pod) |
---|
18 | BuildRequires: perl(Test::Pod::Coverage) |
---|
19 | BuildRequires: perl(Time::HiRes) |
---|
20 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | |
---|
25 | %description |
---|
26 | Net::DBus provides a Perl API for the DBus message system. The DBus Perl |
---|
27 | interface is currently operating against the 0.33 development version of |
---|
28 | DBus, but should work with later versions too, providing the API changes |
---|
29 | have not been too drastic. |
---|
30 | |
---|
31 | %prep |
---|
32 | %setup -q -n Net-DBus-%{version} |
---|
33 | |
---|
34 | %build |
---|
35 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
36 | make %{?_smp_mflags} |
---|
37 | |
---|
38 | %install |
---|
39 | rm -rf %{buildroot} |
---|
40 | |
---|
41 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
42 | |
---|
43 | find %{buildroot} -type f -name .packlist -exec rm -f {} \; |
---|
44 | find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
45 | find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
46 | |
---|
47 | %{_fixperms} %{buildroot}/* |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf %{buildroot} |
---|
51 | |
---|
52 | %check |
---|
53 | make test |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-,root,root,-) |
---|
57 | %doc AUTHORS CHANGES LICENSE README examples/ |
---|
58 | %{perl_vendorarch}/auto/* |
---|
59 | %{perl_vendorarch}/Net* |
---|
60 | %{_mandir}/man3/* |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Fri Dec 12 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.0-1 |
---|
64 | - updated to 1.0.0 |
---|
65 | - built with perl 5.16.3 |
---|
66 | |
---|
67 | * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.6-3 |
---|
68 | - build with perl 5.12.3 |
---|
69 | - add Vendor and Distribution tags |
---|
70 | |
---|
71 | * Tue Apr 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.33.6-2vl5 |
---|
72 | - rebuilt with perl-5.10.0 |
---|
73 | |
---|
74 | * Sun Apr 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.33.6-1vl5 |
---|
75 | - new upstream release |
---|
76 | |
---|
77 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.33.4-0vl1 |
---|
78 | - initial build for Vine Linux |
---|
79 | |
---|
80 | * Tue Nov 21 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.33.4-3 |
---|
81 | - nix t/30-server.t until the test is fixed |
---|
82 | |
---|
83 | * Sat Nov 11 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.33.4-2 |
---|
84 | - add additional BR's |
---|
85 | - update summary |
---|
86 | |
---|
87 | * Tue Nov 07 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.33.4-1 |
---|
88 | - update to 0.33.4 |
---|
89 | - nix now-unneeded source regexp/tweak |
---|
90 | |
---|
91 | * Sat Nov 04 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.33.3-1 |
---|
92 | - Specfile autogenerated by cpanspec 1.69.1. |
---|