dbusmenu-qt-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Name: dbusmenu-qt
  2. Summary: A Qt implementation of the DBusMenu protocol
  3. Summary(ja): Qt で実装された DBusMenu プロトコル
  4. Version: 0.9.2
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: LGPLv2+
  8. URL: https://launchpad.net/libdbusmenu-qt/
  9. Source0: http://launchpad.net/libdbusmenu-qt/trunk/%{version}/+download/libdbusmenu-qt-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: cmake
  12. BuildRequires: pkgconfig
  13. BuildRequires: qjson-devel
  14. BuildRequires: qt4-devel
  15. BuildRequires: doxygen
  16. Provides: libdbusmenu-qt = %{version}-%{release}
  17. %description
  18. This library provides a Qt implementation of the DBusMenu protocol.
  19. The DBusMenu protocol makes it possible for applications to export and import
  20. their menus over DBus.
  21. %package devel
  22. Summary: Development files for %{name}
  23. Summary(ja): %{name} 開発用ファイル
  24. Group: Development/Libraries
  25. Requires: %{name} = %{version}-%{release}
  26. Provides: libdbusmenu-devel = %{version}-%{release}
  27. %description devel
  28. %{summary}.
  29. %prep
  30. %setup -q -n libdbusmenu-qt-%{version}
  31. %build
  32. mkdir -p %{_target_platform}
  33. pushd %{_target_platform}
  34. %cmake ..
  35. popd
  36. make %{?_smp_mflags} -C %{_target_platform}
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  40. rm -rf included_docs
  41. mkdir included_docs
  42. mv $RPM_BUILD_ROOT%{_docdir}/dbusmenu-qt/* included_docs
  43. %check
  44. # verify pkg-config version
  45. export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
  46. test "$(pkg-config --modversion dbusmenu-qt)" = "%{version}"
  47. # unfortunately, most of these require an active X/dbus session
  48. make -C %{_target_platform}/tests check ||:
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post -p /sbin/ldconfig
  52. %postun -p /sbin/ldconfig
  53. %files
  54. %defattr(-,root,root,-)
  55. %doc COPYING README
  56. %{_libdir}/libdbusmenu-qt.so.2*
  57. %files devel
  58. %defattr(-,root,root,-)
  59. %doc included_docs/*
  60. %{_includedir}/dbusmenu-qt/
  61. %{_libdir}/libdbusmenu-qt.so
  62. %{_libdir}/pkgconfig/dbusmenu-qt.pc
  63. %changelog
  64. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
  65. - update to 0.9.2
  66. - add BuildRequires: doxygen
  67. * Sat Dec 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.3-1
  68. - new upstream release
  69. * Sat Feb 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.3-1
  70. - new upstream release
  71. - added Patch100
  72. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-3
  73. - rebuilt with rpm-4.8.1 for pkg-config
  74. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-2
  75. - initial build for Vine Linux
  76. * Fri Aug 06 2010 Rex Dieter <rdieter@fedoraproject.org> 0.5.2-1
  77. - dbusmenu-qt-0.5.2
  78. * Fri May 21 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.3-1
  79. - dbusmenu-qt-0.3.3
  80. * Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-2
  81. - pkg rename s/libdbusmenu-qt/dbusmenu-qt/
  82. - Provides: libdbusmenu-qt(-devel)
  83. * Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-1
  84. - dbusmenu-qt-0.3.2