]>
Commit | Line | Data |
---|---|---|
9431c717 ER |
1 | # TODO |
2 | # - kill: Requires: /bin/bash | |
cd9e7c41 | 3 | Summary: Event-based init daemon |
cc6984a1 | 4 | Summary(pl.UTF-8): Demon init oparty na zdarzeniach |
cd9e7c41 | 5 | Name: einit |
5052e462 | 6 | Version: 0.40.0 |
cd9e7c41 ER |
7 | Release: 0.1 |
8 | License: GPL v2 | |
9 | Group: Base | |
5052e462 BZ |
10 | Source0: http://einit.org/files/%{name}-%{version}.tar.bz2 |
11 | # Source0-md5: 92c65507a4e60993053649c742201605 | |
12 | URL: http://www.einit.org/ | |
7eea7019 | 13 | BuildRequires: expat-devel |
9431c717 | 14 | BuildRequires: libnl-devel >= 1.0-0.pre6.3 |
5052e462 | 15 | BuildRequires: ncurses-devel |
7eea7019 | 16 | BuildRequires: pkgconfig |
5052e462 | 17 | BuildRequires: scons |
cd9e7c41 ER |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
cd9e7c41 | 20 | %define _includedir /usr/include |
5052e462 | 21 | %define _prefix / |
cd9e7c41 ER |
22 | |
23 | %description | |
24 | eINIT is a replacement for SysVinit, an init system used on UNIX-based | |
25 | operating systems. eINIT is designed with speed in mind. Many testers | |
cc6984a1 | 26 | claim that their systems boot up in 30 seconds, whereas SysVinit takes |
cd9e7c41 ER |
27 | around two minutes to boot. |
28 | ||
cc6984a1 JB |
29 | %description -l pl.UTF-8 |
30 | eINIT to zamiennik systemu SysVinit używanego w systemach operacyjnych | |
31 | opartych na Uniksie. eINIT został zaprojektowany z myślą o szybkości. | |
32 | Wielu testujących twierdzi, że ich systemy uruchamiają się w 30 | |
33 | sekund, podczas gdy SysVinit potrzebował na to około dwóch minut. | |
34 | ||
cd9e7c41 ER |
35 | %package devel |
36 | Summary: Header files for eINIT | |
cc6984a1 | 37 | Summary(pl.UTF-8): Pliki nagłówkowe systemu eINIT |
cd9e7c41 | 38 | Group: Development/Libraries |
cc6984a1 | 39 | # doesn't require base |
cd9e7c41 ER |
40 | |
41 | %description devel | |
42 | eINIT header files for developing plugins for eINIT. | |
43 | ||
cc6984a1 JB |
44 | %description devel -l pl.UTF-8 |
45 | Pliki nagłówkowe systemu eINIT do tworzenia wtyczek dla niego. | |
46 | ||
cd9e7c41 ER |
47 | %prep |
48 | %setup -q | |
49 | ||
50 | %build | |
5052e462 BZ |
51 | export CFLAGS=-I%{_includedir}/ncurses |
52 | export CC='%{__cc}' | |
53 | export CXX='%{__cxx}' | |
54 | export CXXFLAGS='%{rpmcxxflags}' | |
55 | %scons \ | |
56 | destdir=$RPM_BUILD_ROOT \ | |
57 | prefix=%{_prefix} \ | |
58 | os_cc=1 \ | |
59 | os_cxx=1 \ | |
60 | os_cxxflags=1 | |
cd9e7c41 ER |
61 | |
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
5052e462 BZ |
65 | export CFLAGS=-I%{_includedir}/ncurses |
66 | export CC='%{__cc}' | |
67 | export CXX='%{__cxx}' | |
68 | export CXXFLAGS='%{rpmcxxflags}' | |
69 | %scons install \ | |
70 | destdir=$RPM_BUILD_ROOT \ | |
71 | prefix=%{_prefix} \ | |
72 | os_cc=1 \ | |
73 | os_cxx=1 \ | |
74 | os_cxxflags=1 | |
cd9e7c41 ER |
75 | |
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %files | |
80 | %defattr(644,root,root,755) | |
81 | %doc AUTHORS ChangeLog NEWS TODO | |
5052e462 | 82 | #/etc/dbus-1/system.d/einit.conf |
cc6984a1 | 83 | %dir %{_sysconfdir}/einit |
cd9e7c41 | 84 | %{_sysconfdir}/einit/*.xml |
5052e462 | 85 | %{_sysconfdir}/einit/rules.edev |
cd9e7c41 ER |
86 | %{_sysconfdir}/einit/subsystems.d |
87 | ||
88 | %attr(755,root,root) %{_sbindir}/einit | |
5052e462 BZ |
89 | %attr(755,root,root) %{_sbindir}/einit-sysvd |
90 | ||
91 | %attr(755,root,root) %{_libdir}/libeinit++.so | |
92 | %attr(755,root,root) %{_libdir}/libeinit.so | |
cd9e7c41 ER |
93 | |
94 | %dir %{_libdir}/einit | |
95 | %dir %{_libdir}/einit/bin | |
5052e462 BZ |
96 | %attr(755,root,root) %{_libdir}/einit/bin/einit-core |
97 | %attr(755,root,root) %{_libdir}/einit/bin/einit-feedback | |
98 | %attr(755,root,root) %{_libdir}/einit/bin/einit-helper | |
99 | %attr(755,root,root) %{_libdir}/einit/bin/einit-log | |
100 | %attr(755,root,root) %{_libdir}/einit/bin/last-rites | |
101 | ||
cd9e7c41 ER |
102 | %{_libdir}/einit/defaults |
103 | %{_libdir}/einit/einit.xml | |
104 | ||
5052e462 BZ |
105 | %dir %{_libdir}/einit/bootstrap |
106 | %attr(755,root,root) %{_libdir}/einit/bootstrap/bootstrap-configuration-stree.so | |
107 | %attr(755,root,root) %{_libdir}/einit/bootstrap/bootstrap-configuration-xml-expat.so | |
108 | ||
cd9e7c41 | 109 | %dir %{_libdir}/einit/modules |
5052e462 BZ |
110 | %attr(755,root,root) %{_libdir}/einit/modules/bundle-base.so |
111 | %attr(755,root,root) %{_libdir}/einit/modules/bundle-compatibility.so | |
112 | %attr(755,root,root) %{_libdir}/einit/modules/bundle-linux.so | |
113 | %attr(755,root,root) %{_libdir}/einit/modules/ipc-9p.so | |
114 | %attr(755,root,root) %{_libdir}/einit/modules/linux-urandom.so | |
115 | %attr(755,root,root) %{_libdir}/einit/modules/module-logic-v4.so | |
cd9e7c41 | 116 | %attr(755,root,root) %{_libdir}/einit/modules/shadow-exec.so |
5052e462 BZ |
117 | |
118 | %dir %{_libdir}/einit/schemata | |
119 | %{_libdir}/einit/schemata/data-types.rnc | |
120 | %{_libdir}/einit/schemata/einit-module.rnc | |
121 | %{_libdir}/einit/schemata/einit-network.rnc | |
122 | %{_libdir}/einit/schemata/einit.rnc | |
cd9e7c41 ER |
123 | |
124 | %dir %{_libdir}/einit/scripts | |
5052e462 BZ |
125 | %attr(755,root,root) %{_libdir}/einit/scripts/import-fstab |
126 | %attr(755,root,root) %{_libdir}/einit/scripts/make-initramfs | |
cd9e7c41 ER |
127 | |
128 | %files devel | |
129 | %defattr(644,root,root,755) | |
130 | %{_includedir}/einit | |
131 | %{_includedir}/einit-modules |