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