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