]>
Commit | Line | Data |
---|---|---|
85d27e4f JB |
1 | Summary: System daemon that is a D-Bus abstraction layer for package management |
2 | Summary(pl.UTF-8): Demon systemowy będący warstwą abstrakcji D-Bus do zarządzania pakietami | |
a2d83637 | 3 | Name: PackageKit |
fd37a504 | 4 | Version: 0.3.4 |
73aebdae | 5 | Release: 2 |
a2d83637 | 6 | License: GPL v2+ |
85d27e4f | 7 | Group: Applications/System |
58e98be4 | 8 | Source0: http://www.packagekit.org/releases/%{name}-%{version}.tar.gz |
fd37a504 | 9 | # Source0-md5: 5b02713b8b1a18508f64d3db746d710f |
a2d83637 MB |
10 | URL: http://www.packagekit.org/ |
11 | BuildRequires: NetworkManager-devel >= 0.6.5 | |
73aebdae | 12 | BuildRequires: PolicyKit |
6808f644 | 13 | BuildRequires: PolicyKit-devel >= 0.8 |
a2d83637 MB |
14 | BuildRequires: autoconf >= 2.52 |
15 | BuildRequires: automake | |
6808f644 | 16 | BuildRequires: dbus-devel >= 1.2.0 |
f5f5e3ff | 17 | BuildRequires: dbus-glib-devel >= 0.76 |
c26aaa93 | 18 | BuildRequires: docbook-to-man |
a2d83637 | 19 | BuildRequires: gettext-devel |
6808f644 | 20 | BuildRequires: glib2-devel >= 1:2.16.1 |
a2d83637 | 21 | BuildRequires: gtk-doc >= 1.9 |
78293e06 | 22 | BuildRequires: libarchive-devel |
a2d83637 MB |
23 | BuildRequires: libtool |
24 | BuildRequires: pkgconfig | |
78293e06 | 25 | BuildRequires: poldek-devel >= 0.30-0.20080820.23.2 |
a2d83637 | 26 | BuildRequires: python-devel |
55709353 | 27 | BuildRequires: rpm-devel |
a2d83637 | 28 | BuildRequires: rpm-pythonprov |
85d27e4f | 29 | BuildRequires: rpmbuild(macros) >= 1.311 |
a2d83637 | 30 | BuildRequires: sqlite3-devel |
fcd0bc5c | 31 | Requires(post,postun): shared-mime-info |
a2d83637 | 32 | Requires: %{name}-libs = %{version}-%{release} |
6808f644 | 33 | Requires: PolicyKit >= 0.8 |
8d48627e | 34 | Requires: crondaemon |
78293e06 | 35 | Requires: poldek >= 0.30-0.20080820.23.2 |
a2d83637 MB |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
37 | ||
38 | %description | |
39 | PackageKit is a D-Bus abstraction layer that allows the session user | |
40 | to manage packages in a secure way using a cross-distro, | |
41 | cross-architecture API. | |
42 | ||
85d27e4f JB |
43 | %description -l pl.UTF-8 |
44 | PackageKit to warstwa abstrakcji D-Bus pozwalająca użytkownikowi | |
45 | sesyjnemu w bezpieczny sposob zarządzać pakietami przy użyciu API | |
46 | zgodnego z wieloma dystrybucjami i architekturami. | |
47 | ||
a2d83637 MB |
48 | %package libs |
49 | Summary: PackageKit library | |
50 | Summary(pl.UTF-8): Biblioteka PackageKit | |
51 | Group: Libraries | |
52 | ||
53 | %description libs | |
54 | PackageKit library. | |
55 | ||
56 | %description libs -l pl.UTF-8 | |
57 | Biblioteka PackageKit. | |
58 | ||
59 | %package devel | |
60 | Summary: Header files for PackageKit | |
61 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PackageKit | |
62 | Group: Development/Libraries | |
63 | Requires: %{name}-libs = %{version}-%{release} | |
6808f644 | 64 | Requires: glib2-devel >= 1:2.16.1 |
a2d83637 MB |
65 | |
66 | %description devel | |
67 | Header files for PackageKit library. | |
68 | ||
69 | %description devel -l pl.UTF-8 | |
70 | Pliki nagłówkowe biblioteki PackageKit. | |
71 | ||
72 | %package static | |
73 | Summary: Static PackageKit library | |
74 | Summary(pl.UTF-8): Statyczna biblioteka PackageKit | |
75 | Group: Development/Libraries | |
76 | Requires: %{name}-devel = %{version}-%{release} | |
77 | ||
78 | %description static | |
79 | Static PackageKit library. | |
80 | ||
81 | %description static -l pl.UTF-8 | |
82 | Statyczna biblioteka PackageKit. | |
83 | ||
84 | %package apidocs | |
85 | Summary: PackageKit library API documentation | |
86 | Summary(pl.UTF-8): Dokumentacja API biblioteki PackageKit | |
87 | Group: Documentation | |
88 | Requires: gtk-doc-common | |
89 | ||
90 | %description apidocs | |
91 | PackageKit library API documentation. | |
92 | ||
93 | %description apidocs -l pl.UTF-8 | |
94 | Dokumentacja API biblioteki PackageKit. | |
95 | ||
96 | %package -n bash-completion-packagekit | |
97 | Summary: bash-completion for PackageKit | |
98 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla PackageKit | |
99 | Group: Applications/Shells | |
100 | Requires: bash-completion | |
101 | ||
102 | %description -n bash-completion-packagekit | |
103 | This package provides bash-completion for PackageKit. | |
104 | ||
105 | %description -n bash-completion-packagekit -l pl.UTF-8 | |
106 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla PackageKit. | |
107 | ||
108 | %package -n pm-utils-packagekit | |
109 | Summary: PackageKit script for pm-utils | |
85d27e4f | 110 | Summary(pl.UTF-8): Skrypt PackageKit dla pm-utils |
a2d83637 MB |
111 | Group: Applications/System |
112 | Requires: pm-utils | |
113 | ||
114 | %description -n pm-utils-packagekit | |
115 | PackageKit script for pm-utils. | |
116 | ||
85d27e4f JB |
117 | %description -n pm-utils-packagekit -l pl.UTF-8 |
118 | Skrypt PackageKit dla pm-utils. | |
119 | ||
a2d83637 MB |
120 | %package -n python-packagekit |
121 | Summary: PackageKit Python bindings | |
122 | Summary(pl.UTF-8): Wiązania PackageKit dla Pythona | |
123 | Group: Development/Languages/Python | |
124 | Requires: python-dbus | |
125 | Requires: python-pygobject | |
126 | ||
127 | %description -n python-packagekit | |
128 | PackageKit Python bindings. | |
129 | ||
130 | %description -n python-packagekit | |
131 | Wiązania PackageKit dla Pythona. | |
132 | ||
133 | %prep | |
134 | %setup -q | |
a2d83637 MB |
135 | |
136 | %build | |
58e98be4 | 137 | %{__intltoolize} |
a2d83637 MB |
138 | %{__libtoolize} |
139 | %{__aclocal} | |
140 | %{__autoconf} | |
141 | %{__autoheader} | |
142 | %{__automake} | |
143 | %configure \ | |
144 | --enable-poldek \ | |
fcd0bc5c MB |
145 | --with-html-dir=%{_gtkdocdir} \ |
146 | --with-default-backend=poldek | |
73aebdae | 147 | |
a2d83637 MB |
148 | %{__make} |
149 | ||
150 | %install | |
151 | rm -rf $RPM_BUILD_ROOT | |
152 | ||
153 | %{__make} install \ | |
154 | DESTDIR=$RPM_BUILD_ROOT | |
155 | ||
156 | rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.{la,a} | |
157 | ||
6808f644 MB |
158 | mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{no_nb,nb} |
159 | ||
a2d83637 MB |
160 | %py_postclean |
161 | ||
6808f644 MB |
162 | %find_lang %{name} |
163 | ||
a2d83637 MB |
164 | %clean |
165 | rm -rf $RPM_BUILD_ROOT | |
166 | ||
fcd0bc5c MB |
167 | %post |
168 | %update_mime_database | |
169 | ||
170 | %postun | |
171 | %update_mime_database | |
172 | ||
85d27e4f | 173 | %post libs -p /sbin/ldconfig |
a2d83637 MB |
174 | %postun libs -p /sbin/ldconfig |
175 | ||
6808f644 | 176 | %files -f %{name}.lang |
a2d83637 MB |
177 | %defattr(644,root,root,755) |
178 | %doc AUTHORS ChangeLog HACKING NEWS README TODO | |
179 | %attr(755,root,root) %{_bindir}/packagekit-bugreport.sh | |
a2d83637 | 180 | %attr(755,root,root) %{_bindir}/pkcon |
78293e06 | 181 | %attr(755,root,root) %{_bindir}/pkgenpack |
a2d83637 | 182 | %attr(755,root,root) %{_bindir}/pkmon |
8d48627e | 183 | %attr(750,root,root) /etc/cron.daily/packagekit-background.cron |
78293e06 | 184 | %attr(755,root,root) %{_libexecdir}/pk-generate-package-list |
8f66d5fe PZ |
185 | %attr(755,root,root) %{_libexecdir}/pk-import-desktop |
186 | %attr(755,root,root) %{_libexecdir}/pk-import-specspo | |
a2d83637 MB |
187 | %dir %{_libdir}/packagekit-backend |
188 | %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so | |
189 | %attr(755,root,root) %{_sbindir}/packagekitd | |
190 | %dir %{_sysconfdir}/PackageKit | |
191 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/PackageKit.conf | |
55709353 SP |
192 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/packagekit-background |
193 | /etc/dbus-1/system.d/org.freedesktop.PackageKit.conf | |
57472eb9 | 194 | %{_datadir}/PolicyKit/policy/org.freedesktop.packagekit.policy |
a2d83637 | 195 | %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service |
fcd0bc5c | 196 | %{_datadir}/mime/packages/packagekit-catalog.xml |
78293e06 | 197 | %{_datadir}/mime/packages/packagekit-pack.xml |
a2d83637 | 198 | %{_mandir}/man1/pkcon.1* |
78293e06 MB |
199 | %{_mandir}/man1/pkgenpack.1* |
200 | %{_mandir}/man1/pkmon.1* | |
201 | %dir /var/cache/PackageKit | |
202 | %dir /var/cache/PackageKit/downloads | |
a2d83637 MB |
203 | %dir /var/lib/PackageKit |
204 | %ghost /var/lib/PackageKit/transactions.db | |
205 | %dir /var/run/PackageKit | |
206 | %ghost /var/run/PackageKit/job_count.dat | |
6808f644 | 207 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/51-packagekit-firmware.rules |
73aebdae | 208 | %attr(755,root,root) /lib/udev/packagekit-firmware.sh |
a2d83637 MB |
209 | |
210 | %files libs | |
211 | %defattr(644,root,root,755) | |
212 | %attr(755,root,root) %{_libdir}/libpackagekit.so.*.*.* | |
fd37a504 | 213 | %attr(755,root,root) %ghost %{_libdir}/libpackagekit.so.7 |
a2d83637 MB |
214 | |
215 | %files devel | |
216 | %defattr(644,root,root,755) | |
217 | %attr(755,root,root) %{_libdir}/libpackagekit.so | |
218 | %{_libdir}/libpackagekit.la | |
219 | %{_pkgconfigdir}/packagekit.pc | |
220 | %{_includedir}/packagekit | |
221 | %{_includedir}/packagekit-backend | |
222 | ||
223 | %files static | |
224 | %defattr(644,root,root,755) | |
225 | %{_libdir}/libpackagekit.a | |
226 | ||
227 | %files apidocs | |
228 | %defattr(644,root,root,755) | |
229 | %{_gtkdocdir}/PackageKit | |
230 | ||
231 | %files -n bash-completion-packagekit | |
232 | %defattr(644,root,root,755) | |
233 | %{_sysconfdir}/bash_completion.d/pk-completion.bash | |
234 | ||
235 | %files -n pm-utils-packagekit | |
236 | %defattr(644,root,root,755) | |
237 | %{_libdir}/pm-utils/sleep.d/95packagekit | |
238 | ||
239 | %files -n python-packagekit | |
240 | %defattr(644,root,root,755) | |
241 | %dir %{py_sitescriptdir}/packagekit | |
242 | %{py_sitescriptdir}/packagekit/*.py[co] |