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