]>
Commit | Line | Data |
---|---|---|
d374e721 | 1 | # TODO: |
30121190 JR |
2 | # - remove compat-pld-var-run.tmpfiles and maybe tmpfiles-not-fatal.patch |
3 | # after enough packages provide their own tmpfiles.d configs for | |
4 | # /var/run directories | |
b63d2415 | 5 | # - pldize vconsole setup: |
30121190 JR |
6 | # http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c |
7 | # - udev initrd needs love (is probably completly unusable in current form) | |
8 | # - udev stores it's data now to /run/udev, but that dir is not owned and not even on tmpfs | |
9 | # | |
d374e721 | 10 | # |
c3037397 | 11 | # Conditional build: |
6c89bbd4 ER |
12 | %bcond_without audit # without audit support |
13 | %bcond_without cryptsetup # without cryptsetup support | |
23107006 | 14 | %bcond_without pam # PAM authentication support |
dadb67fe | 15 | %bcond_without plymouth # do not install plymouth units |
23107006 TP |
16 | %bcond_without selinux # without SELinux support |
17 | %bcond_without tcpd # libwrap (tcp_wrappers) support | |
9c0b975d | 18 | |
30121190 JR |
19 | %bcond_without initrd # build without udev-initrd |
20 | %bcond_with uClibc # link initrd version with static uClibc | |
21 | %bcond_with klibc # link initrd version with static klibc | |
22 | %bcond_with dietlibc # link initrd version with static dietlibc (currently broken and unsupported) | |
23 | %bcond_without glibc # link initrd version with static glibc | |
24 | ||
25 | %ifarch sparc sparc64 | |
26 | %define with_glibc 1 | |
27 | %endif | |
28 | ||
29 | # if one of the *libc is enabled disable default uClibc | |
30 | %if %{with dietlibc} && %{with uClibc} | |
31 | %undefine with_uClibc | |
32 | %endif | |
33 | ||
34 | %if %{with glibc} && %{with uClibc} | |
35 | %undefine with_uClibc | |
36 | %endif | |
37 | ||
38 | %if %{with klibc} && %{with uClibc} | |
39 | %undefine with_uClibc | |
40 | %endif | |
41 | ||
c3037397 | 42 | Summary: A System and Service Manager |
ede8d3e5 | 43 | Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa |
44 | Name: systemd | |
30121190 | 45 | # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often) |
d833377f JR |
46 | Version: 183 |
47 | Release: 0.1 | |
30121190 | 48 | Epoch: 1 |
ede8d3e5 | 49 | License: GPL v2+ |
50 | Group: Base | |
440d1d13 | 51 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.xz |
d833377f | 52 | # Source0-md5: e1e5e0f376fa2a4cb4bc31a2161c09f2 |
4f25b6ac | 53 | Source1: %{name}-sysv-convert |
b0980573 | 54 | Source2: %{name}_booted.c |
a3a953ae | 55 | Source3: network.service |
a3a953ae | 56 | Source5: compat-pld-var-run.tmpfiles |
d833377f JR |
57 | Source6: var-lock.mount |
58 | Source7: var-run.mount | |
44410185 JR |
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 | |
50b8f452 ER |
63 | Source14: pld-clean-tmp.service |
64 | Source15: pld-clean-tmp.sh | |
30121190 JR |
65 | # rules |
66 | Source101: udev-alsa.rules | |
67 | Source102: udev.rules | |
68 | Source103: udev-links.conf | |
69 | # scripts / helpers | |
70 | Source110: udev-net.helper | |
71 | Source111: start_udev | |
72 | # misc | |
73 | Source120: udev.blacklist | |
74 | Source121: fbdev.blacklist | |
7619c097 | 75 | Patch0: target-pld.patch |
252e1bad | 76 | Patch1: config-pld.patch |
8e088cd5 | 77 | Patch2: shut-sysv-up.patch |
2e1f31c8 | 78 | Patch3: pld-sysv-network.patch |
d374e721 | 79 | Patch4: tmpfiles-not-fatal.patch |
3be4738a | 80 | Patch8: kmsg-to-syslog.patch |
30121190 JR |
81 | Patch100: udev-so.patch |
82 | Patch101: udev-uClibc.patch | |
83 | Patch102: udev-ploop-rules.patch | |
ede8d3e5 | 84 | URL: http://www.freedesktop.org/wiki/Software/systemd |
5b9bde26 | 85 | BuildRequires: acl-devel |
6c89bbd4 | 86 | %{?with_audit:BuildRequires: audit-libs-devel} |
6e34428f MB |
87 | BuildRequires: autoconf >= 2.63 |
88 | BuildRequires: automake >= 1:1.11 | |
e4c66821 | 89 | BuildRequires: binutils >= 3:2.22.52.0.1-2 |
6e34428f | 90 | %{?with_cryptsetup:BuildRequires: cryptsetup-luks-devel} |
23107006 | 91 | BuildRequires: dbus-devel >= 1.3.2 |
c3037397 | 92 | BuildRequires: docbook-style-xsl |
30121190 JR |
93 | BuildRequires: glib2-devel >= 1:2.22.0 |
94 | BuildRequires: glibc-misc | |
95 | BuildRequires: gobject-introspection-devel >= 0.6.2 | |
3fc7a1cc | 96 | BuildRequires: gperf |
30121190 | 97 | BuildRequires: gtk-doc >= 1.10 |
5b9bde26 | 98 | BuildRequires: intltool >= 0.40.0 |
4389e6f9 | 99 | BuildRequires: kmod-devel >= 5 |
30121190 | 100 | BuildRequires: libblkid-devel >= 2.20 |
b82d0bf2 | 101 | BuildRequires: libcap-devel |
def6d132 | 102 | %{?with_selinux:BuildRequires: libselinux-devel >= 2.1.0} |
6c89bbd4 ER |
103 | BuildRequires: libtool >= 2:2.2 |
104 | %{?with_tcpd:BuildRequires: libwrap-devel} | |
6e34428f | 105 | BuildRequires: libxslt-progs |
961baf80 | 106 | BuildRequires: m4 |
6c89bbd4 | 107 | %{?with_pam:BuildRequires: pam-devel} |
30121190 | 108 | BuildRequires: pciutils |
23107006 | 109 | BuildRequires: pkgconfig >= 0.9.0 |
30121190 JR |
110 | BuildRequires: python-modules |
111 | BuildRequires: rpmbuild(macros) >= 1.628 | |
112 | BuildRequires: sed >= 4.0 | |
113 | BuildRequires: usbutils >= 0.82 | |
58fd72e9 | 114 | BuildRequires: xz-devel |
30121190 JR |
115 | BuildRequires: zlib-devel |
116 | %if %{with initrd} | |
117 | BuildRequires: acl-static | |
118 | BuildRequires: attr-static | |
119 | %{?with_dietlibc:BuildRequires: dietlibc-static} | |
120 | BuildRequires: glib2-static >= 1:2.22.0 | |
121 | %{?with_glibc:BuildRequires: glibc-static} | |
122 | %{?with_klibc:BuildRequires: klibc-static} | |
123 | BuildRequires: kmod-libs-static >= 5 | |
124 | BuildRequires: libblkid-static >= 2.20 | |
125 | %{?with_glibc:BuildRequires: libselinux-static} | |
126 | %{?with_glibc:BuildRequires: libsepol-static} | |
127 | %{?with_klibc:BuildRequires: linux-libc-headers} | |
128 | BuildRequires: pcre-static | |
129 | %{?with_uClibc:BuildRequires: uClibc-static >= 4:0.9.30.3} | |
130 | BuildRequires: xz-static | |
131 | BuildRequires: zlib-static | |
132 | %endif | |
011bccb6 | 133 | Requires: %{name}-libs = %{version}-%{release} |
c3037397 | 134 | Requires: %{name}-units = %{version}-%{release} |
58d6217a | 135 | Requires: /etc/os-release |
2ff27c26 | 136 | Requires: SysVinit-tools |
37b8df82 | 137 | Requires: agetty |
b0980573 | 138 | Requires: dbus >= 1.4.16-6 |
7cb5cfc8 | 139 | Requires: filesystem >= 4.0-2 |
ed5c41d4 | 140 | Requires: libutempter |
a2018b66 | 141 | Requires: rc-scripts >= 0.4.5.3-7 |
56701781 | 142 | Requires: setup >= 2.8.0-2 |
b0980573 | 143 | Requires: udev-core >= 1:175-5 |
fe6ae5ab | 144 | Requires: udev-libs >= 1:172 |
e3134fe0 | 145 | Requires: virtual(module-tools) |
4e5e9c32 | 146 | Suggests: %{name}-no-compat-tmpfiles |
b0980573 | 147 | Suggests: ConsoleKit |
2a61be78 | 148 | Suggests: fsck >= 2.20 |
e3134fe0 | 149 | Suggests: kmod >= 5 |
4b15486a | 150 | Suggests: nss_myhostname |
c35aa49c | 151 | Suggests: service(klogd) |
1cdd35cf | 152 | Suggests: service(syslog) |
fda563d5 | 153 | Provides: udev-acl |
3baeefca PG |
154 | # systemd takes care of that and causes problems |
155 | Conflicts: binfmt-detector | |
a6203073 | 156 | # sytemd wants pam with pam_systemd.so in system-auth... |
3b292a99 | 157 | Conflicts: pam < 1:1.1.5-5 |
a6203073 JR |
158 | # ...and sudo hates it |
159 | Conflicts: sudo < 1:1.7.8p2-4 | |
06d34666 JR |
160 | # for prefdm script |
161 | Conflicts: xinitrc-ng < 1.0 | |
0fedd233 JR |
162 | # systemd scripts use options not present in older versions |
163 | Conflicts: kpartx < 0.4.9-7 | |
164 | Conflicts: multipath-tools < 0.4.9-7 | |
d833377f JR |
165 | # no tmpfs on /media, use /run/media/$USER for mounting |
166 | Conflicts: udisks2 < 1.92.0 | |
ede8d3e5 | 167 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
168 | ||
30121190 | 169 | #define _sbindir /sbin |
85879912 ER |
170 | %define _libexecdir %{_prefix}/lib |
171 | ||
ede8d3e5 | 172 | %description |
1c239f8b | 173 | systemd is a system and service manager for Linux, compatible with |
ede8d3e5 | 174 | SysV and LSB init scripts. systemd provides aggressive parallelization |
175 | capabilities, uses socket and D-Bus activation for starting services, | |
176 | offers on-demand starting of daemons, keeps track of processes using | |
177 | Linux cgroups, supports snapshotting and restoring of the system | |
178 | state, maintains mount and automount points and implements an | |
179 | elaborate transactional dependency-based service control logic. It can | |
1c239f8b | 180 | work as a drop-in replacement for sysvinit. |
ede8d3e5 | 181 | |
182 | %description -l pl.UTF-8 | |
183 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
184 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
185 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
186 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
187 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
188 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
189 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
d45dfc3a | 190 | zależnościach logikę kontroli usług. Może pracować jako zastępca dla |
ede8d3e5 | 191 | sysvinit. |
192 | ||
c97dacdd TP |
193 | %package init |
194 | Summary: systemd /sbin/init and LSB/SysV compatibility symlinks | |
5b9bde26 | 195 | Summary(pl.UTF-8): /sbin/init z systemd i dowiązania dla kompatybilności z LSB/SysV |
c97dacdd | 196 | Group: Base |
d6829efa | 197 | Requires: systemd |
c97dacdd TP |
198 | Provides: readahead = 1:1.5.7-3 |
199 | Provides: virtual(init-daemon) | |
200 | Obsoletes: SysVinit | |
201 | Obsoletes: readahead < 1:1.5.7-3 | |
202 | Obsoletes: virtual(init-daemon) | |
4e1559fc | 203 | Conflicts: upstart |
c97dacdd TP |
204 | |
205 | %description init | |
206 | Install this package when you are ready to final switch to systemd. | |
207 | ||
5b9bde26 JB |
208 | %description init -l pl.UTF-8 |
209 | Ten pakiet należy zainstalować po przygotowaniu się do ostatecznego | |
210 | przejścia na systemd. | |
211 | ||
c3037397 ER |
212 | %package units |
213 | Summary: Configuration files, directories and installation tool for systemd | |
5b9bde26 | 214 | Summary(pl.UTF-8): Pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla systemd |
c3037397 | 215 | Group: Base |
c3037397 | 216 | Requires(post): coreutils |
a8d86f01 | 217 | Requires(post): /bin/awk |
c3037397 ER |
218 | |
219 | %description units | |
220 | Basic configuration files, directories and installation tool for the | |
221 | systemd system and service manager. | |
222 | ||
f341cd9b | 223 | This is common config, use %{_sysconfdir}/systemd/system to override. |
10ffdcd2 | 224 | |
5b9bde26 JB |
225 | %description units -l pl.UTF-8 |
226 | Podstawowe pliki konfiguracyjne, katalogi i narzędzie instalacyjne dla | |
227 | zarządcy systemu i usług systemd. | |
228 | ||
229 | Ten pakiet zawiera ogólną konfigurację, ustawienia można nadpisać | |
230 | poprzez katalog %{_sysconfdir}/systemd/system. | |
231 | ||
e4c66821 JB |
232 | %package plymouth |
233 | Summary: Plymouth support units for systemd | |
234 | Summary(pl.UTF-8): Jednostki wspierające Plymouth dla systemd | |
235 | Group: Base | |
236 | Requires: %{name}-units = %{version}-%{release} | |
216f25d7 | 237 | Requires: plymouth |
e4c66821 JB |
238 | |
239 | %description plymouth | |
240 | Plymouth (graphical boot) support units for systemd. | |
241 | ||
242 | %description plymouth -l pl.UTF-8 | |
243 | Jednostki wspierające Plymouth (graficzny start systemu) dla systemd. | |
244 | ||
4e5e9c32 ER |
245 | %package analyze |
246 | Summary: Tool for processing systemd profiling information | |
247 | Group: Base | |
248 | Requires: %{name} = %{version}-%{release} | |
249 | Requires: python-dbus | |
250 | Requires: python-modules | |
251 | Requires: python-pycairo | |
252 | Conflicts: %{name} < 44-3 | |
253 | ||
254 | %description analyze | |
255 | 'systemd-analyze blame' lists which systemd unit needed how much time | |
256 | to finish initialization at boot. 'systemd-analyze plot' renders an | |
257 | SVG visualizing the parallel start of units at boot. | |
258 | ||
011bccb6 | 259 | %package libs |
5b9bde26 JB |
260 | Summary: Shared systemd libraries |
261 | Summary(pl.UTF-8): Biblioteki współdzielone systemd | |
011bccb6 BZ |
262 | Group: Libraries |
263 | ||
264 | %description libs | |
5b9bde26 JB |
265 | Shared systemd libraries. |
266 | ||
267 | %description libs -l pl.UTF-8 | |
268 | Biblioteki współdzielone systemd. | |
011bccb6 | 269 | |
961baf80 AF |
270 | %package devel |
271 | Summary: Header files for systemd libraries | |
272 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek systemd | |
273 | Group: Development/Libraries | |
011bccb6 | 274 | Requires: %{name}-libs = %{version}-%{release} |
961baf80 AF |
275 | |
276 | %description devel | |
277 | Header files for systemd libraries. | |
278 | ||
279 | %description devel -l pl.UTF-8 | |
280 | Pliki nagłówkowe bibliotek systemd. | |
281 | ||
5b9bde26 JB |
282 | %package -n bash-completion-systemd |
283 | Summary: bash-completion for systemd | |
284 | Summary(pl.UTF-8): Bashowe dopełnianie składni dla systemd | |
285 | Group: Applications/Shells | |
bbd3dce1 | 286 | Requires: %{name} = %{version} |
5b9bde26 JB |
287 | Requires: bash-completion |
288 | ||
289 | %description -n bash-completion-systemd | |
290 | bash-completion for systemd. | |
291 | ||
292 | %description -n bash-completion-systemd -l pl.UTF-8 | |
293 | Bashowe dopełnianie składni dla systemd | |
294 | ||
ae4d0acb JR |
295 | %package no-compat-tmpfiles |
296 | Summary: Force update of packages that provide tmpfiles.d configuration | |
297 | Group: Base | |
bbd3dce1 | 298 | Requires: %{name} = %{version}-%{release} |
ae4d0acb JR |
299 | Requires(post): sed > 4.0 |
300 | Conflicts: ConsoleKit-dirs < 0.4.5-7 | |
301 | Conflicts: NetworkManager < 2:0.9.2.0-3 | |
302 | Conflicts: Zope < 2.11.8-2 | |
303 | Conflicts: amavisd-new < 1:2.7.0-1 | |
ae4d0acb JR |
304 | Conflicts: apache-base < 2.2.21-4 |
305 | Conflicts: apache-mod_bw < 0.92-3 | |
306 | Conflicts: apache-mod_fastcgi < 2.4.6-6 | |
b0980573 ŁK |
307 | Conflicts: apache1-base < 1.3.42-5 |
308 | Conflicts: apache1-mod_fastcgi < 2.4.6-2 | |
ae4d0acb JR |
309 | Conflicts: asterisk < 10.0.1-2 |
310 | Conflicts: autossh-init < 1.4b-3 | |
311 | Conflicts: balance < 3.54-2 | |
312 | Conflicts: bind < 7:9.8.1.P1-4 | |
313 | Conflicts: bopm < 3.1.3-4 | |
314 | Conflicts: callweaver < 1.2.1-9 | |
315 | Conflicts: cassandra-bin < 0.8.9-2 | |
316 | Conflicts: clamav < 0.97.3-3 | |
317 | Conflicts: cups < 1:1.5.0-10 | |
318 | Conflicts: dbus < 1.4.16-4 | |
319 | Conflicts: dovecot < 1:2.0.16-3 | |
320 | Conflicts: dspam < 3.9.0-6 | |
321 | Conflicts: fail2ban < 0.8.4-4 | |
322 | Conflicts: filesystem < 4.0-3 | |
323 | Conflicts: gammu-smsd < 1:1.31.0-3 | |
a6203073 JR |
324 | # Break gdm2.20 installs |
325 | #Conflicts: gdm < 2:3.2.1.1-9 | |
ae4d0acb JR |
326 | Conflicts: greylistd < 0.8.8-2 |
327 | Conflicts: inn < 2.4.6-7 | |
328 | Conflicts: ipsec-tools < 0.8.0-3 | |
329 | Conflicts: jabber-common < 0-9 | |
330 | Conflicts: laptop-mode-tools < 1.58-2 | |
331 | Conflicts: libgpod < 0.8.0-6 | |
332 | Conflicts: libvirt-utils < 0.9.9-4 | |
333 | Conflicts: lighttpd < 1.4.30-5 | |
334 | Conflicts: lirc < 0.9.0-20 | |
335 | Conflicts: mailman < 5:2.1.14-4 | |
336 | Conflicts: memcached < 1.4.11-2 | |
337 | Conflicts: mpd < 0.16.5-4 | |
338 | Conflicts: mrtg < 2.17.0-3 | |
339 | Conflicts: munin-common < 1.4.5-5 | |
340 | Conflicts: nagios-nrpe < 2.13-2 | |
341 | Conflicts: ndisc6-rdnssd < 1.0.1-3 | |
342 | Conflicts: nscd < 6:2.14.1-5 | |
343 | Conflicts: nss_ldapd-nslcd < 0.8.4-2 | |
344 | Conflicts: openct < 0.6.20-3 | |
345 | Conflicts: openl2tp < 1.8-3 | |
346 | Conflicts: openldap-overlay-nssov < 2.4.28-4 | |
347 | Conflicts: openldap-servers < 2.4.28-4 | |
348 | Conflicts: openvpn < 2.2.2-2 | |
ae4d0acb JR |
349 | Conflicts: pam-pam_mount < 2.12-3 |
350 | Conflicts: pam-pam_ssh < 1.97-2 | |
351 | Conflicts: pcsc-lite < 1.8.1-2 | |
352 | Conflicts: php-dirs < 1.2-3 | |
353 | Conflicts: policyd < 2.0.10-3 | |
354 | Conflicts: pound < 2.6-2 | |
355 | Conflicts: pptp < 1.7.2-3 | |
356 | Conflicts: proftpd-common < 2:1.3.4a-2 | |
357 | Conflicts: pulseaudio-server < 1.1-2 | |
358 | Conflicts: quagga < 0.99.20-3 | |
359 | Conflicts: radvd < 1.8.5-2 | |
360 | Conflicts: rc-scripts < 0.4.5.2-3 | |
361 | Conflicts: red5 < 0.9.0-2 | |
362 | Conflicts: redis-server < 2.4.2-4 | |
363 | Conflicts: smokeping < 2.4.2-10 | |
364 | Conflicts: smtp-gated < 1.4.17-2 | |
365 | Conflicts: socat < 1.7.2.0-2 | |
366 | Conflicts: speech-dispatcher < 0.7.1-2 | |
367 | Conflicts: sphinx < 2.0.3-4 | |
368 | Conflicts: splashutils < 1.5.4.3-3 | |
369 | Conflicts: stunnel < 4.50-2 | |
ae4d0acb JR |
370 | Conflicts: tenshi < 0.12-2 |
371 | Conflicts: tor < 0.2.2.35-2 | |
372 | Conflicts: ucarp < 1.5.2-3 | |
373 | Conflicts: udisks < 1.0.4-3 | |
374 | Conflicts: util-vserver < 0.30.216-1.pre3002.3 | |
375 | Conflicts: vpnc < 0.5.3-2 | |
376 | Conflicts: web2ldap < 1.1.0rc1-2 | |
377 | Conflicts: wesnoth-server < 1:1.10-2 | |
378 | Conflicts: wpa_supplicant < 0.7.3-10 | |
379 | Conflicts: xl2tpd < 1.3.0-2 | |
380 | ||
381 | %description no-compat-tmpfiles | |
382 | Force update of packages that provide tmpfiles.d configuration | |
383 | ||
30121190 JR |
384 | %package -n udev |
385 | Summary: Device manager for the Linux 2.6 kernel series | |
386 | Summary(pl.UTF-8): Zarządca urządzeń dla Linuksa 2.6 | |
387 | Group: Base | |
388 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
389 | Provides: dev = 3.5.0 | |
390 | Obsoletes: dev | |
391 | Obsoletes: hotplug | |
392 | Obsoletes: hotplug-input | |
393 | Obsoletes: hotplug-net | |
394 | Obsoletes: hotplug-pci | |
395 | Obsoletes: udev-compat | |
396 | Obsoletes: udev-dev | |
397 | Obsoletes: udev-extras < 20090628 | |
398 | Obsoletes: udev-tools | |
399 | ||
400 | %description -n udev | |
401 | udev is the device manager for the Linux 2.6 kernel series. Its | |
402 | primary function is managing device nodes in /dev. It is the successor | |
403 | of devfs and hotplug. | |
404 | ||
405 | %description -n udev -l pl.UTF-8 | |
406 | udev jest zarządcą urządzeń dla Linuksa 2.6. Jego główną funkcją jest | |
407 | zarządzanie węzłami urządzeń w katalogu /dev. Jest następcą devfs i | |
408 | hotpluga. | |
409 | ||
410 | %package -n udev-core | |
411 | Summary: A userspace implementation of devfs - core part of udev | |
412 | Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - główna część udev | |
413 | Group: Base | |
414 | Requires(post,preun,postun): systemd-units >= 38 | |
415 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
416 | Requires: coreutils | |
417 | Requires: filesystem >= 3.0-45 | |
418 | Requires: setup >= 2.6.1-1 | |
419 | Requires: systemd-units >= 0.38 | |
420 | Requires: uname(release) >= 2.6.32 | |
421 | Obsoletes: udev-systemd | |
422 | Conflicts: rc-scripts < 0.4.5.3-1 | |
423 | Conflicts: udev < 1:118-1 | |
424 | ||
425 | %description -n udev-core | |
426 | A userspace implementation of devfs - core part of udev. | |
427 | ||
428 | %description -n udev-core -l pl.UTF-8 | |
429 | Implementacja devfs w przestrzeni użytkownika - główna część udev. | |
430 | ||
431 | %package -n udev-libs | |
432 | Summary: Shared library to access udev device information | |
433 | Summary(pl.UTF-8): Biblioteka współdzielona do dostępu do informacji o urządzeniach udev | |
434 | Group: Libraries | |
435 | ||
436 | %description -n udev-libs | |
437 | Shared libudev library to access udev device information. | |
438 | ||
439 | %description -n udev-libs -l pl.UTF-8 | |
440 | Biblioteka współdzielona libudev służąca do dostępu do informacji o | |
441 | urządzeniach udev. | |
442 | ||
443 | %package -n udev-devel | |
444 | Summary: Header file for libudev library | |
445 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki libudev | |
446 | Group: Development/Libraries | |
447 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
448 | ||
449 | %description -n udev-devel | |
450 | Header file for libudev library. | |
451 | ||
452 | %description -n udev-devel -l pl.UTF-8 | |
453 | Plik nagłówkowy biblioteki libudev. | |
454 | ||
455 | %package -n udev-static | |
456 | Summary: Static libudev library | |
457 | Summary(pl.UTF-8): Biblioteka statyczna libudev | |
458 | Group: Development/Libraries | |
459 | Requires: udev-devel = %{epoch}:%{version}-%{release} | |
460 | ||
461 | %description -n udev-static | |
462 | Static libudev library. | |
463 | ||
464 | %description -n udev-static -l pl.UTF-8 | |
465 | Biblioteka statyczna libudev. | |
466 | ||
467 | %package -n udev-apidocs | |
468 | Summary: libudev API documentation | |
469 | Summary(pl.UTF-8): Dokumentacja API libudev | |
470 | Group: Documentation | |
471 | Requires: gtk-doc-common | |
472 | ||
473 | %description -n udev-apidocs | |
474 | libudev API documentation. | |
475 | ||
476 | %description -n udev-apidocs -l pl.UTF-8 | |
477 | Dokumentacja API libudev. | |
478 | ||
479 | %package -n udev-glib | |
480 | Summary: Shared libgudev library - GObject bindings for libudev | |
481 | Summary(pl.UTF-8): Biblioteka współdzielona libgudev - wiązania GObject do libudev | |
482 | Group: Libraries | |
483 | Requires: udev-libs = %{epoch}:%{version}-%{release} | |
484 | Requires: glib2 >= 1:2.22.0 | |
485 | ||
486 | %description -n udev-glib | |
487 | Shared libgudev library - GObject bindings for libudev. | |
488 | ||
489 | %description -n udev-glib -l pl.UTF-8 | |
490 | Biblioteka współdzielona libgudev - wiązania GObject do libudev. | |
491 | ||
492 | %package -n udev-glib-devel | |
493 | Summary: Header file for libgudev library | |
494 | Summary(pl.UTF-8): Plik nagłówkowy biblioteki libgudev | |
495 | Group: Development/Libraries | |
496 | Requires: udev-devel = %{epoch}:%{version}-%{release} | |
497 | Requires: udev-glib = %{epoch}:%{version}-%{release} | |
498 | Requires: glib2-devel >= 1:2.22.0 | |
499 | ||
500 | %description -n udev-glib-devel | |
501 | Header file for libgudev library. | |
502 | ||
503 | %description -n udev-glib-devel -l pl.UTF-8 | |
504 | Plik nagłówkowy biblioteki libgudev. | |
505 | ||
506 | %package -n udev-glib-static | |
507 | Summary: Static libgudev library | |
508 | Summary(pl.UTF-8): Biblioteka statyczna libgudev | |
509 | Group: Development/Libraries | |
510 | Requires: udev-glib-devel = %{epoch}:%{version}-%{release} | |
511 | ||
512 | %description -n udev-glib-static | |
513 | Static libgudev library. | |
514 | ||
515 | %description -n udev-glib-static -l pl.UTF-8 | |
516 | Biblioteka statyczna libgudev. | |
517 | ||
518 | %package -n udev-glib-apidocs | |
519 | Summary: libgudev API documentation | |
520 | Summary(pl.UTF-8): Dokumentacja API libgudev | |
521 | Group: Documentation | |
522 | Requires: gtk-doc-common | |
523 | ||
524 | %description -n udev-glib-apidocs | |
525 | libgudev API documentation. | |
526 | ||
527 | %description -n udev-glib-apidocs -l pl.UTF-8 | |
528 | Dokumentacja API libgudev. | |
529 | ||
530 | %package -n udev-initrd | |
531 | Summary: A userspace implementation of devfs - static binary for initrd | |
532 | Summary(pl.UTF-8): Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla initrd | |
533 | Group: Base | |
534 | Requires: udev-core = %{epoch}:%{version}-%{release} | |
535 | Conflicts: geninitrd < 10000.10 | |
536 | ||
537 | %description -n udev-initrd | |
538 | A userspace implementation of devfs - static binary for initrd. | |
539 | ||
540 | %description -n udev-initrd -l pl.UTF-8 | |
541 | Implementacja devfs w przestrzeni użytkownika - statyczna binarka dla | |
542 | initrd. | |
543 | ||
ede8d3e5 | 544 | %prep |
545 | %setup -q | |
4c5b5ab6 | 546 | %patch0 -p1 |
252e1bad | 547 | %patch1 -p1 |
082609ad | 548 | #patch2 -p1 |
942c9075 | 549 | %patch3 -p1 |
d374e721 | 550 | %patch4 -p1 |
3be4738a | 551 | %patch8 -p1 |
b77423ae | 552 | cp -p %{SOURCE2} src/systemd_booted.c |
ede8d3e5 | 553 | |
554 | %build | |
4c5b5ab6 | 555 | %{__aclocal} -I m4 |
ede8d3e5 | 556 | %{__autoconf} |
6e34428f | 557 | %{__autoheader} |
ede8d3e5 | 558 | %{__automake} |
9c0b975d | 559 | %configure \ |
6c89bbd4 ER |
560 | %{__enable_disable audit} \ |
561 | %{__enable_disable cryptsetup libcryptsetup} \ | |
6f8c4458 | 562 | --disable-gtk \ |
6c89bbd4 | 563 | %{__enable_disable pam} \ |
4389e6f9 | 564 | %{__enable_disable plymouth} \ |
6c89bbd4 ER |
565 | %{__enable_disable selinux} \ |
566 | %{__enable_disable tcpd tcpwrap} \ | |
567 | --disable-silent-rules \ | |
961baf80 | 568 | --disable-static \ |
5b9bde26 | 569 | --with-distro=pld \ |
391eea76 | 570 | --with-rootprefix= \ |
4389e6f9 JR |
571 | --with-rootlibdir=/%{_lib} \ |
572 | --enable-split-usr | |
e1d9cc15 | 573 | |
ede8d3e5 | 574 | %{__make} |
b77423ae | 575 | ./libtool --mode=link --tag=CC %{__cc} %{rpmcppflags} %{rpmcflags} -o systemd_booted %{rpmldflags} src/systemd_booted.c -L. -lsystemd-daemon |
ede8d3e5 | 576 | |
577 | %install | |
578 | rm -rf $RPM_BUILD_ROOT | |
24f95219 | 579 | install -d $RPM_BUILD_ROOT/var/lib/%{name}/coredump |
23107006 | 580 | |
ede8d3e5 | 581 | %{__make} install \ |
582 | DESTDIR=$RPM_BUILD_ROOT | |
583 | ||
216f25d7 | 584 | ./libtool --mode=install install -p -m755 systemd_booted $RPM_BUILD_ROOT/bin/systemd_booted |
b77423ae | 585 | |
4389e6f9 JR |
586 | # Main binary has been moved, but we don't want to break existing installs |
587 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/bin/systemd | |
588 | ||
1dcb74bb | 589 | # Create SysV compatibility symlinks. systemctl/systemd are smart |
2a61be78 | 590 | # enough to detect the way they were called |
c28b0c1c | 591 | install -d $RPM_BUILD_ROOT/sbin |
4389e6f9 | 592 | ln -s ../lib/systemd/systemd $RPM_BUILD_ROOT/sbin/init |
1dcb74bb | 593 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/halt |
594 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/poweroff | |
23107006 TP |
595 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/reboot |
596 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/runlevel | |
1dcb74bb | 597 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/shutdown |
598 | ln -s ../bin/systemctl $RPM_BUILD_ROOT/sbin/telinit | |
1dcb74bb | 599 | |
5d32f234 | 600 | ln -s ../modules $RPM_BUILD_ROOT%{_sysconfdir}/modules-load.d/modules.conf |
44410185 JR |
601 | |
602 | # disable redundant SYSV services | |
603 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/allowlogin.service | |
4cc1cb1d | 604 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/console.service |
44410185 JR |
605 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/cpusets.service |
606 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/killall.service | |
607 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/netfs.service | |
608 | ln -s /dev/null $RPM_BUILD_ROOT%{systemdunitdir}/random.service | |
5d32f234 | 609 | |
f1586299 | 610 | # add static (non-NetworkManager) networking |
216f25d7 | 611 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/network.service |
f1586299 | 612 | |
5c8fe698 | 613 | # install compatibility tmpfiles configs |
216f25d7 | 614 | cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/compat-pld-var-run.conf |
5c8fe698 | 615 | |
d833377f JR |
616 | # restore bind-mounts /var/run -> run and /var/lock -> /run/lock |
617 | # we don't have those directories symlinked | |
618 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdunitdir}/var-lock.mount | |
619 | cp -p %{SOURCE7} $RPM_BUILD_ROOT%{systemdunitdir}/var-run.mount | |
620 | ||
621 | # and remove tmp on tmpfs mount | |
622 | %{__rm} $RPM_BUILD_ROOT%{systemdunitdir}/tmp.mount | |
623 | ||
44410185 | 624 | # Install and enable storage subsystems support services (RAID, LVM, etc.) |
216f25d7 ER |
625 | cp -p %{SOURCE10} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init-late.service |
626 | cp -p %{SOURCE11} $RPM_BUILD_ROOT%{systemdunitdir}/pld-storage-init.service | |
627 | cp -p %{SOURCE12} $RPM_BUILD_ROOT%{systemdunitdir}/pld-wait-storage.service | |
50b8f452 | 628 | cp -p %{SOURCE14} $RPM_BUILD_ROOT%{systemdunitdir}/pld-clean-tmp.service |
216f25d7 | 629 | install -p %{SOURCE13} $RPM_BUILD_ROOT/lib/systemd/pld-storage-init |
50b8f452 | 630 | install -p %{SOURCE15} $RPM_BUILD_ROOT/lib/systemd/pld-clean-tmp |
44410185 | 631 | |
50b8f452 ER |
632 | ln -s ../pld-storage-init-late.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants |
633 | ln -s ../pld-storage-init.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
634 | ln -s ../pld-clean-tmp.service $RPM_BUILD_ROOT%{systemdunitdir}/local-fs.target.wants | |
c3037397 | 635 | |
216f25d7 ER |
636 | # handled by rc-local sysv service, no need for generator |
637 | %{__rm} $RPM_BUILD_ROOT/lib/systemd/system-generators/systemd-rc-local-generator | |
216f25d7 | 638 | |
2a61be78 TP |
639 | # Make sure these directories are properly owned: |
640 | # - halt,kexec,poweroff,reboot: generic ones used by ConsoleKit-systemd, | |
641 | # - syslog _might_ be used by some syslog implementation (none for now), | |
642 | # - isn't dbus populated by dbus-systemd only (so to be moved there)? | |
4cc1cb1d | 643 | install -d $RPM_BUILD_ROOT%{systemdunitdir}/{dbus,halt,kexec,poweroff,reboot,syslog}.target.wants |
961baf80 AF |
644 | |
645 | # Create new-style configuration files so that we can ghost-own them | |
70047b34 | 646 | touch $RPM_BUILD_ROOT%{_sysconfdir}/{hostname,locale.conf,machine-id,machine-info,timezone,vconsole.conf} |
4bbef33c | 647 | |
9d8b5dfe | 648 | # Install SysV conversion tool for systemd |
4f25b6ac | 649 | install -p %{SOURCE1} $RPM_BUILD_ROOT%{_bindir} |
9d8b5dfe BZ |
650 | |
651 | install -d $RPM_BUILD_ROOT/var/log | |
5a65c84e TP |
652 | :> $RPM_BUILD_ROOT/var/log/btmp |
653 | :> $RPM_BUILD_ROOT/var/log/wtmp | |
a761f93e | 654 | |
5d32f234 | 655 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/systemadm.1* |
5d32f234 TP |
656 | |
657 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name} | |
a86320a6 | 658 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/security/pam_systemd.la |
5d32f234 TP |
659 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
660 | ||
ede8d3e5 | 661 | %clean |
662 | rm -rf $RPM_BUILD_ROOT | |
663 | ||
9638c72f | 664 | %post |
4bbef33c | 665 | /bin/systemd-machine-id-setup > /dev/null 2>&1 || : |
9638c72f | 666 | /bin/systemctl daemon-reexec > /dev/null 2>&1 || : |
c3037397 | 667 | |
961baf80 | 668 | %postun |
85879912 | 669 | if [ $1 -ge 1 ]; then |
961baf80 | 670 | /bin/systemctl try-restart systemd-logind.service >/dev/null 2>&1 || : |
9638c72f | 671 | fi |
672 | ||
3edd52a6 TP |
673 | %post libs -p /sbin/ldconfig |
674 | %postun libs -p /sbin/ldconfig | |
011bccb6 | 675 | |
961baf80 | 676 | %post units |
85879912 | 677 | if [ $1 -eq 1 ]; then |
961baf80 AF |
678 | # Try to read default runlevel from the old inittab if it exists |
679 | runlevel=$(/bin/awk -F ':' '$3 == "initdefault" && $1 !~ "^#" { print $2 }' /etc/inittab 2> /dev/null) | |
680 | if [ -z "$runlevel" ] ; then | |
4cc1cb1d | 681 | target="%{systemdunitdir}/graphical.target" |
961baf80 | 682 | else |
4cc1cb1d | 683 | target="%{systemdunitdir}/runlevel$runlevel.target" |
961baf80 AF |
684 | fi |
685 | ||
686 | # And symlink what we found to the new-style default.target | |
f341cd9b | 687 | ln -s "$target" %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
cf819365 JR |
688 | |
689 | # Setup hostname | |
690 | [ -f /etc/sysconfig/network ] && . /etc/sysconfig/network | |
691 | if [ -n "$HOSTNAME" -a "$HOSTNAME" != "pldmachine" ]; then | |
692 | [ -f /etc/hostname ] && mv -f /etc/hostname /etc/hostname.rpmsave | |
693 | echo $HOSTNAME > /etc/hostname | |
694 | chmod 644 /etc/hostname | |
695 | fi | |
44410185 JR |
696 | |
697 | # Enable the services we install by default. | |
698 | /bin/systemctl enable \ | |
699 | getty@.service \ | |
700 | network.service \ | |
701 | remote-fs.target \ | |
702 | systemd-readahead-replay.service \ | |
703 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
9638c72f | 704 | fi |
c3037397 ER |
705 | |
706 | %preun units | |
961baf80 AF |
707 | if [ $1 -eq 0 ] ; then |
708 | /bin/systemctl disable \ | |
709 | getty@.service \ | |
f1586299 | 710 | network.service \ |
961baf80 AF |
711 | remote-fs.target \ |
712 | systemd-readahead-replay.service \ | |
713 | systemd-readahead-collect.service >/dev/null 2>&1 || : | |
714 | ||
f341cd9b | 715 | %{__rm} -f %{_sysconfdir}/systemd/system/default.target >/dev/null 2>&1 || : |
c3037397 | 716 | fi |
9638c72f | 717 | |
961baf80 | 718 | %postun units |
85879912 | 719 | if [ $1 -ge 1 ]; then |
9638c72f | 720 | /bin/systemctl daemon-reload > /dev/null 2>&1 || : |
721 | fi | |
722 | ||
f2a385f3 | 723 | %triggerpostun units -- %{name}-units < 43-7 |
44410185 | 724 | # Remove design fialures |
44410185 JR |
725 | rm -f %{_sysconfdir}/systemd/system/network.target.wants/ifcfg@*.service >/dev/null 2>&1 || : |
726 | rm -f %{_sysconfdir}/systemd/system/network.target.wants/network-post.service >/dev/null 2>&1 || : | |
f3877668 JR |
727 | rm -f %{_sysconfdir}/systemd/system/multi-user.target.wants/network-post.service >/dev/null 2>&1 || : |
728 | /bin/systemctl reenable network.service >/dev/null 2>&1 || : | |
44410185 | 729 | |
ae4d0acb | 730 | %post no-compat-tmpfiles |
a6203073 | 731 | %{__sed} -i -e '/^#/!s/^/# /g' %{_sysconfdir}/tmpfiles.d/compat-pld-var-run.conf |
ae4d0acb | 732 | |
619d874f ER |
733 | %post plymouth |
734 | %systemd_reload | |
735 | ||
736 | %postun plymouth | |
737 | %systemd_reload | |
738 | ||
30121190 JR |
739 | %triggerpostun -n udev-core -- dev |
740 | if [ "$2" = 0 ]; then | |
741 | # need to kill and restart udevd as after obsoleting dev package the | |
742 | # /dev tree will remain empty. umask is needed as otherwise udev will | |
743 | # create devices with strange permissions (udev bug probably) | |
744 | umask 000 | |
745 | /sbin/start_udev || exit 0 | |
746 | fi | |
747 | ||
748 | %triggerpostun -n udev-core -- udev < 108 | |
749 | %{__sed} -i -e 's#IMPORT{program}="/sbin/#IMPORT{program}="#g' /etc/udev/rules.d/*.rules | |
750 | %if "%{_lib}" != "lib" | |
751 | %{__sed} -i -e 's#/%{_lib}/udev/#/lib/udev/#g' /etc/udev/rules.d/*.rules | |
752 | %endif | |
753 | ||
754 | %triggerpostun -n udev-core -- udev < 165 | |
755 | /sbin/udevadm info --convert-db | |
756 | ||
757 | %triggerpostun -n udev-core -- %{name}-core < 1:175-4 | |
758 | %systemd_trigger udev-settle.service | |
759 | ||
760 | %post -n udev-core | |
761 | if [ $1 -gt 1 ]; then | |
762 | if [ ! -x /bin/systemd_booted ] || ! /bin/systemd_booted; then | |
763 | if grep -qs devtmpfs /proc/mounts && [ -n "$(pidof udevd)" ]; then | |
764 | /sbin/udevadm control --exit | |
765 | /lib/udev/udevd --daemon | |
766 | fi | |
767 | else | |
768 | SYSTEMD_LOG_LEVEL=warning SYSTEMD_LOG_TARGET=syslog \ | |
769 | /bin/systemctl --quiet try-restart udev.service || : | |
770 | fi | |
771 | fi | |
772 | %systemd_post udev-settle.service | |
773 | ||
774 | %preun -n udev-core | |
775 | %systemd_preun udev-settle.service | |
776 | ||
777 | %postun -n udev-core | |
778 | %systemd_reload | |
779 | ||
780 | %post -n udev-libs -p /sbin/ldconfig | |
781 | %postun -n udev-libs -p /sbin/ldconfig | |
782 | ||
783 | %post -n udev-glib -p /sbin/ldconfig | |
784 | %postun -n udev-glib -p /sbin/ldconfig | |
785 | ||
ede8d3e5 | 786 | %files |
787 | %defattr(644,root,root,755) | |
1c239f8b | 788 | %doc DISTRO_PORTING README TODO |
6e34428f | 789 | /etc/dbus-1/system.d/org.freedesktop.hostname1.conf |
961baf80 AF |
790 | /etc/dbus-1/system.d/org.freedesktop.locale1.conf |
791 | /etc/dbus-1/system.d/org.freedesktop.login1.conf | |
c3037397 | 792 | /etc/dbus-1/system.d/org.freedesktop.systemd1.conf |
961baf80 | 793 | /etc/dbus-1/system.d/org.freedesktop.timedate1.conf |
3edd52a6 | 794 | %ghost %config(noreplace) %{_sysconfdir}/machine-id |
b77423ae AF |
795 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hostname |
796 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/locale.conf | |
797 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/machine-info | |
b77423ae AF |
798 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/timezone |
799 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/vconsole.conf | |
5d32f234 | 800 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/systemd/*.conf |
2a61be78 | 801 | %dir %{_sysconfdir}/systemd/user |
44410185 JR |
802 | %dir %{_sysconfdir}/systemd/system/*.target.wants |
803 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.service | |
804 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/systemd/system/*.target.wants/*.target | |
abd479ee | 805 | /etc/xdg/systemd |
1dcb74bb | 806 | %attr(755,root,root) /bin/systemd |
807 | %attr(755,root,root) /bin/systemd-ask-password | |
c76a8951 | 808 | %attr(755,root,root) /bin/systemd-journalctl |
961baf80 | 809 | %attr(755,root,root) /bin/systemd-loginctl |
7a76bc86 | 810 | %attr(755,root,root) /bin/systemd-machine-id-setup |
1dcb74bb | 811 | %attr(755,root,root) /bin/systemd-notify |
812 | %attr(755,root,root) /bin/systemd-tty-ask-password-agent | |
d374e721 JR |
813 | %attr(755,root,root) %{_bindir}/systemd-cat |
814 | %attr(755,root,root) %{_bindir}/systemd-cgtop | |
23107006 | 815 | %attr(755,root,root) %{_bindir}/systemd-cgls |
57cd0d13 ZU |
816 | %attr(755,root,root) %{_bindir}/systemd-nspawn |
817 | %attr(755,root,root) %{_bindir}/systemd-stdio-bridge | |
2a61be78 | 818 | %attr(755,root,root) %{_bindir}/systemd-sysv-convert |
8a78a3e8 | 819 | %attr(755,root,root) /lib/systemd/pld-clean-tmp |
44410185 | 820 | %attr(755,root,root) /lib/systemd/pld-storage-init |
abd479ee | 821 | %attr(755,root,root) /lib/systemd/systemd-* |
c3037397 | 822 | %dir /lib/systemd/system-generators |
4389e6f9 | 823 | %attr(755,root,root) /lib/systemd/systemd |
5d32f234 | 824 | %attr(755,root,root) /lib/systemd/system-generators/systemd-*-generator |
abd479ee | 825 | %dir /lib/systemd/system-shutdown |
1c239f8b | 826 | /lib/udev/rules.d/99-systemd.rules |
961baf80 AF |
827 | /lib/udev/rules.d/70-uaccess.rules |
828 | /lib/udev/rules.d/71-seat.rules | |
829 | /lib/udev/rules.d/73-seat-late.rules | |
3edd52a6 TP |
830 | %dir %{_libexecdir}/systemd |
831 | %{_libexecdir}/systemd/user | |
2a61be78 | 832 | %dir %{_libexecdir}/systemd/user-generators |
89d58574 | 833 | %config(noreplace,missingok) %{_libexecdir}/tmpfiles.d/*.conf |
961baf80 AF |
834 | %{_datadir}/dbus-1/interfaces/org.freedesktop.hostname1.xml |
835 | %{_datadir}/dbus-1/interfaces/org.freedesktop.locale1.xml | |
c3037397 | 836 | %{_datadir}/dbus-1/interfaces/org.freedesktop.systemd1.*.xml |
961baf80 | 837 | %{_datadir}/dbus-1/interfaces/org.freedesktop.timedate1.xml |
1c239f8b | 838 | %{_datadir}/dbus-1/services/org.freedesktop.systemd1.service |
6e34428f | 839 | %{_datadir}/dbus-1/system-services/org.freedesktop.hostname1.service |
961baf80 AF |
840 | %{_datadir}/dbus-1/system-services/org.freedesktop.locale1.service |
841 | %{_datadir}/dbus-1/system-services/org.freedesktop.login1.service | |
1c239f8b | 842 | %{_datadir}/dbus-1/system-services/org.freedesktop.systemd1.service |
961baf80 | 843 | %{_datadir}/dbus-1/system-services/org.freedesktop.timedate1.service |
6e34428f | 844 | %{_datadir}/polkit-1/actions/org.freedesktop.hostname1.policy |
961baf80 AF |
845 | %{_datadir}/polkit-1/actions/org.freedesktop.locale1.policy |
846 | %{_datadir}/polkit-1/actions/org.freedesktop.login1.policy | |
847 | %{_datadir}/polkit-1/actions/org.freedesktop.systemd1.policy | |
848 | %{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy | |
849 | %dir %{_datadir}/systemd | |
850 | %{_datadir}/systemd/kbd-model-map | |
7a76bc86 | 851 | %{_mandir}/man1/systemd.1* |
2a61be78 | 852 | %{_mandir}/man1/systemd-*.1* |
6e34428f | 853 | %{_mandir}/man5/binfmt.d.5* |
1c239f8b | 854 | %{_mandir}/man5/hostname.5* |
855 | %{_mandir}/man5/locale.conf.5* | |
7a76bc86 | 856 | %{_mandir}/man5/machine-id.5* |
6e34428f | 857 | %{_mandir}/man5/machine-info.5* |
1c239f8b | 858 | %{_mandir}/man5/modules-load.d.5* |
859 | %{_mandir}/man5/os-release.5* | |
6e34428f | 860 | %{_mandir}/man5/sysctl.d.5* |
89d58574 | 861 | %{_mandir}/man5/systemd.*.5* |
2be4e142 | 862 | %{_mandir}/man5/systemd-journald.conf.5* |
961baf80 AF |
863 | %{_mandir}/man5/systemd-logind.conf.5* |
864 | %{_mandir}/man5/timezone.5* | |
23107006 | 865 | %{_mandir}/man5/vconsole.conf.5* |
1c239f8b | 866 | %{_mandir}/man7/daemon.7* |
867 | %{_mandir}/man7/sd-daemon.7* | |
c76a8951 | 868 | %{_mandir}/man7/sd-login.7* |
1c239f8b | 869 | %{_mandir}/man7/sd-readahead.7* |
870 | %{_mandir}/man7/systemd.special.7* | |
24f95219 ER |
871 | %dir /var/lib/%{name} |
872 | %dir /var/lib/%{name}/coredump | |
a761f93e TP |
873 | %attr(640,root,root) %ghost /var/log/btmp |
874 | %attr(664,root,utmp) %ghost /var/log/wtmp | |
c3037397 | 875 | |
6c89bbd4 | 876 | %if %{with pam} |
a86320a6 | 877 | %attr(755,root,root) /%{_lib}/security/pam_systemd.so |
6c89bbd4 ER |
878 | %{_mandir}/man8/pam_systemd.8* |
879 | %endif | |
880 | ||
c97dacdd | 881 | %files init |
5b9bde26 | 882 | %defattr(644,root,root,755) |
c97dacdd TP |
883 | %attr(755,root,root) /sbin/halt |
884 | %attr(755,root,root) /sbin/init | |
885 | %attr(755,root,root) /sbin/poweroff | |
886 | %attr(755,root,root) /sbin/reboot | |
887 | %attr(755,root,root) /sbin/runlevel | |
888 | %attr(755,root,root) /sbin/shutdown | |
889 | %attr(755,root,root) /sbin/telinit | |
890 | %{_mandir}/man1/init.1 | |
891 | %{_mandir}/man8/halt.8* | |
892 | %{_mandir}/man8/poweroff.8 | |
893 | %{_mandir}/man8/reboot.8 | |
894 | %{_mandir}/man8/runlevel.8* | |
895 | %{_mandir}/man8/shutdown.8* | |
896 | %{_mandir}/man8/telinit.8* | |
897 | ||
c3037397 ER |
898 | %files units |
899 | %defattr(644,root,root,755) | |
abd479ee MB |
900 | %dir %{_sysconfdir}/binfmt.d |
901 | %dir %{_sysconfdir}/modules-load.d | |
5d32f234 | 902 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/modules-load.d/modules.conf |
abd479ee | 903 | %dir %{_sysconfdir}/sysctl.d |
c3037397 ER |
904 | %dir %{_sysconfdir}/systemd |
905 | %dir %{_sysconfdir}/systemd/system | |
906 | %dir %{_sysconfdir}/tmpfiles.d | |
7cb5cfc8 | 907 | %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/tmpfiles.d/*.conf |
85879912 ER |
908 | %dir %{_libexecdir}/binfmt.d |
909 | %dir %{_libexecdir}/modules-load.d | |
910 | %dir %{_libexecdir}/sysctl.d | |
3be4738a JR |
911 | # Don't package the kernel.core_pattern setting until systemd-coredump |
912 | # is a part of an actual systemd release and it's made clear how to | |
913 | # get the core dumps out of the journal. | |
914 | #%{_libexecdir}/sysctl.d/coredump.conf | |
c3037397 ER |
915 | %attr(755,root,root) /bin/systemctl |
916 | %attr(755,root,root) /bin/systemd-tmpfiles | |
b77423ae | 917 | %attr(755,root,root) /bin/systemd_booted |
c3037397 | 918 | %{_mandir}/man1/systemctl.1* |
89d58574 | 919 | %{_mandir}/man5/tmpfiles.d.5* |
c3037397 | 920 | %{_mandir}/man8/systemd-tmpfiles.8* |
961baf80 | 921 | %{_npkgconfigdir}/systemd.pc |
c3037397 | 922 | |
4cc1cb1d ER |
923 | %{systemdunitdir}/*.automount |
924 | %{systemdunitdir}/*.mount | |
925 | %{systemdunitdir}/*.path | |
926 | %{systemdunitdir}/*.service | |
927 | %{systemdunitdir}/*.socket | |
928 | %{systemdunitdir}/*.target | |
929 | %{systemdunitdir}/*.timer | |
e4c66821 JB |
930 | %if %{with plymouth} |
931 | %exclude %{systemdunitdir}/plymouth*.service | |
932 | %exclude %{systemdunitdir}/systemd-ask-password-plymouth.* | |
933 | %endif | |
934 | %dir %{systemdunitdir}/basic.target.wants | |
935 | %dir %{systemdunitdir}/dbus.target.wants | |
936 | %dir %{systemdunitdir}/final.target.wants | |
937 | %dir %{systemdunitdir}/graphical.target.wants | |
938 | %dir %{systemdunitdir}/halt.target.wants | |
939 | %dir %{systemdunitdir}/kexec.target.wants | |
940 | %dir %{systemdunitdir}/local-fs.target.wants | |
941 | %dir %{systemdunitdir}/multi-user.target.wants | |
942 | %dir %{systemdunitdir}/poweroff.target.wants | |
943 | %dir %{systemdunitdir}/reboot.target.wants | |
944 | %dir %{systemdunitdir}/runlevel[12345].target.wants | |
945 | %dir %{systemdunitdir}/shutdown.target.wants | |
946 | %dir %{systemdunitdir}/sockets.target.wants | |
947 | %dir %{systemdunitdir}/sysinit.target.wants | |
948 | %dir %{systemdunitdir}/syslog.target.wants | |
949 | %config(noreplace,missingok) %{systemdunitdir}/basic.target.wants/* | |
950 | %config(noreplace,missingok) %{systemdunitdir}/final.target.wants/* | |
951 | %config(noreplace,missingok) %{systemdunitdir}/graphical.target.wants/* | |
952 | %config(noreplace,missingok) %{systemdunitdir}/local-fs.target.wants/* | |
953 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/getty.target | |
a2018b66 | 954 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/rc-local.service |
e4c66821 JB |
955 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-ask-password-wall.path |
956 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-logind.service | |
957 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/systemd-user-sessions.service | |
958 | %config(noreplace,missingok) %{systemdunitdir}/runlevel[12345].target.wants/* | |
959 | %config(noreplace,missingok) %{systemdunitdir}/shutdown.target.wants/* | |
960 | %config(noreplace,missingok) %{systemdunitdir}/sockets.target.wants/* | |
8450fd95 | 961 | %{?with_cryptsetup:%config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/cryptsetup.target} |
e4c66821 JB |
962 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/dev-hugepages.mount |
963 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/dev-mqueue.mount | |
964 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/proc-sys-fs-binfmt_misc.automount | |
965 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/sys-*.mount | |
966 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/systemd-* | |
967 | ||
968 | %if %{with plymouth} | |
969 | %files plymouth | |
970 | %defattr(644,root,root,755) | |
971 | %{systemdunitdir}/plymouth-halt.service | |
972 | %{systemdunitdir}/plymouth-kexec.service | |
973 | %{systemdunitdir}/plymouth-poweroff.service | |
974 | %{systemdunitdir}/plymouth-quit-wait.service | |
975 | %{systemdunitdir}/plymouth-quit.service | |
976 | %{systemdunitdir}/plymouth-read-write.service | |
977 | %{systemdunitdir}/plymouth-reboot.service | |
978 | %{systemdunitdir}/plymouth-start.service | |
979 | %{systemdunitdir}/systemd-ask-password-plymouth.path | |
980 | %{systemdunitdir}/systemd-ask-password-plymouth.service | |
981 | %config(noreplace,missingok) %{systemdunitdir}/halt.target.wants/plymouth-halt.service | |
982 | %config(noreplace,missingok) %{systemdunitdir}/kexec.target.wants/plymouth-kexec.service | |
983 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/plymouth-quit.service | |
984 | %config(noreplace,missingok) %{systemdunitdir}/multi-user.target.wants/plymouth-quit-wait.service | |
985 | %config(noreplace,missingok) %{systemdunitdir}/poweroff.target.wants/plymouth-poweroff.service | |
986 | %config(noreplace,missingok) %{systemdunitdir}/reboot.target.wants/plymouth-reboot.service | |
987 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/plymouth-read-write.service | |
988 | %config(noreplace,missingok) %{systemdunitdir}/sysinit.target.wants/plymouth-start.service | |
989 | %endif | |
10ffdcd2 | 990 | |
4e5e9c32 ER |
991 | %files analyze |
992 | %defattr(644,root,root,755) | |
993 | %attr(755,root,root) %{_bindir}/systemd-analyze | |
994 | ||
5b9bde26 | 995 | %files libs |
6c89bbd4 | 996 | %defattr(644,root,root,755) |
6ba1f779 MB |
997 | %attr(755,root,root) /%{_lib}/libsystemd-daemon.so.*.*.* |
998 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-daemon.so.0 | |
999 | %attr(755,root,root) /%{_lib}/libsystemd-id128.so.*.*.* | |
1000 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-id128.so.0 | |
1001 | %attr(755,root,root) /%{_lib}/libsystemd-journal.so.*.*.* | |
1002 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-journal.so.0 | |
1003 | %attr(755,root,root) /%{_lib}/libsystemd-login.so.*.*.* | |
1004 | %attr(755,root,root) %ghost /%{_lib}/libsystemd-login.so.0 | |
961baf80 AF |
1005 | |
1006 | %files devel | |
1007 | %defattr(644,root,root,755) | |
89d58574 | 1008 | %attr(755,root,root) %{_libdir}/libsystemd-daemon.so |
c76a8951 BZ |
1009 | %attr(755,root,root) %{_libdir}/libsystemd-id128.so |
1010 | %attr(755,root,root) %{_libdir}/libsystemd-journal.so | |
89d58574 | 1011 | %attr(755,root,root) %{_libdir}/libsystemd-login.so |
5b9bde26 | 1012 | %{_includedir}/%{name} |
961baf80 | 1013 | %{_pkgconfigdir}/libsystemd-daemon.pc |
c76a8951 BZ |
1014 | %{_pkgconfigdir}/libsystemd-id128.pc |
1015 | %{_pkgconfigdir}/libsystemd-journal.pc | |
961baf80 | 1016 | %{_pkgconfigdir}/libsystemd-login.pc |
2be4e142 | 1017 | %{_mandir}/man3/sd_booted.3* |
c76a8951 BZ |
1018 | %{_mandir}/man3/sd_get_seats.3* |
1019 | %{_mandir}/man3/sd_get_sessions.3* | |
1020 | %{_mandir}/man3/sd_get_uids.3* | |
2be4e142 | 1021 | %{_mandir}/man3/sd_is_fifo.3* |
c76a8951 | 1022 | %{_mandir}/man3/sd_is_mq.3* |
2be4e142 JR |
1023 | %{_mandir}/man3/sd_is_socket.3 |
1024 | %{_mandir}/man3/sd_is_socket_inet.3 | |
1025 | %{_mandir}/man3/sd_is_socket_unix.3 | |
1026 | %{_mandir}/man3/sd_listen_fds.3* | |
c76a8951 BZ |
1027 | %{_mandir}/man3/sd_login_monitor_flush.3* |
1028 | %{_mandir}/man3/sd_login_monitor_get_fd.3* | |
1029 | %{_mandir}/man3/sd_login_monitor_new.3* | |
1030 | %{_mandir}/man3/sd_login_monitor_unref.3* | |
2be4e142 JR |
1031 | %{_mandir}/man3/sd_notify.3* |
1032 | %{_mandir}/man3/sd_notifyf.3 | |
c76a8951 BZ |
1033 | %{_mandir}/man3/sd_pid_get_owner_uid.3* |
1034 | %{_mandir}/man3/sd_pid_get_session.3* | |
1035 | %{_mandir}/man3/sd_pid_get_unit.3* | |
2be4e142 | 1036 | %{_mandir}/man3/sd_readahead.3* |
c76a8951 BZ |
1037 | %{_mandir}/man3/sd_seat_can_multi_session.3* |
1038 | %{_mandir}/man3/sd_seat_get_active.3* | |
1039 | %{_mandir}/man3/sd_seat_get_sessions.3* | |
2be4e142 JR |
1040 | %{_mandir}/man3/sd_session_get_class.3* |
1041 | %{_mandir}/man3/sd_session_get_display.3* | |
c76a8951 | 1042 | %{_mandir}/man3/sd_session_get_seat.3* |
2be4e142 JR |
1043 | %{_mandir}/man3/sd_session_get_service.3* |
1044 | %{_mandir}/man3/sd_session_get_type.3* | |
c76a8951 BZ |
1045 | %{_mandir}/man3/sd_session_get_uid.3* |
1046 | %{_mandir}/man3/sd_session_is_active.3* | |
1047 | %{_mandir}/man3/sd_uid_get_seats.3* | |
1048 | %{_mandir}/man3/sd_uid_get_sessions.3* | |
1049 | %{_mandir}/man3/sd_uid_get_state.3* | |
1050 | %{_mandir}/man3/sd_uid_is_on_seat.3* | |
5b9bde26 JB |
1051 | |
1052 | %files -n bash-completion-systemd | |
1053 | %defattr(644,root,root,755) | |
391eea76 | 1054 | /etc/bash_completion.d/systemd-bash-completion.sh |
ae4d0acb JR |
1055 | |
1056 | %files no-compat-tmpfiles | |
1057 | %defattr(644,root,root,755) | |
1058 | # empty package | |
30121190 JR |
1059 | |
1060 | %files -n udev | |
1061 | %defattr(644,root,root,755) | |
1062 | %dev(c,1,3) %attr(666,root,root) /dev/null | |
1063 | %dev(c,5,1) %attr(660,root,console) /dev/console | |
1064 | %dev(c,1,5) %attr(666,root,root) /dev/zero | |
1065 | ||
1066 | %files -n udev-core | |
1067 | %defattr(644,root,root,755) | |
1068 | %doc ChangeLog TODO | |
1069 | ||
1070 | %dir /lib/udev | |
1071 | ||
1072 | # /lib/udev/devices is recommended as a directory where packages or | |
1073 | # the user can place real device nodes, which get copied over to /dev at | |
1074 | # every boot. This should replace the various solutions with custom config | |
1075 | # files. | |
1076 | %dir /lib/udev/devices | |
1077 | ||
1078 | %attr(755,root,root) /lib/udev/create_floppy_devices | |
1079 | %attr(755,root,root) /lib/udev/collect | |
1080 | ||
1081 | %attr(755,root,root) /lib/udev/keyboard-force-release.sh | |
1082 | ||
1083 | %attr(755,root,root) /lib/udev/net_helper | |
1084 | ||
1085 | %attr(755,root,root) /lib/udev/ata_id | |
1086 | %attr(755,root,root) /lib/udev/cdrom_id | |
1087 | %attr(755,root,root) /lib/udev/mtd_probe | |
1088 | %attr(755,root,root) /lib/udev/scsi_id | |
1089 | %attr(755,root,root) /lib/udev/v4l_id | |
1090 | ||
1091 | %attr(755,root,root) /lib/udev/udevd | |
1092 | ||
1093 | %attr(755,root,root) /lib/udev/keymap | |
1094 | %dir /lib/udev/keymaps | |
1095 | /lib/udev/keymaps/* | |
1096 | ||
1097 | %attr(755,root,root) /lib/udev/accelerometer | |
1098 | %attr(755,root,root) /lib/udev/findkeyboards | |
1099 | ||
1100 | %attr(755,root,root) %{_sbindir}/start_udev | |
1101 | %attr(755,root,root) %{_sbindir}/udevd | |
1102 | %attr(755,root,root) %{_sbindir}/udevadm | |
1103 | %attr(755,root,root) %{_bindir}/udevadm | |
1104 | ||
1105 | %dir %{_sysconfdir}/udev | |
1106 | %dir %{_sysconfdir}/udev/rules.d | |
1107 | ||
1108 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/fbdev-blacklist.conf | |
1109 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/modprobe.d/udev_blacklist.conf | |
1110 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/links.conf | |
1111 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/40-alsa-restore.rules | |
1112 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/rules.d/70-udev-pld.rules | |
1113 | ||
1114 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/udev/udev.conf | |
1115 | ||
1116 | # rules below are NOT supposed to be changed by users | |
1117 | /lib/udev/rules.d/42-usb-hid-pm.rules | |
1118 | /lib/udev/rules.d/50-udev-default.rules | |
1119 | /lib/udev/rules.d/60-cdrom_id.rules | |
1120 | /lib/udev/rules.d/60-floppy.rules | |
1121 | /lib/udev/rules.d/60-persistent-alsa.rules | |
1122 | /lib/udev/rules.d/60-persistent-input.rules | |
1123 | /lib/udev/rules.d/60-persistent-serial.rules | |
1124 | /lib/udev/rules.d/60-persistent-storage-tape.rules | |
1125 | /lib/udev/rules.d/60-persistent-storage.rules | |
1126 | /lib/udev/rules.d/60-persistent-v4l.rules | |
1127 | /lib/udev/rules.d/61-accelerometer.rules | |
1128 | /lib/udev/rules.d/75-net-description.rules | |
1129 | /lib/udev/rules.d/75-probe_mtd.rules | |
1130 | /lib/udev/rules.d/75-tty-description.rules | |
1131 | /lib/udev/rules.d/78-sound-card.rules | |
1132 | /lib/udev/rules.d/80-drivers.rules | |
1133 | /lib/udev/rules.d/95-keyboard-force-release.rules | |
1134 | /lib/udev/rules.d/95-keymap.rules | |
1135 | /lib/udev/rules.d/95-udev-late.rules | |
1136 | ||
1137 | %{_mandir}/man7/udev.7* | |
1138 | %{_mandir}/man8/* | |
1139 | ||
1140 | %{systemdunitdir}/basic.target.wants/udev-trigger.service | |
1141 | %{systemdunitdir}/basic.target.wants/udev.service | |
1142 | %{systemdunitdir}/sockets.target.wants/udev-control.socket | |
1143 | %{systemdunitdir}/sockets.target.wants/udev-kernel.socket | |
1144 | %{systemdunitdir}/udev-control.socket | |
1145 | %{systemdunitdir}/udev-kernel.socket | |
1146 | %{systemdunitdir}/udev-settle.service | |
1147 | %{systemdunitdir}/udev-trigger.service | |
1148 | %{systemdunitdir}/udev.service | |
1149 | ||
1150 | %files -n udev-libs | |
1151 | %defattr(644,root,root,755) | |
1152 | %attr(755,root,root) /%{_lib}/libudev.so.*.*.* | |
1153 | %attr(755,root,root) %ghost /%{_lib}/libudev.so.0 | |
1154 | ||
1155 | %files -n udev-devel | |
1156 | %defattr(644,root,root,755) | |
1157 | %attr(755,root,root) %{_libdir}/libudev.so | |
1158 | %{_libdir}/libudev.la | |
1159 | %{_includedir}/libudev.h | |
1160 | %{_pkgconfigdir}/libudev.pc | |
1161 | %{_npkgconfigdir}/udev.pc | |
1162 | ||
1163 | %files -n udev-static | |
1164 | %defattr(644,root,root,755) | |
1165 | %attr(755,root,root) %{_libdir}/libudev.a | |
1166 | ||
1167 | %files -n udev-apidocs | |
1168 | %defattr(644,root,root,755) | |
1169 | %{_gtkdocdir}/libudev | |
1170 | ||
1171 | %files -n udev-glib | |
1172 | %defattr(644,root,root,755) | |
1173 | %attr(755,root,root) /%{_lib}/libgudev-1.0.so.*.*.* | |
1174 | %attr(755,root,root) %ghost /%{_lib}/libgudev-1.0.so.0 | |
1175 | %{_libdir}/girepository-1.0/GUdev-1.0.typelib | |
1176 | ||
1177 | %files -n udev-glib-devel | |
1178 | %defattr(644,root,root,755) | |
1179 | %attr(755,root,root) %{_libdir}/libgudev-1.0.so | |
1180 | %{_libdir}/libgudev-1.0.la | |
1181 | %{_includedir}/gudev-1.0 | |
1182 | %{_pkgconfigdir}/gudev-1.0.pc | |
1183 | %{_datadir}/gir-1.0/GUdev-1.0.gir | |
1184 | ||
1185 | %files -n udev-glib-static | |
1186 | %defattr(644,root,root,755) | |
1187 | %attr(755,root,root) %{_libdir}/libgudev-1.0.a | |
1188 | ||
1189 | %files -n udev-glib-apidocs | |
1190 | %defattr(644,root,root,755) | |
1191 | %{_gtkdocdir}/gudev | |
1192 | ||
1193 | %if %{with initrd} | |
1194 | %files -n udev-initrd | |
1195 | %defattr(644,root,root,755) | |
1196 | %dir %{_libdir}/initrd/udev | |
1197 | %attr(755,root,root) %{_libdir}/initrd/udevd | |
1198 | %attr(755,root,root) %{_libdir}/initrd/udevadm | |
1199 | %attr(755,root,root) %{_libdir}/initrd/udevstart | |
1200 | %attr(755,root,root) %{_libdir}/initrd/udev/*_id | |
1201 | %attr(755,root,root) %{_libdir}/initrd/udev/collect | |
1202 | %endif |