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