dbusmenu-qt-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  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: 2%{?_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. * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-2
  65. - rebiuld with gcc-5.4.0
  66. * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
  67. - update to 0.9.2
  68. - add BuildRequires: doxygen
  69. * Sat Dec 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.3-1
  70. - new upstream release
  71. * Sat Feb 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.3-1
  72. - new upstream release
  73. - added Patch100
  74. * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-3
  75. - rebuilt with rpm-4.8.1 for pkg-config
  76. * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-2
  77. - initial build for Vine Linux
  78. * Fri Aug 06 2010 Rex Dieter <rdieter@fedoraproject.org> 0.5.2-1
  79. - dbusmenu-qt-0.5.2
  80. * Fri May 21 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.3-1
  81. - dbusmenu-qt-0.3.3
  82. * Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-2
  83. - pkg rename s/libdbusmenu-qt/dbusmenu-qt/
  84. - Provides: libdbusmenu-qt(-devel)
  85. * Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-1
  86. - dbusmenu-qt-0.3.2