]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - pldize vconsole setup: | |
3 | # http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c | |
4 | # - udev initrd needs love (is probably completly unusable in current form) | |
5 | # | |
6 | # Conditional build: | |
7 | %bcond_without audit # without audit support | |
8 | %bcond_without cryptsetup # without cryptsetup support | |
9 | %bcond_without pam # PAM authentication support | |
10 | %bcond_without plymouth # do not install plymouth units | |
11 | %bcond_without selinux # without SELinux support | |
12 | %bcond_without tcpd # libwrap (tcp_wrappers) support | |
13 | ||
14 | %bcond_without initrd # build without udev-initrd | |
15 | %bcond_with uClibc # link initrd version with static uClibc | |
16 | %bcond_with klibc # link initrd version with static klibc | |
17 | %bcond_with dietlibc # link initrd version with static dietlibc (currently broken and unsupported) | |
18 | %bcond_without glibc # link initrd version with static glibc | |
19 | ||
20 | %ifarch sparc sparc64 | |
21 | %define with_glibc 1 | |
22 | %endif | |
23 | ||
24 | # if one of the *libc is enabled disable default uClibc | |
25 | %if %{with dietlibc} && %{with uClibc} | |
26 | %undefine with_uClibc | |
27 | %endif | |
28 | ||
29 | %if %{with glibc} && %{with uClibc} | |
30 | %undefine with_uClibc | |
31 | %endif | |
32 | ||
33 | %if %{with klibc} && %{with uClibc} | |
34 | %undefine with_uClibc | |
35 | %endif | |
36 | ||
37 | Summary: A System and Service Manager | |
38 | Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa | |
39 | Name: systemd | |
40 | # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often) | |
41 | Version: 185 | |
42 | Release: 1 | |
43 | Epoch: 1 | |
44 | License: GPL v2+ | |
45 | Group: Base | |
46 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz | |
47 | # Source0-md5: a7dbbf05986eb0d2c164ec8e570eb78f | |
48 | Source1: %{name}-sysv-convert | |
49 | Source2: %{name}_booted.c | |
50 | Source3: network.service | |
51 | Source4: var-lock.mount | |
52 | Source5: var-run.mount | |
53 | Source10: pld-storage-init-late.service | |
54 | Source11: pld-storage-init.service | |
55 | Source12: pld-wait-storage.service | |
56 | Source13: pld-storage-init.sh | |
57 | Source14: pld-clean-tmp.service | |
58 | Source15: pld-clean-tmp.sh | |
59 | # rules | |
60 | Source101: udev-alsa.rules | |
61 | Source102: udev.rules | |
62 | Source103: udev-links.conf | |
63 | # scripts / helpers | |
64 | Source110: udev-net.helper | |
65 | Source111: start_udev | |
66 | # misc | |
67 | Source120: udev.blacklist | |
68 | Source121: fbdev.blacklist | |
69 | Patch0: target-pld.patch | |
70 | Patch1: config-pld.patch | |
71 | Patch2: shut-sysv-up.patch | |
72 | Patch3: pld-sysv-network.patch | |
73 | Patch4: tmpfiles-not-fatal.patch | |
74 | Patch5: kmsg-to-syslog.patch | |
75 | Patch6: udev-so.patch | |
76 | Patch7: udev-uClibc.patch | |
77 | Patch8: udev-ploop-rules.patch | |
78 | Patch9: udevlibexecdir.patch | |
79 | Patch10: static-udev.patch | |
80 | Patch11: systemd-udev-service.patch | |
81 | Patch12: udevadm-in-sbin.patch | |
82 | URL: http://www.freedesktop.org/wiki/Software/systemd | |
83 | BuildRequires: acl-devel | |
84 | %{?with_audit:BuildRequires: audit-libs-devel} | |
85 | BuildRequires: autoconf >= 2.64 | |
86 | BuildRequires: automake >= 1:1.11 | |
87 | BuildRequires: binutils >= 3:2.22.52.0.1-2 | |
88 | %{?with_cryptsetup:BuildRequires: cryptsetup-luks-devel} | |
89 | BuildRequires: dbus-devel >= 1.3.2 | |
90 | BuildRequires: docbook-style-xsl | |
91 | BuildRequires: glib2-devel >= 1:2.22.0 | |
92 | BuildRequires: glibc-misc | |
93 | BuildRequires: gobject-introspection-devel >= 1.31.1 | |
94 | BuildRequires: gperf | |
95 | BuildRequires: gtk-doc >= 1.18 | |
96 | BuildRequires: intltool >= 0.40.0 | |
97 | BuildRequires: kmod-devel >= 5 | |
98 | BuildRequires: libblkid-devel >= 2.20 | |
99 | BuildRequires: libcap-devel | |
100 | %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.0} | |
101 | BuildRequires: libtool >= 2:2.2 | |
102 | %{?with_tcpd:BuildRequires: libwrap-devel} | |
103 | BuildRequires: libxslt-progs | |
104 | BuildRequires: m4 | |
105 | %{?with_pam:BuildRequires: pam-devel} | |
106 | BuildRequires: pciutils | |
107 | BuildRequires: pkgconfig >= 0.9.0 | |
108 | BuildRequires: python-modules | |
109 | BuildRequires: rpmbuild(macros) >= 1.628 | |
110 | BuildRequires: sed >= 4.0 | |
111 | BuildRequires: usbutils >= 0.82 | |
112 | BuildRequires: xz-devel | |
113 | BuildRequires: zlib-devel | |
114 | %if %{with initrd} | |
115 | BuildRequires: acl-static | |
116 | BuildRequires: attr-static | |
117 | %{?with_dietlibc:BuildRequires: dietlibc-static} | |
118 | BuildRequires: glib2-static >= 1:2.22.0 | |
119 | %{?with_glibc:BuildRequires: glibc-static} | |
120 | %{?with_klibc:BuildRequires: klibc-static} | |
121 | BuildRequires: kmod-libs-static >= 5 | |
122 | BuildRequires: libblkid-static >= 2.20 | |
123 | %{?with_glibc:BuildRequires: libselinux-static} | |
124 | %{?with_glibc:BuildRequires: libsepol-static} | |
125 | %{?with_klibc:BuildRequires: linux-libc-headers} | |
126 | BuildRequires: pcre-static | |
127 | %{?with_uClibc:BuildRequires: uClibc-static >= 4:0.9.30.3} | |
128 | BuildRequires: xz-static | |
129 | BuildRequires: zlib-static | |
130 | %endif | |
131 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
132 | Requires: %{name}-units = %{epoch}:%{version}-%{release} | |
133 | Requires: /etc/os-release | |
134 | Requires: SysVinit-tools | |
135 | Requires: agetty | |
136 | Requires: dbus >= 1.4.16-6 | |
137 | Requires: filesystem >= 4.0-3 | |
138 | Requires: libutempter | |
139 | Requires: rc-scripts >= 0.4.5.3-7 | |
140 | Requires: setup >= 2.8.0-2 | |
141 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
142 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
143 | Requires: virtual(module-tools) | |
144 | Suggests: ConsoleKit | |
145 | Suggests: fsck >= 2.20 | |
146 | Suggests: kmod >= 5 | |
147 | Suggests: nss_myhostname | |
148 | Suggests: service(klogd) | |
149 | Suggests: service(syslog) | |
150 | Provides: udev-acl | |
151 | Obsoletes: systemd-no-compat-tmpfiles | |
152 | Obsoletes: udev-systemd | |
153 | # systemd takes care of that and causes problems | |
154 | Conflicts: binfmt-detector | |
155 | # sytemd wants pam with pam_systemd.so in system-auth... | |
156 | Conflicts: pam < 1:1.1.5-5 | |
157 | # ...and sudo hates it | |
158 | Conflicts: sudo < 1:1.7.8p2-4 | |
159 | # for prefdm script | |
160 | Conflicts: xinitrc-ng < 1.0 | |
161 | # systemd scripts use options not present in older versions | |
162 | Conflicts: kpartx < 0.4.9-7 | |
163 | Conflicts: multipath-tools < 0.4.9-7 | |
164 | # no tmpfs on /media, use /run/media/$USER for mounting | |
165 | Conflicts: udisks2 < 1.92.0 | |
166 | # packages that have dirs under /var/run and/or /var/lock must provide tmpfiles configs | |
167 | Conflicts: ConsoleKit-dirs < 0.4.5-7 | |
168 | Conflicts: NetworkManager < 2:0.9.2.0-3 | |
169 | Conflicts: Zope < 2.11.8-2 | |
170 | Conflicts: amavisd-new < 1:2.7.0-1 | |
171 | Conflicts: apache-base < 2.2.21-4 | |
172 | Conflicts: apache-mod_bw < 0.92-3 | |
173 | Conflicts: apache-mod_fastcgi < 2.4.6-6 | |
174 | Conflicts: apache1-base < 1.3.42-5 | |
175 | Conflicts: apache1-mod_fastcgi < 2.4.6-2 | |
176 | Conflicts: asterisk < 10.0.1-2 | |
177 | Conflicts: autossh-init < 1.4b-3 | |
178 | Conflicts: balance < 3.54-2 | |
179 | Conflicts: bind < 7:9.8.1.P1-4 | |
180 | Conflicts: bopm < 3.1.3-4 | |
181 | Conflicts: callweaver < 1.2.1-9 | |
182 | Conflicts: cassandra-bin < 0.8.9-2 | |
183 | Conflicts: clamav < 0.97.3-3 | |
184 | Conflicts: cups < 1:1.5.0-10 | |
185 | Conflicts: dovecot < 1:2.0.16-3 | |
186 | Conflicts: dspam < 3.9.0-6 | |
187 | Conflicts: fail2ban < 0.8.4-4 | |
188 | Conflicts: gammu-smsd < 1:1.31.0-3 | |
189 | # Break gdm2.20 installs | |
190 | #Conflicts: gdm < 2:3.2.1.1-9 | |
191 | Conflicts: greylistd < 0.8.8-2 | |
192 | Conflicts: inn < 2.4.6-7 | |
193 | Conflicts: ipsec-tools < 0.8.0-3 | |
194 | Conflicts: jabber-common < 0-9 | |
195 | Conflicts: laptop-mode-tools < 1.58-2 | |
196 | Conflicts: libgpod < 0.8.0-6 | |
197 | Conflicts: libvirt-utils < 0.9.9-4 | |
198 | Conflicts: lighttpd < 1.4.30-5 | |
199 | Conflicts: lirc < 0.9.0-20 | |
200 | Conflicts: mailman < 5:2.1.14-4 | |
201 | Conflicts: memcached < 1.4.11-2 | |
202 | Conflicts: mpd < 0.16.5-4 | |
203 | Conflicts: mrtg < 2.17.0-3 | |
204 | Conflicts: munin-common < 1.4.5-5 | |
205 | Conflicts: nagios-nrpe < 2.13-2 | |
206 | Conflicts: ndisc6-rdnssd < 1.0.1-3 | |
207 | Conflicts: nscd < 6:2.14.1-5 | |
208 | Conflicts: nss_ldapd-nslcd < 0.8.4-2 | |
209 | Conflicts: openct < 0.6.20-3 | |
210 | Conflicts: openl2tp < 1.8-3 | |
211 | Conflicts: openldap-overlay-nssov < 2.4.28-4 | |
212 | Conflicts: openldap-servers < 2.4.28-4 | |
213 | Conflicts: openvpn < 2.2.2-2 | |
214 | Conflicts: pam-pam_mount < 2.12-3 | |
215 | Conflicts: pam-pam_ssh < 1.97-2 | |
216 | Conflicts: pcsc-lite < 1.8.1-2 | |
217 | Conflicts: php-dirs < 1.2-3 | |
218 | Conflicts: policyd < 2.0.10-3 | |
219 | Conflicts: pound < 2.6-2 | |
220 | Conflicts: pptp < 1.7.2-3 | |
221 | Conflicts: proftpd-common < 2:1.3.4a-2 | |
222 | Conflicts: pulseaudio-server < 1.1-2 | |
223 | Conflicts: quagga < 0.99.20-3 | |
224 | Conflicts: radvd < 1.8.5-2 | |
225 | Conflicts: red5 < 0.9.0-2 | |
226 | Conflicts: redis-server < 2.4.2-4 | |
227 | Conflicts: smokeping < 2.4.2-10 | |
228 | Conflicts: smtp-gated < 1.4.17-2 | |
229 | Conflicts: socat < 1.7.2.0-2 | |
230 | Conflicts: speech-dispatcher < 0.7.1-2 | |
231 | Conflicts: sphinx < 2.0.3-4 | |
232 | Conflicts: splashutils < 1.5.4.3-3 | |
233 | Conflicts: stunnel < 4.50-2 | |
234 | Conflicts: tenshi < 0.12-2 | |
235 | Conflicts: tor < 0.2.2.35-2 | |
236 | Conflicts: ucarp < 1.5.2-3 | |
237 | Conflicts: udisks < 1.0.4-3 | |
238 | Conflicts: util-vserver < 0.30.216-1.pre3002.3 | |
239 | Conflicts: vpnc < 0.5.3-2 | |
240 | Conflicts: web2ldap < 1.1.0rc1-2 | |
241 | Conflicts: wesnoth-server < 1:1.10-2 | |
242 | Conflicts: wpa_supplicant < 0.7.3-10 | |
243 | Conflicts: xl2tpd < 1.3.0-2 | |
244 | # end of tmpfiles conflicts | |
245 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
246 | ||
247 | %define _sbindir /sbin | |
248 | %define _libexecdir %{_prefix}/lib | |
249 | ||
250 | %description | |
251 | systemd is a system and service manager for Linux, compatible with | |
252 | SysV and LSB init scripts. systemd provides aggressive parallelization | |
253 | capabilities, uses socket and D-Bus activation for starting services, | |
254 | offers on-demand starting of daemons, keeps track of processes using | |
255 | Linux cgroups, supports snapshotting and restoring of the system | |
256 | state, maintains mount and automount points and implements an | |
257 | elaborate transactional dependency-based service control logic. It can | |
258 | work as a drop-in replacement for sysvinit. | |
259 | ||
260 | %description -l pl.UTF-8 | |
261 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
262 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
263 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
264 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
265 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
266 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
267 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
268 | zależnościach logikę kontroli usług. Może pracować jako zastępca dla | |
269 | sysvinit. | |
270 | ||
271 | %package init | |
272 | Summary: systemd /sbin/init and LSB/SysV compatibility symlinks | |
273 | Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV | |
274 | Group: Base | |
275 | Requires: systemd | |
276 | Provides: readahead = 1:1.5.7-3 | |
277 | Provides: virtual(init-daemon) | |
278 | Obsoletes: SysVinit | |
279 | Obsoletes: readahead < 1:1.5.7-3 | |
280 | Obsoletes: virtual(init-daemon) | |
281 | Conflicts: upstart | |
282 | ||
283 | %description init | |
284 | Install this package when you are ready to final switch to systemd. | |
285 | ||
286 | %description init -l pl.UTF-8 | |
287 | Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego | |
288 | przejścia na systemd. | |
289 | ||
290 | %package units | |
291 | Summary: Configuration files, directories and installation tool for systemd | |
292 | Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd | |
293 | Group: Base | |
294 | Requires(post): coreutils | |
295 | Requires(post): /bin/awk | |
296 | ||
297 | %description units | |
298 | Basic configuration files, directories and installation tool for the | |
299 | systemd system and service manager. | |
300 | ||
301 | This is common config, use %{_sysconfdir}/systemd/system to override. | |
302 | ||
303 | %description units -l pl.UTF-8 | |
304 | Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla | |
305 | zarządcy systemu i usług systemd. | |
306 | ||
307 | Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać | |
308 | poprzez katalog %{_sysconfdir}/systemd/system. | |
309 | ||
310 | %package plymouth | |
311 | Summary: Plymouth support units for systemd | |
312 | Summary(pl.UTF-8): Jednostki wspierające Plymouth dla systemd | |
313 | Group: Base | |
314 | Requires: %{name}-units = %{epoch}:%{version}-%{release} | |
315 | Requires: plymouth | |
316 | ||
317 | %description plymouth | |
318 | Plymouth (graphical boot) support units for systemd. | |
319 | ||
320 | %description plymouth -l pl.UTF-8 | |
321 | Jednostki wspierające Plymouth (graficzny start systemu) dla systemd. | |
322 | ||
323 | %package analyze | |
324 | Summary: Tool for processing systemd profiling information | |
325 | Summary(pl.UTF-8): Narzędzie do przetwarzania informacji profilujących systemd | |
326 | Group: Base | |
327 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
328 | Requires: python-dbus | |
329 | Requires: python-modules | |
330 | Requires: python-pycairo | |
331 | Conflicts: %{name} < 44-3 | |
332 | ||
333 | %description analyze | |
334 | 'systemd-analyze blame' lists which systemd unit needed how much time | |
335 | to finish initialization at boot. 'systemd-analyze plot' renders an | |
336 | SVG visualizing the parallel start of units at boot. | |
337 | ||
338 | %description analyze -l pl.UTF-8 | |
339 | 'systemd-analyze blame' wypisuje, ile czasu wymagały poszczególne | |
340 | jednostki systemd na zakończenie podczas rozruchu systemu. | |
341 | 'systemd-analyze plot' tworzy wykres SVG wizualizujący równoległy | |
342 | start jednostek podczas rozruchu. | |
343 | ||
344 | %package libs | |
345 | Summary: Shared systemd libraries | |
346 | Summary(pl.UTF-8): Biblioteki współdzielone systemd | |
347 | Group: Libraries | |
348 | ||
349 | %description libs | |
350 | Shared systemd libraries. | |
351 | ||
352 | %description libs -l pl.UTF-8 | |
353 | Biblioteki współdzielone systemd. | |
354 | ||
355 | %package devel | |
356 | Summary: Header files for systemd libraries | |
357 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd | |
358 | Group: Development/Libraries | |
359 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} | |
360 | ||
361 | %description devel | |
362 | Header files for systemd libraries. | |
363 | ||
364 | %description devel -l pl.UTF-8 | |
365 | Pliki nagłówkowe bibliotek systemd. | |
366 | ||
367 | %package -n bash-completion-systemd | |
368 | Summary: bash-completion for systemd | |
369 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd | |
370 | Group: Applications/Shells | |
371 | Requires: %{name} = %{epoch}:%{version} | |
372 | Requires: bash-completion | |
373 | ||
374 | %description -n bash-completion-systemd | |
375 | bash-completion for systemd. | |
376 | ||
377 | %description -n bash-completion-systemd -l pl.UTF-8 | |
378 | Bashowe dopełnianie składni dla systemd. | |
379 | ||
380 | %package -n udev | |
381 | Summary: Device manager for the Linux 2.6 kernel series | |
382 | Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6 | |
383 | Group: Base | |
384 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
385 | Provides: dev = 3.5.0 | |
386 | Obsoletes: dev | |
387 | Obsoletes: hotplug | |
388 | Obsoletes: hotplug-input | |
389 | Obsoletes: hotplug-net | |
390 | Obsoletes: hotplug-pci | |
391 | Obsoletes: udev-compat | |
392 | Obsoletes: udev-dev | |
393 | Obsoletes: udev-extras < 20090628 | |
394 | Obsoletes: udev-tools | |
395 | ||
396 | %description -n udev | |
397 | udev is the device manager for the Linux 2.6 kernel series. Its | |
398 | primary function is managing device nodes in /dev. It is the successor | |
399 | of devfs and hotplug. | |
400 | ||
401 | %description -n udev -l pl.UTF-8 | |
402 | udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest | |
403 | zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i | |
404 | hotpluga. | |
405 | ||
406 | %package -n udev-core | |
407 | Summary: A userspace implementation of devfs - core part of udev | |
408 | Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev | |
409 | Group: Base | |
410 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
411 | Requires: coreutils | |
412 | Requires: filesystem >= 3.0-45 | |
413 | Requires: setup >= 2.6.1-1 | |
414 | Requires: uname(release) >= 2.6.32 | |
415 | Conflicts: rc-scripts < 0.4.5.3-1 | |
416 | Conflicts: systemd-units < 1:183 | |
417 | Conflicts: udev < 1:118-1 | |
418 | ||
419 | %description -n udev-core | |
420 | A userspace implementation of devfs - core part of udev. | |
421 | ||
422 | %description -n udev-core -l pl.UTF-8 | |
423 | Implementacja devfs w przestrzeni użytkownika - główna część udev. | |
424 | ||
425 | %package -n udev-libs | |
426 | Summary: Shared library to access udev device information | |
427 | Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev | |
428 | Group: Libraries | |
429 | ||
430 | %description -n udev-libs | |
431 | Shared libudev library to access udev device information. | |
432 | ||
433 | %description -n udev-libs -l pl.UTF-8 | |
434 | Biblioteka współdzielona libudev służąca do dostępu do informacji o | |
435 | urządzeniach udev. | |
436 | ||
437 | %package -n udev-devel | |
438 | Summary: Header file for libudev library | |
439 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev | |
440 | Group: Development/Libraries | |
441 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
442 | ||
443 | %description -n udev-devel | |
444 | Header file for libudev library. | |
445 | ||
446 | %description -n udev-devel -l pl.UTF-8 | |
447 | Plik nagłówkowy biblioteki libudev. | |
448 | ||
449 | %package -n udev-static | |
450 | Summary: Static libudev library | |
451 | Summary(pl.UTF-8): Biblioteka statyczna libudev | |
452 | Group: Development/Libraries | |
453 | Requires: udev-devel = %{epoch}:%{version}-%{release} | |
454 | ||
455 | %description -n udev-static | |
456 | Static libudev library. | |
457 | ||
458 | %description -n udev-static -l pl.UTF-8 | |
459 | Biblioteka statyczna libudev. | |
460 | ||
461 | %package -n udev-apidocs | |
462 | Summary: libudev API documentation | |
463 | Summary(pl.UTF-8): Dokumentacja API libudev | |
464 | Group: Documentation | |
465 | Requires: gtk-doc-common | |
466 | ||
467 | %description -n udev-apidocs | |
468 | libudev API documentation. | |
469 | ||
470 | %description -n udev-apidocs -l pl.UTF-8 | |
471 | Dokumentacja API libudev. | |
472 | ||
473 | %package -n udev-glib | |
474 | Summary: Shared libgudev library - GObject bindings for libudev | |
475 | Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev | |
476 | Group: Libraries | |
477 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
478 | Requires: glib2 >= 1:2.22.0 | |
479 | ||
480 | %description -n udev-glib | |
481 | Shared libgudev library - GObject bindings for libudev. | |
482 | ||
483 | %description -n udev-glib -l pl.UTF-8 | |
484 | Biblioteka współdzielona libgudev - wiązania GObject do libudev. | |
485 | ||
486 | %package -n udev-glib-devel | |
487 | Summary: Header file for libgudev library | |
488 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev | |
489 | Group: Development/Libraries | |
490 | Requires: udev-devel = %{epoch}:%{version}-%{release} | |
491 | Requires: udev-glib = %{epoch}:%{version}-%{release} | |
492 | Requires: glib2-devel >= 1:2.22.0 | |
493 | ||
494 | %description -n udev-glib-devel | |
495 | Header file for libgudev library. | |
496 | ||
497 | %description -n udev-glib-devel -l pl.UTF-8 | |
498 | Plik nagłówkowy biblioteki libgudev. | |
499 | ||
500 | %package -n udev-glib-static | |
501 | Summary: Static libgudev library | |
502 | Summary(pl.UTF-8): Biblioteka statyczna libgudev | |
503 | Group: Development/Libraries | |
504 | Requires: udev-glib-devel = %{epoch}:%{version}-%{release} | |
505 | ||
506 | %description -n udev-glib-static | |
507 | Static libgudev library. | |
508 | ||
509 | %description -n udev-glib-static -l pl.UTF-8 | |
510 | Biblioteka statyczna libgudev. | |
511 | ||
512 | %package -n udev-glib-apidocs | |
513 | Summary: libgudev API documentation | |
514 | Summary(pl.UTF-8): Dokumentacja API libgudev | |
515 | Group: Documentation | |
516 | Requires: gtk-doc-common | |
517 | ||
518 | %description -n udev-glib-apidocs | |
519 | libgudev API documentation. | |
520 | ||
521 | %description -n udev-glib-apidocs -l pl.UTF-8 | |
522 | Dokumentacja API libgudev. | |
523 | ||
524 | %package -n udev-initrd | |
525 | Summary: A userspace implementation of devfs - static binary for initrd | |
526 | Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd | |
527 | Group: Base | |
528 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
529 | Conflicts: geninitrd < 10000.10 | |
530 | ||
531 | %description -n udev-initrd | |
532 | A userspace implementation of devfs - static binary for initrd. | |
533 | ||
534 | %description -n udev-initrd -l pl.UTF-8 | |
535 | Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla | |
536 | initrd. | |
537 | ||
538 | %prep | |
539 | %setup -q | |
540 | %patch0 -p1 | |
541 | %patch1 -p1 | |
542 | #patch2 -p1 | |
543 | %patch3 -p1 | |
544 | %patch4 -p1 | |
545 | %patch5 -p1 | |
546 | %patch6 -p1 | |
547 | %if %{with uClibc} | |
548 | %patch7 -p1 | |
549 | %endif | |
550 | %patch8 -p1 | |
551 | %patch9 -p1 | |
552 | %patch11 -p1 | |
553 | %patch12 -p1 | |
554 | cp -p %{SOURCE2} src/systemd_booted.c | |
555 | ||
556 | %build | |
557 | %{__gtkdocize} | |
558 | %{__libtoolize} | |
559 | %{__aclocal} -I m4 | |
560 | %{__autoconf} | |
561 | %{__autoheader} | |
562 | %{__automake} | |
563 | %if %{with initrd} | |
564 | patch -p1 <%{PATCH10} | |
565 | %configure \ | |
566 | %if "%{?configure_cache}" == "1" | |
567 | --cache-file=%{?configure_cache_file}%{!?configure_cache_file:configure}-initrd.cache \ | |
568 | %endif | |
569 | %{?with_uClibc:CC="%{_target_cpu}-uclibc-gcc"} \ | |
570 | %{?with_dietlibc:CC="diet %{__cc} %{rpmcflags} %{rpmldflags} -Os -D_BSD_SOURCE"} \ | |
571 | %{?with_klibc:CC="%{_bindir}/klcc"} \ | |
572 | %{?debug:--enable-debug} \ | |
573 | --disable-silent-rules \ | |
574 | --disable-shared \ | |
575 | --enable-static \ | |
576 | --with-distro=pld \ | |
577 | --with-rootprefix="" \ | |
578 | --with-rootlibdir=/%{_lib} \ | |
579 | --disable-gudev \ | |
580 | --disable-keymap \ | |
581 | --disable-gtk-doc \ | |
582 | --disable-introspection \ | |
583 | --with-pci-ids-path=%{_sysconfdir}/pci.ids \ | |
584 | --disable-audit \ | |
585 | --disable-pam \ | |
586 | --disable-plymouth \ | |
587 | --disable-selinux \ | |
588 | --enable-split-usr | |
589 | ||
590 | %{__make} \ | |
591 | libudev-core.la \ | |
592 | systemd-udevd \ | |
593 | udevadm \ | |
594 | ata_id \ | |
595 | cdrom_id \ | |
596 | collect \ | |
597 | scsi_id \ | |
598 | v4l_id \ | |
599 | accelerometer \ | |
600 | mtd_probe \ | |
601 | LDFLAGS="-all-static" \ | |
602 | KMOD_LIBS="-lkmod -lz -llzma" | |
603 | ||
604 | mkdir udev-initrd | |
605 | cp -a systemd-udevd \ | |
606 | udevadm \ | |
607 | ata_id \ | |
608 | cdrom_id \ | |
609 | collect \ | |
610 | scsi_id \ | |
611 | v4l_id \ | |
612 | accelerometer \ | |
613 | mtd_probe \ | |
614 | udev-initrd/ | |
615 | ||
616 | %{__make} clean | |
617 | patch -p1 -R <%{PATCH10} | |
618 | %endif | |
619 | ||
620 | %configure \ | |
621 | %{?debug:--enable-debug} \ | |
622 | %{__enable_disable audit} \ | |
623 | %{__enable_disable cryptsetup libcryptsetup} \ | |
624 | %{__enable_disable pam} \ | |
625 | %{__enable_disable plymouth} \ | |
626 | %{__enable_disable selinux} \ | |
627 | %{__enable_disable tcpd tcpwrap} \ | |
628 | --disable-silent-rules \ | |
629 | --enable-shared \ | |
630 | --enable-static \ | |
631 | --with-distro=pld \ | |
632 | --with-rootprefix="" \ | |
633 | --with-rootlibdir=/%{_lib} \ | |
634 | --with-html-dir=%{_gtkdocdir} \ | |
635 | --with-pci-ids-path=%{_sysconfdir}/pci.ids \ | |
636 | --enable-gtk-doc \ | |
637 | --enable-introspection \ | |
638 | --enable-split-usr | |
639 | ||
640 | %{__make} | |
641 | ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon | |
642 | ||
643 | %install | |
644 | rm -rf $RPM_BUILD_ROOT | |
645 | install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump \ | |
646 | $RPM_BUILD_ROOT{%{_sysconfdir}/modprobe.d,%{_sbindir}} | |
647 | ||
648 | %{__make} install \ | |
649 | DESTDIR=$RPM_BUILD_ROOT | |
650 | ||
651 | ./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted | |
652 | ||
653 | # compatibility symlinks to udevd binary | |
654 | mv $RPM_BUILD_ROOT/lib/{systemd/systemd-,udev/}udevd | |
655 | ln -s /lib/udev/udevd $RPM_BUILD_ROOT/lib/systemd/systemd-udevd | |
656 | ln -s /lib/udev/udevd $RPM_BUILD_ROOT%{_sbindir}/udevd | |
657 | ||
658 | # compat symlinks for "/ merged into /usr" programs | |
659 | mv $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/udevadm | |
660 | ln -s %{_sbindir}/udevadm $RPM_BUILD_ROOT%{_bindir} | |
661 | ln -s /lib/udev $RPM_BUILD_ROOT/usr/lib/ | |
662 | ||
663 | # install custom udev rules from pld package | |
664 | cp -a %{SOURCE101} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/40-alsa-restore.rules | |
665 | cp -a %{SOURCE102} $RPM_BUILD_ROOT%{_sysconfdir}/udev/rules.d/70-udev-pld.rules | |
666 | ||
667 | # install udev configs | |
668 | cp -a %{SOURCE103} $RPM_BUILD_ROOT%{_sysconfdir}/udev/links.conf | |
669 | ||
670 | # install udev executables (scripts, helpers, etc.) | |
671 | install -p %{SOURCE110} $RPM_BUILD_ROOT/lib/udev/net_helper | |
672 | install -p %{SOURCE111} $RPM_BUILD_ROOT%{_sbindir}/start_udev | |
673 | ||
674 | # install misc udev stuff | |
675 | cp -a %{SOURCE120} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/udev_blacklist.conf | |
676 | cp -a %{SOURCE121} $RPM_BUILD_ROOT%{_sysconfdir}/modprobe.d/fbdev-blacklist.conf | |
677 | ||
678 | mv $RPM_BUILD_ROOT%{_mandir}/man8/{systemd-,}udevd.8 | |
679 | echo ".so man8/udevd.8" >$RPM_BUILD_ROOT%{_mandir}/man8/systemd-udevd.8 | |
680 | ||
681 | %if %{with initrd} | |
682 | install -d $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
683 | install -p udev-initrd/udevadm $RPM_BUILD_ROOT%{_libdir}/initrd | |
684 | install -p udev-initrd/systemd-udevd $RPM_BUILD_ROOT%{_libdir}/initrd | |
685 | # hardlink udevd -> systemd-udevd | |
686 | ln $RPM_BUILD_ROOT%{_libdir}/initrd/{systemd-,}udevd | |
687 | ln -s udevd $RPM_BUILD_ROOT%{_libdir}/initrd/udevstart | |
688 | install -p udev-initrd/*_id $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
689 | install -p udev-initrd/collect $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
690 | install -p udev-initrd/mtd_probe $RPM_BUILD_ROOT%{_libdir}/initrd/udev | |
691 | %endif | |
692 | ||
693 | # Main binary has been moved, but we don't want to break existing installs | |
694 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd | |
695 | ||
696 | # Create SysV compatibility symlinks. systemctl/systemd are smart | |
697 | # enough to detect the way they were called | |
698 | install -d $RPM_BUILD_ROOT/sbin | |
699 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init | |
700 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt | |
701 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff | |
702 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot | |
703 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel | |
704 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown | |
705 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit | |
706 | ||
707 | ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf | |
708 | ||
709 | # disable redundant SYSV services | |
710 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service | |
711 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service | |
712 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service | |
713 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service | |
714 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service | |
715 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service | |
716 | ||
717 | # add static (non-NetworkManager) networking | |
718 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service | |
719 | ||
720 | # restore bind-mounts /var/run -> run and /var/lock -> /run/lock | |
721 | # we don't have those directories symlinked | |
722 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount | |
723 | cp -p %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount | |
724 | ln -s ../var-lock.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
725 | ln -s ../var-run.mount $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
726 | ||
727 | # and remove tmp on tmpfs mount | |
728 | %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount | |
729 | %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants/tmp.mount | |
730 | ||
731 | # Install and enable storage subsystems support services (RAID, LVM, etc.) | |
732 | cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service | |
733 | cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service | |
734 | cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service | |
735 | cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service | |
736 | install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init | |
737 | install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp | |
738 | ||
739 | ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
740 | ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
741 | ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
742 | ||
743 | # handled by rc-local sysv service, no need for generator | |
744 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator | |
745 | ||
746 | # Make sure these directories are properly owned: | |
747 | # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd, | |
748 | # - syslog _might_ be used by some syslog implementation (none for now), | |
749 | # - isn't dbus populated by dbus-systemd only (so to be moved there)? | |
750 | install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants | |
751 | ||
752 | # Create new-style configuration files so that we can ghost-own them | |
753 | touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf} | |
754 | ||
755 | # Install SysV conversion tool for systemd | |
756 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} | |
757 | ||
758 | install -d $RPM_BUILD_ROOT/var/log | |
759 | :> $RPM_BUILD_ROOT/var/log/btmp | |
760 | :> $RPM_BUILD_ROOT/var/log/wtmp | |
761 | ||
762 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
763 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la | |
764 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
765 | ||
766 | %clean | |
767 | rm -rf $RPM_BUILD_ROOT | |
768 | ||
769 | %post | |
770 | /bin/systemd-machine-id-setup > /dev/null 2>&1 || : | |
771 | /bin/systemctl daemon-reexec > /dev/null 2>&1 || : | |
772 | ||
773 | %postun | |
774 | if [ $1 -ge 1 ]; then | |
775 | /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : | |
776 | fi | |
777 | ||
778 | %post libs -p /sbin/ldconfig | |
779 | %postun libs -p /sbin/ldconfig | |
780 | ||
781 | %post units | |
782 | if [ $1 -eq 1 ]; then | |
783 | # Try to read default runlevel from the old inittab if it exists | |
784 | runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) | |
785 | if [ -z "$runlevel" ] ; then | |
786 | target="%{systemdunitdir}/graphical.target" | |
787 | else | |
788 | target="%{systemdunitdir}/runlevel$runlevel.target" | |
789 | fi | |
790 | ||
791 | # And symlink what we found to the new-style default.target | |
792 | ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : | |
793 | ||
794 | # Setup hostname | |
795 | [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network | |
796 | if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then | |
797 | [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave | |
798 | echo $HOSTNAME > /etc/hostname | |
799 | chmod 644 /etc/hostname | |
800 | fi | |
801 | ||
802 | # Enable the services we install by default. | |
803 | /bin/systemctl enable \ | |
804 | getty@.service \ | |
805 | network.service \ | |
806 | remote-fs.target \ | |
807 | systemd-readahead-replay.service \ | |
808 | systemd-readahead-collect.service \ | |
809 | systemd-udev-settle.service >/dev/null 2>&1 || : | |
810 | fi | |
811 | ||
812 | %preun units | |
813 | if [ $1 -eq 0 ] ; then | |
814 | /bin/systemctl disable \ | |
815 | getty@.service \ | |
816 | network.service \ | |
817 | remote-fs.target \ | |
818 | systemd-readahead-replay.service \ | |
819 | systemd-readahead-collect.service \ | |
820 | systemd-udev-settle.service >/dev/null 2>&1 || : | |
821 | ||
822 | %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : | |
823 | fi | |
824 | ||
825 | %postun units | |
826 | if [ $1 -ge 1 ]; then | |
827 | /bin/systemctl daemon-reload > /dev/null 2>&1 || : | |
828 | fi | |
829 | ||
830 | %triggerpostun units -- systemd-units < 43-7 | |
831 | # Remove design fialures | |
832 | %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || : | |
833 | %{__rm} -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service >/dev/null 2>&1 || : | |
834 | %{__rm} -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service >/dev/null 2>&1 || : | |
835 | /bin/systemctl reenable network.service >/dev/null 2>&1 || : | |
836 | ||
837 | %triggerpostun units -- systemd-units < 1:183 | |
838 | /bin/systemctl --quiet enable systemd-udev-settle.service >/dev/null 2>&1 || : | |
839 | %{__rm} -f /etc/systemd/system/basic.target.wants/udev-settle.service >/dev/null 2>&1 || : | |
840 | # preserve renamed configs | |
841 | if [ -f /etc/systemd/systemd-journald.conf.rpmsave ]; then | |
842 | %{__mv} /etc/systemd/journald.conf{,.rpmnew} | |
843 | %{__mv} -f /etc/systemd/systemd-journald.conf.rpmsave /etc/systemd/journald.conf | |
844 | fi | |
845 | if [ -f /etc/systemd/systemd-logind.conf.rpmsave ]; then | |
846 | %{__mv} /etc/systemd/logind.conf{,.rpmnew} | |
847 | %{__mv} -f /etc/systemd/systemd-logind.conf.rpmsave /etc/systemd/logind.conf | |
848 | fi | |
849 | ||
850 | %post plymouth | |
851 | %systemd_reload | |
852 | ||
853 | %postun plymouth | |
854 | %systemd_reload | |
855 | ||
856 | %triggerpostun -n udev-core -- dev | |
857 | if [ "$2" = 0 ]; then | |
858 | # need to kill and restart udevd as after obsoleting dev package the | |
859 | # /dev tree will remain empty. umask is needed as otherwise udev will | |
860 | # create devices with strange permissions (udev bug probably) | |
861 | umask 000 | |
862 | /sbin/start_udev || exit 0 | |
863 | fi | |
864 | ||
865 | %triggerpostun -n udev-core -- udev < 108 | |
866 | %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules | |
867 | %if "%{_lib}" != "lib" | |
868 | %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules | |
869 | %endif | |
870 | ||
871 | %triggerpostun -n udev-core -- udev < 165 | |
872 | /sbin/udevadm info --convert-db | |
873 | ||
874 | %post -n udev-core | |
875 | if [ $1 -gt 1 ]; then | |
876 | if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then | |
877 | if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then | |
878 | /sbin/udevadm control --exit | |
879 | /lib/udev/udevd --daemon | |
880 | fi | |
881 | else | |
882 | SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \ | |
883 | /bin/systemctl --quiet try-restart systemd-udev.service || : | |
884 | fi | |
885 | fi | |
886 | ||
887 | %postun -n udev-core | |
888 | if [ -x /bin/systemd_booted ] && /bin/systemd_booted; then | |
889 | SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \ | |
890 | /bin/systemctl --quiet daemon-reload || : | |
891 | fi | |
892 | ||
893 | %post -n udev-libs -p /sbin/ldconfig | |
894 | %postun -n udev-libs -p /sbin/ldconfig | |
895 | ||
896 | %post -n udev-glib -p /sbin/ldconfig | |
897 | %postun -n udev-glib -p /sbin/ldconfig | |
898 | ||
899 | %files | |
900 | %defattr(644,root,root,755) | |
901 | %doc DISTRO_PORTING README TODO | |
902 | /etc/dbus-1/system.d/org.freedesktop.hostname1.conf | |
903 | /etc/dbus-1/system.d/org.freedesktop.locale1.conf | |
904 | /etc/dbus-1/system.d/org.freedesktop.login1.conf | |
905 | /etc/dbus-1/system.d/org.freedesktop.systemd1.conf | |
906 | /etc/dbus-1/system.d/org.freedesktop.timedate1.conf | |
907 | %ghost %config(noreplace) %{_sysconfdir}/machine-id | |
908 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname | |
909 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf | |
910 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info | |
911 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone | |
912 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf | |
913 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/journald.conf | |
914 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/logind.conf | |
915 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system.conf | |
916 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/user.conf | |
917 | %dir %{_sysconfdir}/systemd/user | |
918 | %dir %{_sysconfdir}/systemd/system/*.target.wants | |
919 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service | |
920 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target | |
921 | /etc/xdg/systemd | |
922 | %attr(755,root,root) /bin/journalctl | |
923 | %attr(755,root,root) /bin/loginctl | |
924 | %attr(755,root,root) /bin/systemd | |
925 | %attr(755,root,root) /bin/systemd-ask-password | |
926 | %attr(755,root,root) /bin/systemd-inhibit | |
927 | %attr(755,root,root) /bin/systemd-machine-id-setup | |
928 | %attr(755,root,root) /bin/systemd-notify | |
929 | %attr(755,root,root) /bin/systemd-tty-ask-password-agent | |
930 | %attr(755,root,root) %{_bindir}/systemd-cat | |
931 | %attr(755,root,root) %{_bindir}/systemd-cgtop | |
932 | %attr(755,root,root) %{_bindir}/systemd-cgls | |
933 | %attr(755,root,root) %{_bindir}/systemd-delta | |
934 | %attr(755,root,root) %{_bindir}/systemd-detect-virt | |
935 | %attr(755,root,root) %{_bindir}/systemd-nspawn | |
936 | %attr(755,root,root) %{_bindir}/systemd-stdio-bridge | |
937 | %attr(755,root,root) %{_bindir}/systemd-sysv-convert | |
938 | %attr(755,root,root) /lib/systemd/pld-clean-tmp | |
939 | %attr(755,root,root) /lib/systemd/pld-storage-init | |
940 | %attr(755,root,root) /lib/systemd/systemd-ac-power | |
941 | %attr(755,root,root) /lib/systemd/systemd-binfmt | |
942 | %attr(755,root,root) /lib/systemd/systemd-cgroups-agent | |
943 | %attr(755,root,root) /lib/systemd/systemd-coredump | |
944 | %attr(755,root,root) /lib/systemd/systemd-cryptsetup | |
945 | %attr(755,root,root) /lib/systemd/systemd-fsck | |
946 | %attr(755,root,root) /lib/systemd/systemd-hostnamed | |
947 | %attr(755,root,root) /lib/systemd/systemd-initctl | |
948 | %attr(755,root,root) /lib/systemd/systemd-journald | |
949 | %attr(755,root,root) /lib/systemd/systemd-localed | |
950 | %attr(755,root,root) /lib/systemd/systemd-logind | |
951 | %attr(755,root,root) /lib/systemd/systemd-modules-load | |
952 | %attr(755,root,root) /lib/systemd/systemd-multi-seat-x | |
953 | %attr(755,root,root) /lib/systemd/systemd-quotacheck | |
954 | %attr(755,root,root) /lib/systemd/systemd-random-seed | |
955 | %attr(755,root,root) /lib/systemd/systemd-readahead-collect | |
956 | %attr(755,root,root) /lib/systemd/systemd-readahead-replay | |
957 | %attr(755,root,root) /lib/systemd/systemd-remount-fs | |
958 | %attr(755,root,root) /lib/systemd/systemd-reply-password | |
959 | %attr(755,root,root) /lib/systemd/systemd-shutdown | |
960 | %attr(755,root,root) /lib/systemd/systemd-shutdownd | |
961 | %attr(755,root,root) /lib/systemd/systemd-sleep | |
962 | %attr(755,root,root) /lib/systemd/systemd-sysctl | |
963 | %attr(755,root,root) /lib/systemd/systemd-timedated | |
964 | %attr(755,root,root) /lib/systemd/systemd-timestamp | |
965 | %attr(755,root,root) /lib/systemd/systemd-udevd | |
966 | %attr(755,root,root) /lib/systemd/systemd-update-utmp | |
967 | %attr(755,root,root) /lib/systemd/systemd-user-sessions | |
968 | %attr(755,root,root) /lib/systemd/systemd-vconsole-setup | |
969 | %dir /lib/systemd/system-generators | |
970 | %attr(755,root,root) /lib/systemd/systemd | |
971 | %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator | |
972 | %dir /lib/systemd/system-shutdown | |
973 | /lib/udev/rules.d/99-systemd.rules | |
974 | /lib/udev/rules.d/70-uaccess.rules | |
975 | /lib/udev/rules.d/71-seat.rules | |
976 | /lib/udev/rules.d/73-seat-late.rules | |
977 | %dir %{_libexecdir}/systemd | |
978 | %{_libexecdir}/systemd/user | |
979 | %dir %{_libexecdir}/systemd/user-generators | |
980 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/legacy.conf | |
981 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/systemd.conf | |
982 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/tmp.conf | |
983 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/x11.conf | |
984 | %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml | |
985 | %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml | |
986 | %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml | |
987 | %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml | |
988 | %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service | |
989 | %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service | |
990 | %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service | |
991 | %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service | |
992 | %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service | |
993 | %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service | |
994 | %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy | |
995 | %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy | |
996 | %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy | |
997 | %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy | |
998 | %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy | |
999 | %dir %{_datadir}/systemd | |
1000 | %{_datadir}/systemd/kbd-model-map | |
1001 | %{_mandir}/man1/journalctl.1* | |
1002 | %{_mandir}/man1/loginctl.1* | |
1003 | %{_mandir}/man1/systemd.1* | |
1004 | %{_mandir}/man1/systemd-ask-password.1* | |
1005 | %{_mandir}/man1/systemd-cat.1* | |
1006 | %{_mandir}/man1/systemd-cgls.1* | |
1007 | %{_mandir}/man1/systemd-cgtop.1* | |
1008 | %{_mandir}/man1/systemd-delta.1* | |
1009 | %{_mandir}/man1/systemd-detect-virt.1* | |
1010 | %{_mandir}/man1/systemd-inhibit.1* | |
1011 | %{_mandir}/man1/systemd-machine-id-setup.1* | |
1012 | %{_mandir}/man1/systemd-notify.1* | |
1013 | %{_mandir}/man1/systemd-nspawn.1* | |
1014 | %{_mandir}/man5/binfmt.d.5* | |
1015 | %{_mandir}/man5/hostname.5* | |
1016 | %{_mandir}/man5/journald.conf.5* | |
1017 | %{_mandir}/man5/locale.conf.5* | |
1018 | %{_mandir}/man5/logind.conf.5* | |
1019 | %{_mandir}/man5/machine-id.5* | |
1020 | %{_mandir}/man5/machine-info.5* | |
1021 | %{_mandir}/man5/modules-load.d.5* | |
1022 | %{_mandir}/man5/os-release.5* | |
1023 | %{_mandir}/man5/sysctl.d.5* | |
1024 | %{_mandir}/man5/systemd.*.5* | |
1025 | %{_mandir}/man5/timezone.5* | |
1026 | %{_mandir}/man5/vconsole.conf.5* | |
1027 | %{_mandir}/man7/daemon.7* | |
1028 | %{_mandir}/man7/sd-daemon.7* | |
1029 | %{_mandir}/man7/sd-login.7* | |
1030 | %{_mandir}/man7/sd-readahead.7* | |
1031 | %{_mandir}/man7/systemd.special.7* | |
1032 | %{_mandir}/man7/systemd.journal-fields.7* | |
1033 | %{_mandir}/man8/systemd-binfmt.8* | |
1034 | %{_mandir}/man8/systemd-binfmt.service.8* | |
1035 | %{_mandir}/man8/systemd-journald.8* | |
1036 | %{_mandir}/man8/systemd-journald.service.8* | |
1037 | %{_mandir}/man8/systemd-logind.8* | |
1038 | %{_mandir}/man8/systemd-logind.service.8* | |
1039 | %{_mandir}/man8/systemd-modules-load.8* | |
1040 | %{_mandir}/man8/systemd-modules-load.service.8* | |
1041 | %{_mandir}/man8/systemd-sysctl.8* | |
1042 | %{_mandir}/man8/systemd-sysctl.service.8* | |
1043 | %{_mandir}/man8/systemd-udevd.8* | |
1044 | %dir /var/lib/%{name} | |
1045 | %dir /var/lib/%{name}/coredump | |
1046 | %attr(640,root,root) %ghost /var/log/btmp | |
1047 | %attr(664,root,utmp) %ghost /var/log/wtmp | |
1048 | ||
1049 | %if %{with pam} | |
1050 | %attr(755,root,root) /%{_lib}/security/pam_systemd.so | |
1051 | %{_mandir}/man8/pam_systemd.8* | |
1052 | %endif | |
1053 | ||
1054 | %files init | |
1055 | %defattr(644,root,root,755) | |
1056 | %attr(755,root,root) /sbin/halt | |
1057 | %attr(755,root,root) /sbin/init | |
1058 | %attr(755,root,root) /sbin/poweroff | |
1059 | %attr(755,root,root) /sbin/reboot | |
1060 | %attr(755,root,root) /sbin/runlevel | |
1061 | %attr(755,root,root) /sbin/shutdown | |
1062 | %attr(755,root,root) /sbin/telinit | |
1063 | %{_mandir}/man1/init.1 | |
1064 | %{_mandir}/man8/halt.8* | |
1065 | %{_mandir}/man8/poweroff.8 | |
1066 | %{_mandir}/man8/reboot.8 | |
1067 | %{_mandir}/man8/runlevel.8* | |
1068 | %{_mandir}/man8/shutdown.8* | |
1069 | %{_mandir}/man8/telinit.8* | |
1070 | ||
1071 | %files units | |
1072 | %defattr(644,root,root,755) | |
1073 | %dir %{_sysconfdir}/binfmt.d | |
1074 | %dir %{_sysconfdir}/modules-load.d | |
1075 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf | |
1076 | %dir %{_sysconfdir}/sysctl.d | |
1077 | %dir %{_sysconfdir}/systemd | |
1078 | %dir %{_sysconfdir}/systemd/system | |
1079 | %dir %{_sysconfdir}/tmpfiles.d | |
1080 | %dir %{_libexecdir}/binfmt.d | |
1081 | %dir %{_libexecdir}/modules-load.d | |
1082 | %dir %{_libexecdir}/sysctl.d | |
1083 | # Don't package the kernel.core_pattern setting until systemd-coredump | |
1084 | # is a part of an actual systemd release and it's made clear how to | |
1085 | # get the core dumps out of the journal. | |
1086 | #%{_libexecdir}/sysctl.d/coredump.conf | |
1087 | %attr(755,root,root) /bin/systemctl | |
1088 | %attr(755,root,root) /bin/systemd-tmpfiles | |
1089 | %attr(755,root,root) /bin/systemd_booted | |
1090 | %{_mandir}/man1/systemctl.1* | |
1091 | %{_mandir}/man5/tmpfiles.d.5* | |
1092 | %{_mandir}/man8/systemd-tmpfiles.8* | |
1093 | %{_npkgconfigdir}/systemd.pc | |
1094 | ||
1095 | %{systemdunitdir}/*.automount | |
1096 | %{systemdunitdir}/*.mount | |
1097 | %{systemdunitdir}/*.path | |
1098 | %{systemdunitdir}/*.service | |
1099 | %{systemdunitdir}/*.socket | |
1100 | %{systemdunitdir}/*.target | |
1101 | %{systemdunitdir}/*.timer | |
1102 | %if %{with plymouth} | |
1103 | %exclude %{systemdunitdir}/plymouth*.service | |
1104 | %exclude %{systemdunitdir}/systemd-ask-password-plymouth.* | |
1105 | %endif | |
1106 | %dir %{systemdunitdir}/basic.target.wants | |
1107 | %dir %{systemdunitdir}/dbus.target.wants | |
1108 | %dir %{systemdunitdir}/final.target.wants | |
1109 | %dir %{systemdunitdir}/graphical.target.wants | |
1110 | %dir %{systemdunitdir}/halt.target.wants | |
1111 | %dir %{systemdunitdir}/kexec.target.wants | |
1112 | %dir %{systemdunitdir}/local-fs.target.wants | |
1113 | %dir %{systemdunitdir}/multi-user.target.wants | |
1114 | %dir %{systemdunitdir}/poweroff.target.wants | |
1115 | %dir %{systemdunitdir}/reboot.target.wants | |
1116 | %dir %{systemdunitdir}/runlevel[12345].target.wants | |
1117 | %dir %{systemdunitdir}/shutdown.target.wants | |
1118 | %dir %{systemdunitdir}/sockets.target.wants | |
1119 | %dir %{systemdunitdir}/sysinit.target.wants | |
1120 | %dir %{systemdunitdir}/syslog.target.wants | |
1121 | %config(noreplace,missingok) %{systemdunitdir}/basic.target.wants/* | |
1122 | %config(noreplace,missingok) %{systemdunitdir}/final.target.wants/* | |
1123 | %config(noreplace,missingok) %{systemdunitdir}/graphical.target.wants/* | |
1124 | %config(noreplace,missingok) %{systemdunitdir}/local-fs.target.wants/* | |
1125 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/getty.target | |
1126 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/rc-local.service | |
1127 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path | |
1128 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-logind.service | |
1129 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service | |
1130 | %config(noreplace,missingok) %{systemdunitdir}/runlevel[12345].target.wants/* | |
1131 | %config(noreplace,missingok) %{systemdunitdir}/shutdown.target.wants/* | |
1132 | %config(noreplace,missingok) %{systemdunitdir}/sockets.target.wants/* | |
1133 | %{?with_cryptsetup:%config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/cryptsetup.target} | |
1134 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount | |
1135 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount | |
1136 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount | |
1137 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/sys-*.mount | |
1138 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/systemd-* | |
1139 | ||
1140 | %if %{with plymouth} | |
1141 | %files plymouth | |
1142 | %defattr(644,root,root,755) | |
1143 | %{systemdunitdir}/plymouth-halt.service | |
1144 | %{systemdunitdir}/plymouth-kexec.service | |
1145 | %{systemdunitdir}/plymouth-poweroff.service | |
1146 | %{systemdunitdir}/plymouth-quit-wait.service | |
1147 | %{systemdunitdir}/plymouth-quit.service | |
1148 | %{systemdunitdir}/plymouth-read-write.service | |
1149 | %{systemdunitdir}/plymouth-reboot.service | |
1150 | %{systemdunitdir}/plymouth-start.service | |
1151 | %{systemdunitdir}/systemd-ask-password-plymouth.path | |
1152 | %{systemdunitdir}/systemd-ask-password-plymouth.service | |
1153 | %config(noreplace,missingok) %{systemdunitdir}/halt.target.wants/plymouth-halt.service | |
1154 | %config(noreplace,missingok) %{systemdunitdir}/kexec.target.wants/plymouth-kexec.service | |
1155 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/plymouth-quit.service | |
1156 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/plymouth-quit-wait.service | |
1157 | %config(noreplace,missingok) %{systemdunitdir}/poweroff.target.wants/plymouth-poweroff.service | |
1158 | %config(noreplace,missingok) %{systemdunitdir}/reboot.target.wants/plymouth-reboot.service | |
1159 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/plymouth-read-write.service | |
1160 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/plymouth-start.service | |
1161 | %endif | |
1162 | ||
1163 | %files analyze | |
1164 | %defattr(644,root,root,755) | |
1165 | %attr(755,root,root) %{_bindir}/systemd-analyze | |
1166 | ||
1167 | %files libs | |
1168 | %defattr(644,root,root,755) | |
1169 | %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.* | |
1170 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0 | |
1171 | %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.* | |
1172 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0 | |
1173 | %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.* | |
1174 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0 | |
1175 | %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.* | |
1176 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0 | |
1177 | ||
1178 | %files devel | |
1179 | %defattr(644,root,root,755) | |
1180 | %attr(755,root,root) %{_libdir}/libsystemd-daemon.so | |
1181 | %attr(755,root,root) %{_libdir}/libsystemd-id128.so | |
1182 | %attr(755,root,root) %{_libdir}/libsystemd-journal.so | |
1183 | %attr(755,root,root) %{_libdir}/libsystemd-login.so | |
1184 | %{_includedir}/%{name} | |
1185 | %{_pkgconfigdir}/libsystemd-daemon.pc | |
1186 | %{_pkgconfigdir}/libsystemd-id128.pc | |
1187 | %{_pkgconfigdir}/libsystemd-journal.pc | |
1188 | %{_pkgconfigdir}/libsystemd-login.pc | |
1189 | %{_mandir}/man3/sd_booted.3* | |
1190 | %{_mandir}/man3/sd_get_seats.3* | |
1191 | %{_mandir}/man3/sd_get_sessions.3* | |
1192 | %{_mandir}/man3/sd_get_uids.3* | |
1193 | %{_mandir}/man3/sd_is_fifo.3* | |
1194 | %{_mandir}/man3/sd_is_mq.3* | |
1195 | %{_mandir}/man3/sd_is_socket.3 | |
1196 | %{_mandir}/man3/sd_is_socket_inet.3 | |
1197 | %{_mandir}/man3/sd_is_socket_unix.3 | |
1198 | %{_mandir}/man3/sd_listen_fds.3* | |
1199 | %{_mandir}/man3/sd_login_monitor_flush.3* | |
1200 | %{_mandir}/man3/sd_login_monitor_get_fd.3* | |
1201 | %{_mandir}/man3/sd_login_monitor_new.3* | |
1202 | %{_mandir}/man3/sd_login_monitor_unref.3* | |
1203 | %{_mandir}/man3/sd_notify.3* | |
1204 | %{_mandir}/man3/sd_notifyf.3 | |
1205 | %{_mandir}/man3/sd_pid_get_owner_uid.3* | |
1206 | %{_mandir}/man3/sd_pid_get_session.3* | |
1207 | %{_mandir}/man3/sd_pid_get_unit.3* | |
1208 | %{_mandir}/man3/sd_readahead.3* | |
1209 | %{_mandir}/man3/sd_seat_can_multi_session.3* | |
1210 | %{_mandir}/man3/sd_seat_get_active.3* | |
1211 | %{_mandir}/man3/sd_seat_get_sessions.3* | |
1212 | %{_mandir}/man3/sd_session_get_class.3* | |
1213 | %{_mandir}/man3/sd_session_get_display.3* | |
1214 | %{_mandir}/man3/sd_session_get_seat.3* | |
1215 | %{_mandir}/man3/sd_session_get_service.3* | |
1216 | %{_mandir}/man3/sd_session_get_type.3* | |
1217 | %{_mandir}/man3/sd_session_get_uid.3* | |
1218 | %{_mandir}/man3/sd_session_is_active.3* | |
1219 | %{_mandir}/man3/sd_uid_get_seats.3* | |
1220 | %{_mandir}/man3/sd_uid_get_sessions.3* | |
1221 | %{_mandir}/man3/sd_uid_get_state.3* | |
1222 | %{_mandir}/man3/sd_uid_is_on_seat.3* | |
1223 | ||
1224 | %files -n bash-completion-systemd | |
1225 | %defattr(644,root,root,755) | |
1226 | /etc/bash_completion.d/systemd-bash-completion.sh | |
1227 | ||
1228 | %files -n udev | |
1229 | %defattr(644,root,root,755) | |
1230 | %dev(c,1,3) %attr(666,root,root) /dev/null | |
1231 | %dev(c,5,1) %attr(660,root,console) /dev/console | |
1232 | %dev(c,1,5) %attr(666,root,root) /dev/zero | |
1233 | ||
1234 | %files -n udev-core | |
1235 | %defattr(644,root,root,755) | |
1236 | ||
1237 | /usr/lib/udev | |
1238 | ||
1239 | # /lib/udev/devices/ are not read anymore; systemd-tmpfiles | |
1240 | # should be used to create dead device nodes as workarounds for broken | |
1241 | # subsystems. | |
1242 | %dir /lib/udev/devices | |
1243 | ||
1244 | %attr(755,root,root) /lib/udev/collect | |
1245 | ||
1246 | %attr(755,root,root) /lib/udev/keyboard-force-release.sh | |
1247 | ||
1248 | %attr(755,root,root) /lib/udev/net_helper | |
1249 | ||
1250 | %attr(755,root,root) /lib/udev/ata_id | |
1251 | %attr(755,root,root) /lib/udev/cdrom_id | |
1252 | %attr(755,root,root) /lib/udev/mtd_probe | |
1253 | %attr(755,root,root) /lib/udev/scsi_id | |
1254 | %attr(755,root,root) /lib/udev/v4l_id | |
1255 | ||
1256 | %attr(755,root,root) /lib/udev/udevd | |
1257 | ||
1258 | %attr(755,root,root) /lib/udev/keymap | |
1259 | %dir /lib/udev/keymaps | |
1260 | /lib/udev/keymaps/* | |
1261 | ||
1262 | %attr(755,root,root) /lib/udev/accelerometer | |
1263 | %attr(755,root,root) /lib/udev/findkeyboards | |
1264 | ||
1265 | %attr(755,root,root) %{_sbindir}/start_udev | |
1266 | %attr(755,root,root) %{_sbindir}/udevd | |
1267 | %attr(755,root,root) %{_sbindir}/udevadm | |
1268 | %attr(755,root,root) %{_bindir}/udevadm | |
1269 | ||
1270 | %dir %{_sysconfdir}/udev | |
1271 | %dir %{_sysconfdir}/udev/rules.d | |
1272 | ||
1273 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf | |
1274 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf | |
1275 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf | |
1276 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules | |
1277 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules | |
1278 | ||
1279 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf | |
1280 | ||
1281 | # rules below are NOT supposed to be changed by users | |
1282 | /lib/udev/rules.d/42-usb-hid-pm.rules | |
1283 | /lib/udev/rules.d/50-udev-default.rules | |
1284 | /lib/udev/rules.d/60-cdrom_id.rules | |
1285 | /lib/udev/rules.d/60-persistent-alsa.rules | |
1286 | /lib/udev/rules.d/60-persistent-input.rules | |
1287 | /lib/udev/rules.d/60-persistent-serial.rules | |
1288 | /lib/udev/rules.d/60-persistent-storage-tape.rules | |
1289 | /lib/udev/rules.d/60-persistent-storage.rules | |
1290 | /lib/udev/rules.d/60-persistent-v4l.rules | |
1291 | /lib/udev/rules.d/61-accelerometer.rules | |
1292 | /lib/udev/rules.d/70-power-switch.rules | |
1293 | /lib/udev/rules.d/75-net-description.rules | |
1294 | /lib/udev/rules.d/75-probe_mtd.rules | |
1295 | /lib/udev/rules.d/75-tty-description.rules | |
1296 | /lib/udev/rules.d/78-sound-card.rules | |
1297 | /lib/udev/rules.d/80-drivers.rules | |
1298 | /lib/udev/rules.d/95-keyboard-force-release.rules | |
1299 | /lib/udev/rules.d/95-keymap.rules | |
1300 | /lib/udev/rules.d/95-udev-late.rules | |
1301 | ||
1302 | %{_mandir}/man7/udev.7* | |
1303 | %{_mandir}/man8/udevadm.8* | |
1304 | %{_mandir}/man8/udevd.8* | |
1305 | ||
1306 | %files -n udev-libs | |
1307 | %defattr(644,root,root,755) | |
1308 | %attr(755,root,root) /%{_lib}/libudev.so.*.*.* | |
1309 | %attr(755,root,root) %ghost /%{_lib}/libudev.so.1 | |
1310 | ||
1311 | %files -n udev-devel | |
1312 | %defattr(644,root,root,755) | |
1313 | %attr(755,root,root) %{_libdir}/libudev.so | |
1314 | %{_includedir}/libudev.h | |
1315 | %{_pkgconfigdir}/libudev.pc | |
1316 | %{_npkgconfigdir}/udev.pc | |
1317 | ||
1318 | %files -n udev-static | |
1319 | %defattr(644,root,root,755) | |
1320 | %attr(755,root,root) %{_libdir}/libudev.a | |
1321 | ||
1322 | %files -n udev-apidocs | |
1323 | %defattr(644,root,root,755) | |
1324 | %{_gtkdocdir}/libudev | |
1325 | ||
1326 | %files -n udev-glib | |
1327 | %defattr(644,root,root,755) | |
1328 | %attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.* | |
1329 | %attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0 | |
1330 | %{_libdir}/girepository-1.0/GUdev-1.0.typelib | |
1331 | ||
1332 | %files -n udev-glib-devel | |
1333 | %defattr(644,root,root,755) | |
1334 | %attr(755,root,root) %{_libdir}/libgudev-1.0.so | |
1335 | %{_includedir}/gudev-1.0 | |
1336 | %{_pkgconfigdir}/gudev-1.0.pc | |
1337 | %{_datadir}/gir-1.0/GUdev-1.0.gir | |
1338 | ||
1339 | %files -n udev-glib-static | |
1340 | %defattr(644,root,root,755) | |
1341 | %attr(755,root,root) %{_libdir}/libgudev-1.0.a | |
1342 | ||
1343 | %files -n udev-glib-apidocs | |
1344 | %defattr(644,root,root,755) | |
1345 | %{_gtkdocdir}/gudev | |
1346 | ||
1347 | %if %{with initrd} | |
1348 | %files -n udev-initrd | |
1349 | %defattr(644,root,root,755) | |
1350 | %dir %{_libdir}/initrd/udev | |
1351 | %attr(755,root,root) %{_libdir}/initrd/systemd-udevd | |
1352 | %attr(755,root,root) %{_libdir}/initrd/udevd | |
1353 | %attr(755,root,root) %{_libdir}/initrd/udevadm | |
1354 | %attr(755,root,root) %{_libdir}/initrd/udevstart | |
1355 | %attr(755,root,root) %{_libdir}/initrd/udev/*_id | |
1356 | %attr(755,root,root) %{_libdir}/initrd/udev/collect | |
1357 | %attr(755,root,root) %{_libdir}/initrd/udev/mtd_probe | |
1358 | %endif |