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