perl-Net-DBus-vl.spec 2.6 KB

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