1 | Name: perl-Net-DBus-GLib |
---|
2 | Version: 0.33.0 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Perl extension for the DBus GLib bindings |
---|
5 | License: GPLv2+ or Artistic |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/Net-DBus-GLib/ |
---|
8 | Source0: http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-GLib-%{version}.tar.gz |
---|
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
10 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
11 | BuildRequires: perl(Glib) |
---|
12 | BuildRequires: perl(Net::DBus) >= 0.33.0 |
---|
13 | BuildRequires: perl(Test::More) |
---|
14 | BuildRequires: perl(Test::Pod) |
---|
15 | BuildRequires: perl(Test::Pod::Coverage) |
---|
16 | BuildRequires: dbus-glib-devel |
---|
17 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | |
---|
22 | %description |
---|
23 | Net::DBus::GLib provides an extension to the Net::DBus module allowing |
---|
24 | integration with the GLib mainloop. To integrate with the main loop, simply |
---|
25 | get a connection to the bus via the methods in Net::DBus::GLib rather than |
---|
26 | the usual Net::DBus module. That's it - every other API remains the same. |
---|
27 | |
---|
28 | %prep |
---|
29 | %setup -q -n Net-DBus-GLib-%{version} |
---|
30 | |
---|
31 | %build |
---|
32 | %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" |
---|
33 | %{__make} %{?_smp_mflags} |
---|
34 | |
---|
35 | %install |
---|
36 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
37 | |
---|
38 | %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
39 | |
---|
40 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
41 | find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
42 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; |
---|
43 | |
---|
44 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
45 | |
---|
46 | %check |
---|
47 | %{__make} test |
---|
48 | |
---|
49 | %clean |
---|
50 | %{__rm} -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | %files |
---|
53 | %defattr(-,root,root,-) |
---|
54 | %doc AUTHORS CHANGES LICENSE README examples/ |
---|
55 | %{perl_vendorarch}/auto/* |
---|
56 | %{perl_vendorarch}/Net* |
---|
57 | %{_mandir}/man3/* |
---|
58 | |
---|
59 | %changelog |
---|
60 | * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-2 |
---|
61 | - build with perl 5.12.3 |
---|
62 | - add Vendor and Distribution tags |
---|
63 | |
---|
64 | * Sat Oct 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-1 |
---|
65 | - initial build for Vine Linux |
---|
66 | |
---|
67 | * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33.0-5 |
---|
68 | - Mass rebuild with perl-5.12.0 |
---|
69 | |
---|
70 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.33.0-4 |
---|
71 | - rebuild against perl 5.10.1 |
---|
72 | |
---|
73 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-3 |
---|
74 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
75 | |
---|
76 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-2 |
---|
77 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
78 | |
---|
79 | * Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 0.33.0-1 |
---|
80 | - Initial rpm release. |
---|