]>
Commit | Line | Data |
---|---|---|
d05d9108 MB |
1 | # TODO: |
2 | # - BASH command-not-found functionality disabled for now as it needs patched bash | |
3 | # (details in bash from Fedora Rawhide) | |
aa2113f5 | 4 | # - do not package browser plugin (it's flawed by concept) |
6e66a3a4 | 5 | # - package: gir stuff (invert bcond if works) |
aa2113f5 ER |
6 | # /usr/lib/girepository-1.0/PackageKitGlib-1.0.typelib |
7 | # /usr/share/gir-1.0/PackageKitGlib-1.0.gir | |
6e66a3a4 ER |
8 | # - todo: |
9 | # configure: WARNING: unrecognized options: --disable-ruck | |
d05d9108 MB |
10 | # |
11 | # Conditional build: | |
12 | %bcond_without qt # don't build packagekit-qt library | |
9b8153ef | 13 | %bcond_without doc # build without docs |
6e66a3a4 | 14 | %bcond_with gir # gobject introspection, time to time broken |
dc10d5ba ER |
15 | %bcond_without poldek # build default backend as poldek |
16 | %bcond_with yum # build default backend as yum | |
17 | ||
18 | %if %{with yum} | |
19 | %define backend yum | |
20 | %undefine with_poldek | |
21 | %endif | |
22 | ||
23 | %if %{with poldek} | |
24 | %define backend poldek | |
25 | %undefine with_yum | |
26 | %endif | |
48a22c3c | 27 | |
85d27e4f JB |
28 | Summary: System daemon that is a D-Bus abstraction layer for package management |
29 | Summary(pl.UTF-8): Demon systemowy będący warstwą abstrakcji D-Bus do zarządzania pakietami | |
a2d83637 | 30 | Name: PackageKit |
48a22c3c | 31 | Version: 0.6.8 |
3686cd74 | 32 | Release: 2 |
a2d83637 | 33 | License: GPL v2+ |
85d27e4f | 34 | Group: Applications/System |
74872af2 | 35 | Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.bz2 |
48a22c3c | 36 | # Source0-md5: 47987b91826bd522de1202d5a1e2510d |
d05d9108 | 37 | Patch1: %{name}-PLD.patch |
36ca2380 | 38 | Patch2: bashism.patch |
a2d83637 MB |
39 | URL: http://www.packagekit.org/ |
40 | BuildRequires: NetworkManager-devel >= 0.6.5 | |
d05d9108 MB |
41 | %if %{with qt} |
42 | BuildRequires: QtCore-devel >= 4.4.0 | |
43 | BuildRequires: QtDBus-devel >= 4.4.0 | |
44 | BuildRequires: QtGui-devel >= 4.4.0 | |
27e89cfe MB |
45 | BuildRequires: QtSql-devel >= 4.4.0 |
46 | BuildRequires: QtXml-devel >= 4.4.0 | |
d05d9108 | 47 | %endif |
600be41c | 48 | BuildRequires: autoconf >= 2.65 |
a2d83637 | 49 | BuildRequires: automake |
d05d9108 | 50 | %{?with_qt:BuildRequires: cppunit-devel} |
6808f644 | 51 | BuildRequires: dbus-devel >= 1.2.0 |
f5f5e3ff | 52 | BuildRequires: dbus-glib-devel >= 0.76 |
bdd8c0ca | 53 | BuildRequires: docbook-dtd412-xml |
54 | BuildRequires: docbook-dtd42-xml | |
a2d83637 | 55 | BuildRequires: gettext-devel |
9ed4ca79 | 56 | BuildRequires: glib2-devel >= 1:2.22.0 |
d05d9108 MB |
57 | BuildRequires: gstreamer-plugins-base-devel |
58 | BuildRequires: gtk+2-devel >= 2:2.14.0 | |
9b8153ef | 59 | %{?with_doc:BuildRequires: gtk-doc >= 1.9} |
d05d9108 | 60 | BuildRequires: intltool >= 0.35.0 |
78293e06 | 61 | BuildRequires: libarchive-devel |
a2d83637 MB |
62 | BuildRequires: libtool |
63 | BuildRequires: pkgconfig | |
bdd8c0ca | 64 | BuildRequires: pm-utils |
dc10d5ba | 65 | %{?with_poldek:BuildRequires: poldek-devel >= 0.30-0.20080820.23.20} |
9ed4ca79 | 66 | BuildRequires: polkit-devel >= 0.92 |
a2d83637 | 67 | BuildRequires: python-devel |
d05d9108 | 68 | %{?with_qt:BuildRequires: qt4-build >= 4.4.0} |
bdd8c0ca | 69 | BuildRequires: readline-devel |
a2d83637 | 70 | BuildRequires: rpm-pythonprov |
85d27e4f | 71 | BuildRequires: rpmbuild(macros) >= 1.311 |
a2d83637 | 72 | BuildRequires: sqlite3-devel |
9ed4ca79 | 73 | BuildRequires: udev-glib-devel |
bdd8c0ca | 74 | BuildRequires: xorg-lib-libXt-devel |
d05d9108 | 75 | BuildRequires: xulrunner-devel |
fcd0bc5c | 76 | Requires(post,postun): shared-mime-info |
a2d83637 | 77 | Requires: %{name}-libs = %{version}-%{release} |
9ed4ca79 | 78 | Requires: ConsoleKit |
8d48627e | 79 | Requires: crondaemon |
74bd9a1f ER |
80 | %if %{with poldek} |
81 | Requires: poldek >= 0.30-0.20080820.23.20} | |
82 | %endif | |
83 | %if %{with yum} | |
84 | Requires: python-packagekit = %{version}-%{release} | |
85 | Requires: yum | |
86 | %endif | |
9ed4ca79 | 87 | Requires: polkit >= 0.92 |
a2d83637 MB |
88 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
89 | ||
90 | %description | |
91 | PackageKit is a D-Bus abstraction layer that allows the session user | |
92 | to manage packages in a secure way using a cross-distro, | |
93 | cross-architecture API. | |
94 | ||
85d27e4f JB |
95 | %description -l pl.UTF-8 |
96 | PackageKit to warstwa abstrakcji D-Bus pozwalająca użytkownikowi | |
97 | sesyjnemu w bezpieczny sposob zarządzać pakietami przy użyciu API | |
98 | zgodnego z wieloma dystrybucjami i architekturami. | |
99 | ||
a2d83637 | 100 | %package libs |
d05d9108 MB |
101 | Summary: packagekit-glib library |
102 | Summary(pl.UTF-8): Biblioteka packagekit-glib | |
a2d83637 | 103 | Group: Libraries |
9ed4ca79 | 104 | Requires: glib2 >= 1:2.22.0 |
a2d83637 MB |
105 | |
106 | %description libs | |
d05d9108 | 107 | packagekit-glib library. |
a2d83637 MB |
108 | |
109 | %description libs -l pl.UTF-8 | |
d05d9108 | 110 | Biblioteka packagekit-glib. |
a2d83637 MB |
111 | |
112 | %package devel | |
d05d9108 MB |
113 | Summary: Header files for packagekit-glib library |
114 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki packagekit-glib | |
a2d83637 MB |
115 | Group: Development/Libraries |
116 | Requires: %{name}-libs = %{version}-%{release} | |
9ed4ca79 MB |
117 | Requires: dbus-devel >= 1.2.0 |
118 | Requires: glib2-devel >= 1:2.22.0 | |
119 | Requires: sqlite3-devel | |
a2d83637 MB |
120 | |
121 | %description devel | |
d05d9108 | 122 | Header files for packagekit-glib library. |
a2d83637 MB |
123 | |
124 | %description devel -l pl.UTF-8 | |
d05d9108 | 125 | Pliki nagłówkowe biblioteki packagekit-glib. |
a2d83637 MB |
126 | |
127 | %package static | |
d05d9108 MB |
128 | Summary: Static packagekit-glib library |
129 | Summary(pl.UTF-8): Statyczna biblioteka packagekit-glib | |
a2d83637 MB |
130 | Group: Development/Libraries |
131 | Requires: %{name}-devel = %{version}-%{release} | |
132 | ||
133 | %description static | |
d05d9108 | 134 | Static packagekit-glib library. |
a2d83637 MB |
135 | |
136 | %description static -l pl.UTF-8 | |
d05d9108 MB |
137 | Statyczna biblioteka packagekit-glib. |
138 | ||
139 | %package qt | |
140 | Summary: packagekit-qt library | |
141 | Summary(pl.UTF-8): Biblioteka packagekit-qt | |
142 | Group: Libraries | |
143 | Obsoletes: qpackagekit | |
144 | ||
145 | %description qt | |
146 | packagekit-qt library. | |
147 | ||
148 | %description qt -l pl.UTF-8 | |
149 | Biblioteka packagekit-qt. | |
150 | ||
151 | %package qt-devel | |
152 | Summary: Header files for packagekit-qt library | |
153 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki packagekit-qt | |
154 | Group: Development/Libraries | |
155 | Requires: %{name}-qt = %{version}-%{release} | |
27e89cfe MB |
156 | Requires: QtCore-devel >= 4.4.0 |
157 | Requires: QtDBus-devel >= 4.4.0 | |
158 | Requires: QtGui-devel >= 4.4.0 | |
159 | Requires: QtSql-devel >= 4.4.0 | |
160 | Requires: QtXml-devel >= 4.4.0 | |
d05d9108 MB |
161 | Obsoletes: qpackagekit-devel |
162 | ||
163 | %description qt-devel | |
164 | Header files for packagekit-qt library. | |
165 | ||
166 | %description qt-devel -l pl.UTF-8 | |
167 | Pliki nagłówkowe biblioteki packagekit-qt. | |
168 | ||
169 | %package qt-static | |
170 | Summary: Static packagekit-qt library | |
171 | Summary(pl.UTF-8): Statyczna biblioteka packagekit-qt | |
172 | Group: Development/Libraries | |
173 | Requires: %{name}-qt-devel = %{version}-%{release} | |
174 | ||
175 | %description qt-static | |
176 | Static packagekit-qt library. | |
177 | ||
178 | %description qt-static -l pl.UTF-8 | |
179 | Statyczna biblioteka packagekit-qt. | |
a2d83637 MB |
180 | |
181 | %package apidocs | |
182 | Summary: PackageKit library API documentation | |
183 | Summary(pl.UTF-8): Dokumentacja API biblioteki PackageKit | |
184 | Group: Documentation | |
185 | Requires: gtk-doc-common | |
186 | ||
187 | %description apidocs | |
188 | PackageKit library API documentation. | |
189 | ||
190 | %description apidocs -l pl.UTF-8 | |
191 | Dokumentacja API biblioteki PackageKit. | |
192 | ||
d05d9108 MB |
193 | %package docs |
194 | Summary: PackageKit documentation | |
195 | Summary(pl.UTF-8): Dokumentacja PackageKit | |
196 | Group: Documentation | |
197 | ||
198 | %description docs | |
199 | PackageKit documentation. | |
200 | ||
201 | %description docs -l pl.UTF-8 | |
202 | Dokumentacja PackageKit. | |
203 | ||
204 | %package gstreamer-plugin | |
205 | Summary: GStreamer codecs installer | |
206 | Summary(pl.UTF-8): Instalator kodeków GStreamera | |
207 | Group: Applications | |
208 | Requires: %{name} = %{version}-%{release} | |
5baab3aa | 209 | Requires: %{name}-gtk-module = %{version}-%{release} |
d05d9108 MB |
210 | |
211 | %description gstreamer-plugin | |
212 | The PackageKit GStreamer plugin allows any GStreamer application to | |
213 | install codecs from configured repositories using PackageKit. | |
214 | ||
215 | %description gstreamer-plugin -l pl.UTF-8 | |
216 | Wtyczka GStreamer pozwala każdej aplikacji używającej GStreamera | |
217 | zainstalować kodeki ze skonfigurowanych źródeł PackageKit. | |
218 | ||
219 | %package gtk-module | |
220 | Summary: GTK+ module to detect and install missing fonts | |
221 | Summary(pl.UTF-8): Moduł GTK+ do wykrywania i instalowania brakujących czcionek | |
222 | Group: X11/Libraries | |
223 | ||
224 | %description gtk-module | |
225 | The PackageKit GTK+ module allows any pango application to install | |
226 | missing fonts from configured repositories using PackageKit. | |
227 | ||
228 | %description gtk-module -l pl.UTF-8 | |
229 | Moduł GTK+ pozwala każdej aplikacji używającej pango zainstalować | |
230 | brakującą czcionkę ze skonfigurowanych źródeł PackageKit. | |
231 | ||
a2d83637 MB |
232 | %package -n bash-completion-packagekit |
233 | Summary: bash-completion for PackageKit | |
234 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla PackageKit | |
235 | Group: Applications/Shells | |
236 | Requires: bash-completion | |
237 | ||
238 | %description -n bash-completion-packagekit | |
239 | This package provides bash-completion for PackageKit. | |
240 | ||
241 | %description -n bash-completion-packagekit -l pl.UTF-8 | |
242 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla PackageKit. | |
243 | ||
244 | %package -n pm-utils-packagekit | |
245 | Summary: PackageKit script for pm-utils | |
85d27e4f | 246 | Summary(pl.UTF-8): Skrypt PackageKit dla pm-utils |
a2d83637 MB |
247 | Group: Applications/System |
248 | Requires: pm-utils | |
249 | ||
250 | %description -n pm-utils-packagekit | |
251 | PackageKit script for pm-utils. | |
252 | ||
85d27e4f JB |
253 | %description -n pm-utils-packagekit -l pl.UTF-8 |
254 | Skrypt PackageKit dla pm-utils. | |
255 | ||
a2d83637 MB |
256 | %package -n python-packagekit |
257 | Summary: PackageKit Python bindings | |
258 | Summary(pl.UTF-8): Wiązania PackageKit dla Pythona | |
259 | Group: Development/Languages/Python | |
260 | Requires: python-dbus | |
261 | Requires: python-pygobject | |
262 | ||
263 | %description -n python-packagekit | |
264 | PackageKit Python bindings. | |
265 | ||
86086d14 | 266 | %description -n python-packagekit -l pl.UTF-8 |
a2d83637 MB |
267 | Wiązania PackageKit dla Pythona. |
268 | ||
269 | %prep | |
270 | %setup -q | |
d05d9108 | 271 | %patch1 -p1 |
36ca2380 | 272 | %patch2 -p1 |
a2d83637 MB |
273 | |
274 | %build | |
9b8153ef | 275 | %if %{with doc} |
d05d9108 | 276 | %{__gtkdocize} |
d5617342 | 277 | %endif |
58e98be4 | 278 | %{__intltoolize} |
a2d83637 | 279 | %{__libtoolize} |
d05d9108 | 280 | %{__aclocal} -I m4 |
a2d83637 MB |
281 | %{__autoconf} |
282 | %{__autoheader} | |
283 | %{__automake} | |
284 | %configure \ | |
d05d9108 MB |
285 | --disable-dummy \ |
286 | --disable-ruck \ | |
287 | --disable-command-not-found \ | |
aa2113f5 | 288 | --disable-browser-plugin \ |
6e66a3a4 | 289 | %{!?with_gir:--disable-introspection} \ |
dc10d5ba | 290 | %{?with_poldek:--enable-poldek} \ |
6e66a3a4 | 291 | %{?with_yum:--enable-yum} \ |
9b8153ef | 292 | --%{!?with_doc:dis}%{?with_doc:en}able-gtk-doc \ |
d05d9108 | 293 | --%{?with_qt:en}%{!?with_qt:dis}able-qt \ |
fcd0bc5c | 294 | --with-html-dir=%{_gtkdocdir} \ |
dc10d5ba | 295 | --with-default-backend=%{backend} |
a2d83637 MB |
296 | %{__make} |
297 | ||
298 | %install | |
299 | rm -rf $RPM_BUILD_ROOT | |
300 | ||
301 | %{__make} install \ | |
302 | DESTDIR=$RPM_BUILD_ROOT | |
303 | ||
d05d9108 MB |
304 | # use pk-gstreamer-install as codec installer |
305 | ln -s pk-gstreamer-install $RPM_BUILD_ROOT%{_libdir}/gst-install-plugins-helper | |
306 | ||
684bfa1d | 307 | install -d $RPM_BUILD_ROOT%{_libdir}/pm-utils/sleep.d |
aa2113f5 | 308 | install -p contrib/pm-utils/95packagekit $RPM_BUILD_ROOT%{_libdir}/pm-utils/sleep.d |
684bfa1d | 309 | |
d05d9108 MB |
310 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{la,a} |
311 | rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.{la,a} | |
a2d83637 | 312 | rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.{la,a} |
d05d9108 | 313 | rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/libpk_backend_test_*.so |
f058dba9 | 314 | rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.{la,a} |
d05d9108 MB |
315 | rm -f $RPM_BUILD_ROOT%{_libdir}/PackageKitDbusTest.py |
316 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit{Apt,Test}Backend.conf | |
317 | rm -f $RPM_BUILD_ROOT%{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit{Apt,Test}Backend.service | |
318 | rm -rf $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/test_spawn | |
a2d83637 | 319 | |
8c9d69e0 ER |
320 | %if %{with yum} |
321 | # yumBackend.py can't be compiled (invoked directly), other should be compiled | |
322 | %py_comp $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum | |
323 | %py_ocomp $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum | |
324 | rm -f $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum/yum{Comps,Filter}.py | |
325 | rm -f $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/yum/yumBackend.py[co] | |
326 | %endif | |
327 | ||
a2d83637 MB |
328 | %py_postclean |
329 | ||
6808f644 MB |
330 | %find_lang %{name} |
331 | ||
a2d83637 MB |
332 | %clean |
333 | rm -rf $RPM_BUILD_ROOT | |
334 | ||
fcd0bc5c MB |
335 | %post |
336 | %update_mime_database | |
337 | ||
338 | %postun | |
339 | %update_mime_database | |
340 | ||
85d27e4f | 341 | %post libs -p /sbin/ldconfig |
a2d83637 MB |
342 | %postun libs -p /sbin/ldconfig |
343 | ||
d05d9108 MB |
344 | %post qt -p /sbin/ldconfig |
345 | %postun qt -p /sbin/ldconfig | |
346 | ||
6808f644 | 347 | %files -f %{name}.lang |
a2d83637 MB |
348 | %defattr(644,root,root,755) |
349 | %doc AUTHORS ChangeLog HACKING NEWS README TODO | |
350 | %attr(755,root,root) %{_bindir}/packagekit-bugreport.sh | |
a2d83637 | 351 | %attr(755,root,root) %{_bindir}/pkcon |
78293e06 | 352 | %attr(755,root,root) %{_bindir}/pkgenpack |
a2d83637 | 353 | %attr(755,root,root) %{_bindir}/pkmon |
a382d619 | 354 | %attr(755,root,root) %{_bindir}/pk-debuginfo-install |
8d48627e | 355 | %attr(750,root,root) /etc/cron.daily/packagekit-background.cron |
a2d83637 | 356 | %dir %{_libdir}/packagekit-backend |
f058dba9 | 357 | %attr(755,root,root) %{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.so |
aa2113f5 | 358 | %attr(755,root,root) %{_libdir}/packagekitd |
9ed4ca79 | 359 | %attr(755,root,root) %{_sbindir}/pk-device-rebind |
a2d83637 MB |
360 | %dir %{_sysconfdir}/PackageKit |
361 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/PackageKit.conf | |
d05d9108 | 362 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/Vendor.conf |
5baab3aa ER |
363 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/packagekit-background |
364 | /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf | |
d05d9108 | 365 | %dir %{_datadir}/PackageKit |
6e66a3a4 | 366 | %dir %{_datadir}/PackageKit/helpers |
d05d9108 | 367 | %attr(755,root,root) %{_datadir}/PackageKit/pk-upgrade-distro.sh |
f058dba9 | 368 | %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy |
a2d83637 | 369 | %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service |
d05d9108 | 370 | %{_datadir}/mime/packages/packagekit-catalog.xml |
08c67dac | 371 | %{_datadir}/mime/packages/packagekit-package-list.xml |
372 | %{_datadir}/mime/packages/packagekit-servicepack.xml | |
a2d83637 | 373 | %{_mandir}/man1/pkcon.1* |
f058dba9 | 374 | %{_mandir}/man1/pk-debuginfo-install.1* |
9ed4ca79 | 375 | %{_mandir}/man1/pk-device-rebind.1* |
78293e06 MB |
376 | %{_mandir}/man1/pkgenpack.1* |
377 | %{_mandir}/man1/pkmon.1* | |
378 | %dir /var/cache/PackageKit | |
379 | %dir /var/cache/PackageKit/downloads | |
a2d83637 | 380 | %dir /var/lib/PackageKit |
d05d9108 | 381 | %ghost /var/lib/PackageKit/transactions.db |
a2d83637 | 382 | |
6e66a3a4 ER |
383 | # backend: poldek |
384 | %if %{with poldek} | |
385 | %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so | |
386 | %endif | |
387 | ||
388 | # backend: yum | |
389 | %if %{with yum} | |
390 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/Yum.conf | |
391 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf | |
392 | %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_yum.so | |
8c9d69e0 | 393 | %{_prefix}/lib/yum-plugins/refresh-packagekit.py |
6e66a3a4 ER |
394 | %dir %{_datadir}/PackageKit/helpers/yum |
395 | %{_datadir}/PackageKit/helpers/yum/licenses.txt | |
396 | %{_datadir}/PackageKit/helpers/yum/yum-comps-groups.conf | |
8c9d69e0 ER |
397 | %attr(755,root,root) %{_datadir}/PackageKit/helpers/yum/yumBackend.py |
398 | %{_datadir}/PackageKit/helpers/yum/yumComps.py[co] | |
399 | %{_datadir}/PackageKit/helpers/yum/yumFilter.py[co] | |
6e66a3a4 ER |
400 | %endif |
401 | ||
a2d83637 MB |
402 | %files libs |
403 | %defattr(644,root,root,755) | |
74872af2 | 404 | %attr(755,root,root) %{_libdir}/libpackagekit-glib2.so.*.*.* |
aa2113f5 | 405 | %attr(755,root,root) %ghost %{_libdir}/libpackagekit-glib2.so.14 |
08c67dac | 406 | |
a2d83637 MB |
407 | %files devel |
408 | %defattr(644,root,root,755) | |
74872af2 | 409 | %attr(755,root,root) %{_libdir}/libpackagekit-glib2.so |
74872af2 | 410 | %{_libdir}/libpackagekit-glib2.la |
74872af2 | 411 | %{_pkgconfigdir}/packagekit-glib2.pc |
d05d9108 MB |
412 | %dir %{_includedir}/PackageKit |
413 | %{_includedir}/PackageKit/backend | |
74872af2 | 414 | %{_includedir}/PackageKit/packagekit-glib2 |
08c67dac | 415 | |
a2d83637 MB |
416 | %files static |
417 | %defattr(644,root,root,755) | |
74872af2 | 418 | %{_libdir}/libpackagekit-glib2.a |
d05d9108 | 419 | |
5424bc1f | 420 | %if %{with qt} |
d05d9108 MB |
421 | %files qt |
422 | %defattr(644,root,root,755) | |
423 | %attr(755,root,root) %{_libdir}/libpackagekit-qt.so.*.*.* | |
aa2113f5 | 424 | %attr(755,root,root) %ghost %{_libdir}/libpackagekit-qt.so.14 |
d05d9108 MB |
425 | |
426 | %files qt-devel | |
427 | %defattr(644,root,root,755) | |
428 | %attr(755,root,root) %{_libdir}/libpackagekit-qt.so | |
429 | %{_libdir}/libpackagekit-qt.la | |
430 | %{_pkgconfigdir}/packagekit-qt.pc | |
431 | %{_includedir}/PackageKit/packagekit-qt | |
432 | %{_datadir}/cmake/Modules/FindQPackageKit.cmake | |
433 | ||
434 | %files qt-static | |
435 | %defattr(644,root,root,755) | |
08c67dac | 436 | %{_libdir}/libpackagekit-qt.a |
5424bc1f | 437 | %endif |
a2d83637 MB |
438 | |
439 | %files apidocs | |
440 | %defattr(644,root,root,755) | |
441 | %{_gtkdocdir}/PackageKit | |
442 | ||
d05d9108 MB |
443 | %files docs |
444 | %defattr(644,root,root,755) | |
445 | %{_datadir}/PackageKit/website | |
446 | ||
447 | %files gstreamer-plugin | |
448 | %defattr(644,root,root,755) | |
449 | %doc contrib/gstreamer-plugin/README | |
450 | %attr(755,root,root) %{_libdir}/gst-install-plugins-helper | |
451 | %attr(755,root,root) %{_libdir}/pk-gstreamer-install | |
452 | ||
453 | %files gtk-module | |
454 | %defattr(644,root,root,755) | |
455 | %doc contrib/gtk-module/{GLASS.txt,README} | |
456 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libpk-gtk-module.so | |
457 | ||
a2d83637 MB |
458 | %files -n bash-completion-packagekit |
459 | %defattr(644,root,root,755) | |
460 | %{_sysconfdir}/bash_completion.d/pk-completion.bash | |
461 | ||
462 | %files -n pm-utils-packagekit | |
463 | %defattr(644,root,root,755) | |
d05d9108 | 464 | %attr(755,root,root) %{_libdir}/pm-utils/sleep.d/95packagekit |
a2d83637 MB |
465 | |
466 | %files -n python-packagekit | |
467 | %defattr(644,root,root,755) | |
468 | %dir %{py_sitescriptdir}/packagekit | |
469 | %{py_sitescriptdir}/packagekit/*.py[co] |