]>
Commit | Line | Data |
---|---|---|
ede8d3e5 | 1 | # |
2 | ||
9c0b975d | 3 | %bcond_with gtk # build gtk tools |
4 | ||
ede8d3e5 | 5 | Summary: systemd - a system and service manager for Linux |
6 | Summary(pl.UTF-8): systemd - zarządca systemu i usług dla Linuksa | |
7 | Name: systemd | |
8 | Version: 15 | |
9 | Release: 0.1 | |
10 | License: GPL v2+ | |
11 | Group: Base | |
12 | Source0: http://www.freedesktop.org/software/systemd/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 36011aa8593862ca78e3e909f6143570 | |
14 | URL: http://www.freedesktop.org/wiki/Software/systemd | |
15 | #BuildRequires: - | |
16 | BuildRequires: autoconf | |
17 | BuildRequires: automake | |
9c0b975d | 18 | BuildRequires: dbus-devel |
ede8d3e5 | 19 | BuildRequires: gettext-devel |
9c0b975d | 20 | %if %{with gtk} |
21 | BuildRequires: libnotify-devel >= 0.7.0 | |
22 | %endif | |
ede8d3e5 | 23 | BuildRequires: libtool |
24 | BuildRequires: udev-devel >= 160 | |
eb2fda66 | 25 | BuildRequires: vala >= 0.11 |
ede8d3e5 | 26 | #Requires(postun): - |
27 | #Requires(pre,post): - | |
28 | #Requires(preun): - | |
29 | #Requires: - | |
30 | #Provides: - | |
31 | #Provides: group(foo) | |
32 | #Provides: user(foo) | |
33 | #Obsoletes: - | |
34 | #Conflicts: - | |
35 | #BuildArch: noarch | |
36 | #ExclusiveArch: %{ix86} | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | systemd is a system and service manager for Linux, compatible with | |
41 | SysV and LSB init scripts. systemd provides aggressive parallelization | |
42 | capabilities, uses socket and D-Bus activation for starting services, | |
43 | offers on-demand starting of daemons, keeps track of processes using | |
44 | Linux cgroups, supports snapshotting and restoring of the system | |
45 | state, maintains mount and automount points and implements an | |
46 | elaborate transactional dependency-based service control logic. It can | |
47 | work as a drop-in replacement for sysvinit. | |
48 | ||
49 | %description -l pl.UTF-8 | |
50 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
51 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
52 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
53 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
54 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
55 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
56 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
57 | zależnościach logikę kontroli usług. Może pracować jako zastepca dla | |
58 | sysvinit. | |
59 | ||
60 | %prep | |
61 | %setup -q | |
62 | ||
63 | %build | |
64 | %{__gettextize} | |
65 | %{__libtoolize} | |
66 | %{__aclocal} -I m4 | |
67 | %{__autoconf} | |
68 | %{__automake} | |
9c0b975d | 69 | %configure \ |
e1d9cc15 | 70 | --with-distro=other \ |
71 | --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk \ | |
72 | --with-syslog-service=syslog-ng \ | |
73 | --with-sysvinit-path=/etc/rc.d/init.d \ | |
74 | --with-sysvrcd-path=/etc/rc.d | |
75 | ||
ede8d3e5 | 76 | %{__make} |
77 | ||
78 | %install | |
79 | rm -rf $RPM_BUILD_ROOT | |
80 | ||
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
87 | %files | |
88 | %defattr(644,root,root,755) | |
89 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |