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