perl-Net-DBus-vl.spec 2.1 KB

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