]>
Commit | Line | Data |
---|---|---|
a2d83637 MB |
1 | Summary: System daemon that is a D-BUS abstraction layer for package management |
2 | Name: PackageKit | |
8f66d5fe | 3 | Version: 0.1.11 |
8d48627e | 4 | Release: 1 |
a2d83637 MB |
5 | License: GPL v2+ |
6 | Group: Applications | |
7 | Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.gz | |
8f66d5fe | 8 | # Source0-md5: ede0d17f7e62b9baf7afba9fa7a9b4e9 |
a2d83637 MB |
9 | URL: http://www.packagekit.org/ |
10 | BuildRequires: NetworkManager-devel >= 0.6.5 | |
11 | BuildRequires: PolicyKit-devel >= 0.7 | |
12 | BuildRequires: autoconf >= 2.52 | |
13 | BuildRequires: automake | |
14 | BuildRequires: dbus-devel >= 1.1.4 | |
15 | BuildRequires: dbus-glib-devel >= 0.74 | |
c26aaa93 | 16 | BuildRequires: docbook-to-man |
a2d83637 MB |
17 | BuildRequires: gettext-devel |
18 | BuildRequires: glib2-devel >= 1:2.14.0 | |
19 | BuildRequires: gtk-doc >= 1.9 | |
20 | BuildRequires: libtool | |
21 | BuildRequires: pkgconfig | |
8d48627e | 22 | BuildRequires: poldek-devel >= 0.30-0.20080225.00.0.4 |
a2d83637 MB |
23 | BuildRequires: python-devel |
24 | BuildRequires: rpm-pythonprov | |
25 | BuildRequires: sqlite3-devel | |
26 | Requires: %{name}-libs = %{version}-%{release} | |
8d48627e MB |
27 | Requires: crondaemon |
28 | Requires: poldek-libs >= 0.30-0.20080225.00.0.4 | |
a2d83637 MB |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | PackageKit is a D-Bus abstraction layer that allows the session user | |
33 | to manage packages in a secure way using a cross-distro, | |
34 | cross-architecture API. | |
35 | ||
36 | %package libs | |
37 | Summary: PackageKit library | |
38 | Summary(pl.UTF-8): Biblioteka PackageKit | |
39 | Group: Libraries | |
40 | ||
41 | %description libs | |
42 | PackageKit library. | |
43 | ||
44 | %description libs -l pl.UTF-8 | |
45 | Biblioteka PackageKit. | |
46 | ||
47 | %package devel | |
48 | Summary: Header files for PackageKit | |
49 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PackageKit | |
50 | Group: Development/Libraries | |
51 | Requires: %{name}-libs = %{version}-%{release} | |
52 | Requires: glib2-devel >= 1:2.14.0 | |
53 | ||
54 | %description devel | |
55 | Header files for PackageKit library. | |
56 | ||
57 | %description devel -l pl.UTF-8 | |
58 | Pliki nagłówkowe biblioteki PackageKit. | |
59 | ||
60 | %package static | |
61 | Summary: Static PackageKit library | |
62 | Summary(pl.UTF-8): Statyczna biblioteka PackageKit | |
63 | Group: Development/Libraries | |
64 | Requires: %{name}-devel = %{version}-%{release} | |
65 | ||
66 | %description static | |
67 | Static PackageKit library. | |
68 | ||
69 | %description static -l pl.UTF-8 | |
70 | Statyczna biblioteka PackageKit. | |
71 | ||
72 | %package apidocs | |
73 | Summary: PackageKit library API documentation | |
74 | Summary(pl.UTF-8): Dokumentacja API biblioteki PackageKit | |
75 | Group: Documentation | |
76 | Requires: gtk-doc-common | |
77 | ||
78 | %description apidocs | |
79 | PackageKit library API documentation. | |
80 | ||
81 | %description apidocs -l pl.UTF-8 | |
82 | Dokumentacja API biblioteki PackageKit. | |
83 | ||
84 | %package -n bash-completion-packagekit | |
85 | Summary: bash-completion for PackageKit | |
86 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla PackageKit | |
87 | Group: Applications/Shells | |
88 | Requires: bash-completion | |
89 | ||
90 | %description -n bash-completion-packagekit | |
91 | This package provides bash-completion for PackageKit. | |
92 | ||
93 | %description -n bash-completion-packagekit -l pl.UTF-8 | |
94 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla PackageKit. | |
95 | ||
96 | %package -n pm-utils-packagekit | |
97 | Summary: PackageKit script for pm-utils | |
98 | Group: Applications/System | |
99 | Requires: pm-utils | |
100 | ||
101 | %description -n pm-utils-packagekit | |
102 | PackageKit script for pm-utils. | |
103 | ||
104 | %package -n python-packagekit | |
105 | Summary: PackageKit Python bindings | |
106 | Summary(pl.UTF-8): Wiązania PackageKit dla Pythona | |
107 | Group: Development/Languages/Python | |
108 | Requires: python-dbus | |
109 | Requires: python-pygobject | |
110 | ||
111 | %description -n python-packagekit | |
112 | PackageKit Python bindings. | |
113 | ||
114 | %description -n python-packagekit | |
115 | Wiązania PackageKit dla Pythona. | |
116 | ||
117 | %prep | |
118 | %setup -q | |
a2d83637 MB |
119 | |
120 | %build | |
121 | %{__libtoolize} | |
122 | %{__aclocal} | |
123 | %{__autoconf} | |
124 | %{__autoheader} | |
125 | %{__automake} | |
126 | %configure \ | |
127 | --enable-poldek \ | |
128 | --with-html-dir=%{_gtkdocdir} | |
129 | %{__make} | |
130 | ||
131 | %install | |
132 | rm -rf $RPM_BUILD_ROOT | |
133 | ||
134 | %{__make} install \ | |
135 | DESTDIR=$RPM_BUILD_ROOT | |
136 | ||
137 | rm -f $RPM_BUILD_ROOT%{_libdir}/packagekit-backend/*.{la,a} | |
138 | ||
139 | %py_postclean | |
140 | ||
141 | %clean | |
142 | rm -rf $RPM_BUILD_ROOT | |
143 | ||
144 | %post libs -p /sbin/ldconfig | |
145 | %postun libs -p /sbin/ldconfig | |
146 | ||
147 | %files | |
148 | %defattr(644,root,root,755) | |
149 | %doc AUTHORS ChangeLog HACKING NEWS README TODO | |
150 | %attr(755,root,root) %{_bindir}/packagekit-bugreport.sh | |
a2d83637 MB |
151 | %attr(755,root,root) %{_bindir}/pkcon |
152 | %attr(755,root,root) %{_bindir}/pkmon | |
8d48627e | 153 | %attr(750,root,root) /etc/cron.daily/packagekit-background.cron |
8f66d5fe PZ |
154 | %attr(755,root,root) %{_libexecdir}/pk-import-desktop |
155 | %attr(755,root,root) %{_libexecdir}/pk-import-specspo | |
a2d83637 MB |
156 | %dir %{_libdir}/packagekit-backend |
157 | %attr(755,root,root) %{_libdir}/packagekit-backend/libpk_backend_poldek.so | |
158 | %attr(755,root,root) %{_sbindir}/packagekitd | |
159 | %dir %{_sysconfdir}/PackageKit | |
160 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/PackageKit/PackageKit.conf | |
8d48627e | 161 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sysconfig/packagekit-background |
a2d83637 | 162 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.PackageKit.conf |
57472eb9 | 163 | %{_datadir}/PolicyKit/policy/org.freedesktop.packagekit.policy |
a2d83637 MB |
164 | %{_datadir}/dbus-1/system-services/org.freedesktop.PackageKit.service |
165 | %{_mandir}/man1/pkmon.1* | |
166 | %{_mandir}/man1/pkcon.1* | |
167 | %dir /var/lib/PackageKit | |
168 | %ghost /var/lib/PackageKit/transactions.db | |
169 | %dir /var/run/PackageKit | |
170 | %ghost /var/run/PackageKit/job_count.dat | |
171 | ||
172 | %files libs | |
173 | %defattr(644,root,root,755) | |
174 | %attr(755,root,root) %{_libdir}/libpackagekit.so.*.*.* | |
175 | %attr(755,root,root) %ghost %{_libdir}/libpackagekit.so.3 | |
176 | ||
177 | %files devel | |
178 | %defattr(644,root,root,755) | |
179 | %attr(755,root,root) %{_libdir}/libpackagekit.so | |
180 | %{_libdir}/libpackagekit.la | |
181 | %{_pkgconfigdir}/packagekit.pc | |
182 | %{_includedir}/packagekit | |
183 | %{_includedir}/packagekit-backend | |
184 | ||
185 | %files static | |
186 | %defattr(644,root,root,755) | |
187 | %{_libdir}/libpackagekit.a | |
188 | ||
189 | %files apidocs | |
190 | %defattr(644,root,root,755) | |
191 | %{_gtkdocdir}/PackageKit | |
192 | ||
193 | %files -n bash-completion-packagekit | |
194 | %defattr(644,root,root,755) | |
195 | %{_sysconfdir}/bash_completion.d/pk-completion.bash | |
196 | ||
197 | %files -n pm-utils-packagekit | |
198 | %defattr(644,root,root,755) | |
199 | %{_libdir}/pm-utils/sleep.d/95packagekit | |
200 | ||
201 | %files -n python-packagekit | |
202 | %defattr(644,root,root,755) | |
203 | %dir %{py_sitescriptdir}/packagekit | |
204 | %{py_sitescriptdir}/packagekit/*.py[co] |