perl-Net-DBus-vl.spec 2.4 KB

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