]>
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 | |
25 | #Requires(postun): - | |
26 | #Requires(pre,post): - | |
27 | #Requires(preun): - | |
28 | #Requires: - | |
29 | #Provides: - | |
30 | #Provides: group(foo) | |
31 | #Provides: user(foo) | |
32 | #Obsoletes: - | |
33 | #Conflicts: - | |
34 | #BuildArch: noarch | |
35 | #ExclusiveArch: %{ix86} | |
36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
37 | ||
38 | %description | |
39 | systemd is a system and service manager for Linux, compatible with | |
40 | SysV and LSB init scripts. systemd provides aggressive parallelization | |
41 | capabilities, uses socket and D-Bus activation for starting services, | |
42 | offers on-demand starting of daemons, keeps track of processes using | |
43 | Linux cgroups, supports snapshotting and restoring of the system | |
44 | state, maintains mount and automount points and implements an | |
45 | elaborate transactional dependency-based service control logic. It can | |
46 | work as a drop-in replacement for sysvinit. | |
47 | ||
48 | %description -l pl.UTF-8 | |
49 | systemd jest zarządcą systemu i usług dla Linuksa, kompatybilny ze | |
50 | skryptami SysV i LSB. systemd udostępnia rozbudowane zdolności | |
51 | paralelizacji, do uruchamiania usług używa socketów oraz D-Busa, | |
52 | oferuje uruchamianie usług na życzenie, monitoruje procesy używając | |
53 | linuksowych cgroups, wspomaga zapisywanie (snapshot) i odczytywanie | |
54 | (restore) stanu systemu, zarządza (auto)mount pointami oraz | |
55 | implementuje starannie opracowaną transakcjonalną, bazującą na | |
56 | zależnościach logikę kontroli usług. Może pracować jako zastepca dla | |
57 | sysvinit. | |
58 | ||
59 | %prep | |
60 | %setup -q | |
61 | ||
62 | %build | |
63 | %{__gettextize} | |
64 | %{__libtoolize} | |
65 | %{__aclocal} -I m4 | |
66 | %{__autoconf} | |
67 | %{__automake} | |
9c0b975d | 68 | %configure \ |
69 | --with-distro="PLD Linux" \ | |
70 | --%{?with_gtk:en}%{!?with_gtk:dis}able-gtk | |
ede8d3e5 | 71 | %{__make} |
72 | ||
73 | %install | |
74 | rm -rf $RPM_BUILD_ROOT | |
75 | ||
76 | %{__make} install \ | |
77 | DESTDIR=$RPM_BUILD_ROOT | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |