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