perl-Net-DBus-GLib-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. Name: perl-Net-DBus-GLib
  2. Version: 0.33.0
  3. Release: 2%{?_dist_release}
  4. Summary: Perl extension for the DBus GLib bindings
  5. License: GPLv2+ or Artistic
  6. Group: Development/Libraries
  7. URL: http://search.cpan.org/dist/Net-DBus-GLib/
  8. Source0: http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-GLib-%{version}.tar.gz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  10. BuildRequires: perl(ExtUtils::MakeMaker)
  11. BuildRequires: perl(Glib)
  12. BuildRequires: perl(Net::DBus) >= 0.33.0
  13. BuildRequires: perl(Test::More)
  14. BuildRequires: perl(Test::Pod)
  15. BuildRequires: perl(Test::Pod::Coverage)
  16. BuildRequires: dbus-glib-devel
  17. Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. Net::DBus::GLib provides an extension to the Net::DBus module allowing
  22. integration with the GLib mainloop. To integrate with the main loop, simply
  23. get a connection to the bus via the methods in Net::DBus::GLib rather than
  24. the usual Net::DBus module. That's it - every other API remains the same.
  25. %prep
  26. %setup -q -n Net-DBus-GLib-%{version}
  27. %build
  28. %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. %{__rm} -rf $RPM_BUILD_ROOT
  32. %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
  33. find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
  34. find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
  35. find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
  36. %{_fixperms} $RPM_BUILD_ROOT/*
  37. %check
  38. %{__make} test
  39. %clean
  40. %{__rm} -rf $RPM_BUILD_ROOT
  41. %files
  42. %defattr(-,root,root,-)
  43. %doc AUTHORS CHANGES LICENSE README examples/
  44. %{perl_vendorarch}/auto/*
  45. %{perl_vendorarch}/Net*
  46. %{_mandir}/man3/*
  47. %changelog
  48. * Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-2
  49. - build with perl 5.12.3
  50. - add Vendor and Distribution tags
  51. * Sat Oct 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-1
  52. - initial build for Vine Linux
  53. * Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33.0-5
  54. - Mass rebuild with perl-5.12.0
  55. * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.33.0-4
  56. - rebuild against perl 5.10.1
  57. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-3
  58. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  59. * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-2
  60. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  61. * Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 0.33.0-1
  62. - Initial rpm release.