dbusmenu-qt-vl.spec 2.7 KB

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