]>
Commit | Line | Data |
---|---|---|
2a28b7af | 1 | Summary: Qt implementation of the DBusMenu spec |
2 | Summary(pl.UTF-8): Implementacja Qt specyfikacji DBusMenu | |
3 | Name: libdbusmenu-qt | |
5ee90197 JB |
4 | Version: 0.9.2 |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
8 | Source0: https://launchpad.net/libdbusmenu-qt/trunk/%{version}/+download/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 9a49484927669cd2ec91b3bf9ba8b79e | |
10 | URL: https://launchpad.net/libdbusmenu-qt/ | |
11 | BuildRequires: QtCore-devel >= 4 | |
12 | BuildRequires: QtDBus-devel >= 4 | |
13 | # for <QtGui/QKeySequence> | |
14 | BuildRequires: QtGui-devel >= 4 | |
2a28b7af | 15 | BuildRequires: cmake >= 2.8.0 |
5ee90197 | 16 | BuildRequires: doxygen |
039ff1c9 | 17 | BuildRequires: libstdc++-devel |
2a28b7af | 18 | BuildRequires: pkgconfig |
38dcfff8 | 19 | BuildRequires: qjson-devel >= 0.7.1 |
5ee90197 JB |
20 | BuildRequires: qt4-build >= 4 |
21 | BuildRequires: qt4-qmake >= 4 | |
22 | BuildRequires: rpmbuild(macros) >= 1.605 | |
2a28b7af | 23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
24 | ||
25 | %description | |
26 | This library provides a Qt implementation of the DBusMenu spec. | |
27 | ||
28 | %description -l pl.UTF-8 | |
83652f35 | 29 | Ta biblioteka dostarcza implementację Qt specyfikacji DBusMenu. |
2a28b7af | 30 | |
31 | %package devel | |
32 | Summary: Header files for dbusmenu-qt library | |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dbusmenu-qt | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version}-%{release} | |
5ee90197 JB |
36 | Requires: QtCore-devel >= 4 |
37 | Requires: QtDBus-devel >= 4 | |
2a28b7af | 38 | |
39 | %description devel | |
40 | Header files for dbusmenu-qt library. | |
41 | ||
42 | %description devel -l pl.UTF-8 | |
43 | Pliki nagłówkowe biblioteki dbusmenu-qt. | |
44 | ||
47bc6aee AF |
45 | %package apidocs |
46 | Summary: dbusmenu-qt API documentation | |
47 | Summary(pl.UTF-8): Dokumentacja API biblioteki dbusmenu-qt | |
48 | Group: Documentation | |
49 | ||
50 | %description apidocs | |
5ee90197 | 51 | API documentation for dbusmenu-qt library. |
47bc6aee AF |
52 | |
53 | %description apidocs -l pl.UTF-8 | |
54 | Dokumentacja API biblioteki dbusmenu-qt. | |
55 | ||
2a28b7af | 56 | %prep |
57 | %setup -q | |
58 | ||
59 | %build | |
60 | install -d build | |
61 | cd build | |
5ee90197 | 62 | %cmake .. |
2a28b7af | 63 | |
64 | %{__make} | |
65 | ||
66 | %install | |
67 | rm -rf $RPM_BUILD_ROOT | |
68 | ||
69 | %{__make} -C build install \ | |
70 | DESTDIR=$RPM_BUILD_ROOT | |
71 | ||
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
983599ba | 75 | %post -p /sbin/ldconfig |
76 | %postun -p /sbin/ldconfig | |
77 | ||
2a28b7af | 78 | %files |
79 | %defattr(644,root,root,755) | |
5ee90197 | 80 | %doc NEWS README |
2a28b7af | 81 | %attr(755,root,root) %{_libdir}/libdbusmenu-qt.so.*.*.* |
a9beb261 | 82 | %attr(755,root,root) %ghost %{_libdir}/libdbusmenu-qt.so.2 |
2a28b7af | 83 | |
84 | %files devel | |
85 | %defattr(644,root,root,755) | |
86 | %attr(755,root,root) %{_libdir}/libdbusmenu-qt.so | |
87 | %{_includedir}/dbusmenu-qt | |
039ff1c9 | 88 | %{_pkgconfigdir}/dbusmenu-qt.pc |
47bc6aee AF |
89 | |
90 | %files apidocs | |
91 | %defattr(644,root,root,755) | |
92 | %{_docdir}/dbusmenu-qt |