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