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 | |
---|
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 |
---|
18 | BuildRequires: doxygen |
---|
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} |
---|
31 | Summary(ja): %{name} 開発用ファイル |
---|
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 |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
54 | |
---|
55 | rm -rf included_docs |
---|
56 | mkdir included_docs |
---|
57 | mv $RPM_BUILD_ROOT%{_docdir}/dbusmenu-qt/* included_docs |
---|
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 |
---|
68 | rm -rf $RPM_BUILD_ROOT |
---|
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,-) |
---|
83 | %doc included_docs/* |
---|
84 | %{_includedir}/dbusmenu-qt/ |
---|
85 | %{_libdir}/libdbusmenu-qt.so |
---|
86 | %{_libdir}/pkgconfig/dbusmenu-qt.pc |
---|
87 | |
---|
88 | %changelog |
---|
89 | * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-2 |
---|
90 | - rebiuld with gcc-5.4.0 |
---|
91 | |
---|
92 | * Sun Jul 07 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1 |
---|
93 | - update to 0.9.2 |
---|
94 | - add BuildRequires: doxygen |
---|
95 | |
---|
96 | * Sat Dec 10 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.8.3-1 |
---|
97 | - new upstream release |
---|
98 | |
---|
99 | * Sat Feb 12 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.3-1 |
---|
100 | - new upstream release |
---|
101 | - added Patch100 |
---|
102 | |
---|
103 | * Sun Sep 26 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-3 |
---|
104 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
105 | |
---|
106 | * Sun Aug 15 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.5.2-2 |
---|
107 | - initial build for Vine Linux |
---|
108 | |
---|
109 | * Fri Aug 06 2010 Rex Dieter <rdieter@fedoraproject.org> 0.5.2-1 |
---|
110 | - dbusmenu-qt-0.5.2 |
---|
111 | |
---|
112 | * Fri May 21 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.3-1 |
---|
113 | - dbusmenu-qt-0.3.3 |
---|
114 | |
---|
115 | * Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-2 |
---|
116 | - pkg rename s/libdbusmenu-qt/dbusmenu-qt/ |
---|
117 | - Provides: libdbusmenu-qt(-devel) |
---|
118 | |
---|
119 | * Sun Apr 25 2010 Rex Dieter <rdieter@fedoraproject.org> 0.3.2-1 |
---|
120 | - dbusmenu-qt-0.3.2 |
---|
121 | |
---|