]>
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 |
dc10d5ba | 80 | %{?with_poldek:Requires: poldek >= 0.30-0.20080820.23.20} |
9ed4ca79 | 81 | Requires: polkit >= 0.92 |
a2d83637 MB |
82 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
83 | ||
84 | %description | |
85 | PackageKit is a D-Bus abstraction layer that allows the session user | |
86 | to manage packages in a secure way using a cross-distro, | |
87 | cross-architecture API. | |
88 | ||
85d27e4f JB |
89 | %description -l pl.UTF-8 |
90 | PackageKit to warstwa abstrakcji D-Bus pozwalająca użytkownikowi | |
91 | sesyjnemu w bezpieczny sposob zarządzać pakietami przy użyciu API | |
92 | zgodnego z wieloma dystrybucjami i architekturami. | |
93 | ||
a2d83637 | 94 | %package libs |
d05d9108 MB |
95 | Summary: packagekit-glib library |
96 | Summary(pl.UTF-8): Biblioteka packagekit-glib | |
a2d83637 | 97 | Group: Libraries |
9ed4ca79 | 98 | Requires: glib2 >= 1:2.22.0 |
a2d83637 MB |
99 | |
100 | %description libs | |
d05d9108 | 101 | packagekit-glib library. |
a2d83637 MB |
102 | |
103 | %description libs -l pl.UTF-8 | |
d05d9108 | 104 | Biblioteka packagekit-glib. |
a2d83637 MB |
105 | |
106 | %package devel | |
d05d9108 MB |
107 | Summary: Header files for packagekit-glib library |
108 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki packagekit-glib | |
a2d83637 MB |
109 | Group: Development/Libraries |
110 | Requires: %{name}-libs = %{version}-%{release} | |
9ed4ca79 MB |
111 | Requires: dbus-devel >= 1.2.0 |
112 | Requires: glib2-devel >= 1:2.22.0 | |
113 | Requires: sqlite3-devel | |
a2d83637 MB |
114 | |
115 | %description devel | |
d05d9108 | 116 | Header files for packagekit-glib library. |
a2d83637 MB |
117 | |
118 | %description devel -l pl.UTF-8 | |
d05d9108 | 119 | Pliki nagłówkowe biblioteki packagekit-glib. |
a2d83637 MB |
120 | |
121 | %package static | |
d05d9108 MB |
122 | Summary: Static packagekit-glib library |
123 | Summary(pl.UTF-8): Statyczna biblioteka packagekit-glib | |
a2d83637 MB |
124 | Group: Development/Libraries |
125 | Requires: %{name}-devel = %{version}-%{release} | |
126 | ||
127 | %description static | |
d05d9108 | 128 | Static packagekit-glib library. |
a2d83637 MB |
129 | |
130 | %description static -l pl.UTF-8 | |
d05d9108 MB |
131 | Statyczna biblioteka packagekit-glib. |
132 | ||
133 | %package qt | |
134 | Summary: packagekit-qt library | |
135 | Summary(pl.UTF-8): Biblioteka packagekit-qt | |
136 | Group: Libraries | |
137 | Obsoletes: qpackagekit | |
138 | ||
139 | %description qt | |
140 | packagekit-qt library. | |
141 | ||
142 | %description qt -l pl.UTF-8 | |
143 | Biblioteka packagekit-qt. | |
144 | ||
145 | %package qt-devel | |
146 | Summary: Header files for packagekit-qt library | |
147 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki packagekit-qt | |
148 | Group: Development/Libraries | |
149 | Requires: %{name}-qt = %{version}-%{release} | |
27e89cfe MB |
150 | Requires: QtCore-devel >= 4.4.0 |
151 | Requires: QtDBus-devel >= 4.4.0 | |
152 | Requires: QtGui-devel >= 4.4.0 | |
153 | Requires: QtSql-devel >= 4.4.0 | |
154 | Requires: QtXml-devel >= 4.4.0 | |
d05d9108 MB |
155 | Obsoletes: qpackagekit-devel |
156 | ||
157 | %description qt-devel | |
158 | Header files for packagekit-qt library. | |
159 | ||
160 | %description qt-devel -l pl.UTF-8 | |
161 | Pliki nagłówkowe biblioteki packagekit-qt. | |
162 | ||
163 | %package qt-static | |
164 | Summary: Static packagekit-qt library | |
165 | Summary(pl.UTF-8): Statyczna biblioteka packagekit-qt | |
166 | Group: Development/Libraries | |
167 | Requires: %{name}-qt-devel = %{version}-%{release} | |
168 | ||
169 | %description qt-static | |
170 | Static packagekit-qt library. | |
171 | ||
172 | %description qt-static -l pl.UTF-8 | |
173 | Statyczna biblioteka packagekit-qt. | |
a2d83637 MB |
174 | |
175 | %package apidocs | |
176 | Summary: PackageKit library API documentation | |
177 | Summary(pl.UTF-8): Dokumentacja API biblioteki PackageKit | |
178 | Group: Documentation | |
179 | Requires: gtk-doc-common | |
180 | ||
181 | %description apidocs | |
182 | PackageKit library API documentation. | |
183 | ||
184 | %description apidocs -l pl.UTF-8 | |
185 | Dokumentacja API biblioteki PackageKit. | |
186 | ||
d05d9108 MB |
187 | %package docs |
188 | Summary: PackageKit documentation | |
189 | Summary(pl.UTF-8): Dokumentacja PackageKit | |
190 | Group: Documentation | |
191 | ||
192 | %description docs | |
193 | PackageKit documentation. | |
194 | ||
195 | %description docs -l pl.UTF-8 | |
196 | Dokumentacja PackageKit. | |
197 | ||
198 | %package gstreamer-plugin | |
199 | Summary: GStreamer codecs installer | |
200 | Summary(pl.UTF-8): Instalator kodeków GStreamera | |
201 | Group: Applications | |
202 | Requires: %{name} = %{version}-%{release} | |
5baab3aa | 203 | Requires: %{name}-gtk-module = %{version}-%{release} |
d05d9108 MB |
204 | |
205 | %description gstreamer-plugin | |
206 | The PackageKit GStreamer plugin allows any GStreamer application to | |
207 | install codecs from configured repositories using PackageKit. | |
208 | ||
209 | %description gstreamer-plugin -l pl.UTF-8 | |
210 | Wtyczka GStreamer pozwala każdej aplikacji używającej GStreamera | |
211 | zainstalować kodeki ze skonfigurowanych źródeł PackageKit. | |
212 | ||
213 | %package gtk-module | |
214 | Summary: GTK+ module to detect and install missing fonts | |
215 | Summary(pl.UTF-8): Moduł GTK+ do wykrywania i instalowania brakujących czcionek | |
216 | Group: X11/Libraries | |
217 | ||
218 | %description gtk-module | |
219 | The PackageKit GTK+ module allows any pango application to install | |
220 | missing fonts from configured repositories using PackageKit. | |
221 | ||
222 | %description gtk-module -l pl.UTF-8 | |
223 | Moduł GTK+ pozwala każdej aplikacji używającej pango zainstalować | |
224 | brakującą czcionkę ze skonfigurowanych źródeł PackageKit. | |
225 | ||
a2d83637 MB |
226 | %package -n bash-completion-packagekit |
227 | Summary: bash-completion for PackageKit | |
228 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla PackageKit | |
229 | Group: Applications/Shells | |
230 | Requires: bash-completion | |
231 | ||
232 | %description -n bash-completion-packagekit | |
233 | This package provides bash-completion for PackageKit. | |
234 | ||
235 | %description -n bash-completion-packagekit -l pl.UTF-8 | |
236 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla PackageKit. | |
237 | ||
238 | %package -n pm-utils-packagekit | |
239 | Summary: PackageKit script for pm-utils | |
85d27e4f | 240 | Summary(pl.UTF-8): Skrypt PackageKit dla pm-utils |
a2d83637 MB |
241 | Group: Applications/System |
242 | Requires: pm-utils | |
243 | ||
244 | %description -n pm-utils-packagekit | |
245 | PackageKit script for pm-utils. | |
246 | ||
85d27e4f JB |
247 | %description -n pm-utils-packagekit -l pl.UTF-8 |
248 | Skrypt PackageKit dla pm-utils. | |
249 | ||
a2d83637 MB |
250 | %package -n python-packagekit |
251 | Summary: PackageKit Python bindings | |
252 | Summary(pl.UTF-8): Wiązania PackageKit dla Pythona | |
253 | Group: Development/Languages/Python | |
254 | Requires: python-dbus | |
255 | Requires: python-pygobject | |
256 | ||
257 | %description -n python-packagekit | |
258 | PackageKit Python bindings. | |
259 | ||
86086d14 | 260 | %description -n python-packagekit -l pl.UTF-8 |
a2d83637 MB |
261 | Wiązania PackageKit dla Pythona. |
262 | ||
263 | %prep | |
264 | %setup -q | |
d05d9108 | 265 | %patch1 -p1 |
36ca2380 | 266 | %patch2 -p1 |
a2d83637 MB |
267 | |
268 | %build | |
9b8153ef | 269 | %if %{with doc} |
d05d9108 | 270 | %{__gtkdocize} |
d5617342 | 271 | %endif |
58e98be4 | 272 | %{__intltoolize} |
a2d83637 | 273 | %{__libtoolize} |
d05d9108 | 274 | %{__aclocal} -I m4 |
a2d83637 MB |
275 | %{__autoconf} |
276 | %{__autoheader} | |
277 | %{__automake} | |
278 | %configure \ | |
d05d9108 MB |
279 | --disable-dummy \ |
280 | --disable-ruck \ | |
281 | --disable-command-not-found \ | |
aa2113f5 | 282 | --disable-browser-plugin \ |
6e66a3a4 | 283 | %{!?with_gir:--disable-introspection} \ |
dc10d5ba | 284 | %{?with_poldek:--enable-poldek} \ |
6e66a3a4 | 285 | %{?with_yum:--enable-yum} \ |
9b8153ef | 286 | --%{!?with_doc:dis}%{?with_doc:en}able-gtk-doc \ |
d05d9108 | 287 | --%{?with_qt:en}%{!?with_qt:dis}able-qt \ |
fcd0bc5c | 288 | --with-html-dir=%{_gtkdocdir} \ |
dc10d5ba | 289 | --with-default-backend=%{backend} |
a2d83637 MB |
290 | %{__make} |
291 | ||
292 | %install | |
293 | rm -rf $RPM_BUILD_ROOT | |
294 | ||
295 | %{__make} install \ | |
296 | DESTDIR=$RPM_BUILD_ROOT | |
297 | ||
d05d9108 MB |
298 | # use pk-gstreamer-install as codec installer |
299 | ln -s pk-gstreamer-install $RPM_BUILD_ROOT%{_libdir}/gst-install-plugins-helper | |
300 | ||
684bfa1d | 301 | install -d $RPM_BUILD_ROOT%{_libdir}/pm-utils/sleep.d |
aa2113f5 | 302 | install -p contrib/pm-utils/95packagekit $RPM_BUILD_ROOT%{_libdir}/pm-utils/sleep.d |
684bfa1d | 303 | |
d05d9108 MB |
304 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.{la,a} |
305 | rm -f $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins/*.{la,a} | |
a2d83637 | 306 | rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.{la,a} |
d05d9108 | 307 | rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/libpk_backend_test_*.so |
f058dba9 | 308 | rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.{la,a} |
d05d9108 MB |
309 | rm -f $RPM_BUILD_ROOT%{_libdir}/PackageKitDbusTest.py |
310 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit{Apt,Test}Backend.conf | |
311 | rm -f $RPM_BUILD_ROOT%{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit{Apt,Test}Backend.service | |
312 | rm -rf $RPM_BUILD_ROOT%{_datadir}/PackageKit/helpers/test_spawn | |
a2d83637 MB |
313 | |
314 | %py_postclean | |
315 | ||
6808f644 MB |
316 | %find_lang %{name} |
317 | ||
a2d83637 MB |
318 | %clean |
319 | rm -rf $RPM_BUILD_ROOT | |
320 | ||
fcd0bc5c MB |
321 | %post |
322 | %update_mime_database | |
323 | ||
324 | %postun | |
325 | %update_mime_database | |
326 | ||
85d27e4f | 327 | %post libs -p /sbin/ldconfig |
a2d83637 MB |
328 | %postun libs -p /sbin/ldconfig |
329 | ||
d05d9108 MB |
330 | %post qt -p /sbin/ldconfig |
331 | %postun qt -p /sbin/ldconfig | |
332 | ||
6808f644 | 333 | %files -f %{name}.lang |
a2d83637 MB |
334 | %defattr(644,root,root,755) |
335 | %doc AUTHORS ChangeLog HACKING NEWS README TODO | |
336 | %attr(755,root,root) %{_bindir}/packagekit-bugreport.sh | |
a2d83637 | 337 | %attr(755,root,root) %{_bindir}/pkcon |
78293e06 | 338 | %attr(755,root,root) %{_bindir}/pkgenpack |
a2d83637 | 339 | %attr(755,root,root) %{_bindir}/pkmon |
a382d619 | 340 | %attr(755,root,root) %{_bindir}/pk-debuginfo-install |
8d48627e | 341 | %attr(750,root,root) /etc/cron.daily/packagekit-background.cron |
a2d83637 | 342 | %dir %{_libdir}/packagekit-backend |
f058dba9 | 343 | %attr(755,root,root) %{_libdir}/polkit-1/extensions/libpackagekit-action-lookup.so |
aa2113f5 | 344 | %attr(755,root,root) %{_libdir}/packagekitd |
9ed4ca79 | 345 | %attr(755,root,root) %{_sbindir}/pk-device-rebind |
a2d83637 MB |
346 | %dir %{_sysconfdir}/PackageKit |
347 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/PackageKit.conf | |
d05d9108 | 348 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/Vendor.conf |
5baab3aa ER |
349 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/packagekit-background |
350 | /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf | |
d05d9108 | 351 | %dir %{_datadir}/PackageKit |
6e66a3a4 | 352 | %dir %{_datadir}/PackageKit/helpers |
d05d9108 | 353 | %attr(755,root,root) %{_datadir}/PackageKit/pk-upgrade-distro.sh |
f058dba9 | 354 | %{_datadir}/polkit-1/actions/org.freedesktop.packagekit.policy |
a2d83637 | 355 | %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service |
d05d9108 | 356 | %{_datadir}/mime/packages/packagekit-catalog.xml |
08c67dac | 357 | %{_datadir}/mime/packages/packagekit-package-list.xml |
358 | %{_datadir}/mime/packages/packagekit-servicepack.xml | |
a2d83637 | 359 | %{_mandir}/man1/pkcon.1* |
f058dba9 | 360 | %{_mandir}/man1/pk-debuginfo-install.1* |
9ed4ca79 | 361 | %{_mandir}/man1/pk-device-rebind.1* |
78293e06 MB |
362 | %{_mandir}/man1/pkgenpack.1* |
363 | %{_mandir}/man1/pkmon.1* | |
364 | %dir /var/cache/PackageKit | |
365 | %dir /var/cache/PackageKit/downloads | |
a2d83637 | 366 | %dir /var/lib/PackageKit |
d05d9108 | 367 | %ghost /var/lib/PackageKit/transactions.db |
a2d83637 | 368 | |
6e66a3a4 ER |
369 | # backend: poldek |
370 | %if %{with poldek} | |
371 | %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so | |
372 | %endif | |
373 | ||
374 | # backend: yum | |
375 | %if %{with yum} | |
376 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/Yum.conf | |
377 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/yum/pluginconf.d/refresh-packagekit.conf | |
378 | %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_yum.so | |
379 | %{_libdir}/yum-plugins/refresh-packagekit.py | |
380 | %dir %{_datadir}/PackageKit/helpers/yum | |
381 | %{_datadir}/PackageKit/helpers/yum/licenses.txt | |
382 | %{_datadir}/PackageKit/helpers/yum/yum-comps-groups.conf | |
383 | %{_datadir}/PackageKit/helpers/yum/yumBackend.py | |
384 | %{_datadir}/PackageKit/helpers/yum/yumComps.py | |
385 | %{_datadir}/PackageKit/helpers/yum/yumFilter.py | |
386 | %endif | |
387 | ||
a2d83637 MB |
388 | %files libs |
389 | %defattr(644,root,root,755) | |
74872af2 | 390 | %attr(755,root,root) %{_libdir}/libpackagekit-glib2.so.*.*.* |
aa2113f5 | 391 | %attr(755,root,root) %ghost %{_libdir}/libpackagekit-glib2.so.14 |
08c67dac | 392 | |
a2d83637 MB |
393 | %files devel |
394 | %defattr(644,root,root,755) | |
74872af2 | 395 | %attr(755,root,root) %{_libdir}/libpackagekit-glib2.so |
74872af2 | 396 | %{_libdir}/libpackagekit-glib2.la |
74872af2 | 397 | %{_pkgconfigdir}/packagekit-glib2.pc |
d05d9108 MB |
398 | %dir %{_includedir}/PackageKit |
399 | %{_includedir}/PackageKit/backend | |
74872af2 | 400 | %{_includedir}/PackageKit/packagekit-glib2 |
08c67dac | 401 | |
a2d83637 MB |
402 | %files static |
403 | %defattr(644,root,root,755) | |
74872af2 | 404 | %{_libdir}/libpackagekit-glib2.a |
d05d9108 | 405 | |
5424bc1f | 406 | %if %{with qt} |
d05d9108 MB |
407 | %files qt |
408 | %defattr(644,root,root,755) | |
409 | %attr(755,root,root) %{_libdir}/libpackagekit-qt.so.*.*.* | |
aa2113f5 | 410 | %attr(755,root,root) %ghost %{_libdir}/libpackagekit-qt.so.14 |
d05d9108 MB |
411 | |
412 | %files qt-devel | |
413 | %defattr(644,root,root,755) | |
414 | %attr(755,root,root) %{_libdir}/libpackagekit-qt.so | |
415 | %{_libdir}/libpackagekit-qt.la | |
416 | %{_pkgconfigdir}/packagekit-qt.pc | |
417 | %{_includedir}/PackageKit/packagekit-qt | |
418 | %{_datadir}/cmake/Modules/FindQPackageKit.cmake | |
419 | ||
420 | %files qt-static | |
421 | %defattr(644,root,root,755) | |
08c67dac | 422 | %{_libdir}/libpackagekit-qt.a |
5424bc1f | 423 | %endif |
a2d83637 MB |
424 | |
425 | %files apidocs | |
426 | %defattr(644,root,root,755) | |
427 | %{_gtkdocdir}/PackageKit | |
428 | ||
d05d9108 MB |
429 | %files docs |
430 | %defattr(644,root,root,755) | |
431 | %{_datadir}/PackageKit/website | |
432 | ||
433 | %files gstreamer-plugin | |
434 | %defattr(644,root,root,755) | |
435 | %doc contrib/gstreamer-plugin/README | |
436 | %attr(755,root,root) %{_libdir}/gst-install-plugins-helper | |
437 | %attr(755,root,root) %{_libdir}/pk-gstreamer-install | |
438 | ||
439 | %files gtk-module | |
440 | %defattr(644,root,root,755) | |
441 | %doc contrib/gtk-module/{GLASS.txt,README} | |
442 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/libpk-gtk-module.so | |
443 | ||
a2d83637 MB |
444 | %files -n bash-completion-packagekit |
445 | %defattr(644,root,root,755) | |
446 | %{_sysconfdir}/bash_completion.d/pk-completion.bash | |
447 | ||
448 | %files -n pm-utils-packagekit | |
449 | %defattr(644,root,root,755) | |
d05d9108 | 450 | %attr(755,root,root) %{_libdir}/pm-utils/sleep.d/95packagekit |
a2d83637 MB |
451 | |
452 | %files -n python-packagekit | |
453 | %defattr(644,root,root,755) | |
454 | %dir %{py_sitescriptdir}/packagekit | |
455 | %{py_sitescriptdir}/packagekit/*.py[co] |