source: projects/specs/tags/6_0_REL/i/initng/initng-vl.spec @ 521

Revision 521, 3.6 KB checked in by daisuke, 13 years ago (diff)

import VineSeed package specs

Line 
1%define name    initng
2%define version 0.3.3
3%define release 1%{?_dist_release}
4Summary:        A next generation init replacement
5Summary(ja):    高速起動の可能な次世代 init
6Name:           %{name}
7Version:        %{version}
8Release:        %{release}
9Source0:        http://initng.thinktux.net/download/%{name}-%{version}.tar.bz2
10Source1:        keymaps.i
11Source2:        unicon.i
12Source3:        mingetty.i
13Source4:        prefdm.i
14Source5:        initial.i
15Patch0:         initng_see_vine-release.pl.patch
16License:        GPL
17Group:          System Environment/Base
18URL:            http://initng.thinktux.net/
19
20BuildRequires:  perl   
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22
23
24%description
25Initng is a full replacement of the old and in many ways deprecated
26SysVinit tool. It is designed with speed in mind, doing as much as
27possible asynchronously. In other words: It will boot your unix-system
28much faster, and give you more control and statistics over your
29system.
30
31%description -l ja
32Initng は古くて時代遅れになってきている SysVinit を完全に置き換える
33ものです。Initng はスピードを考慮して設計されており、可能な限り非同
34期的に処理を行います。要するに、これはシステムをより速く起動し、
35システムをよりきめ細かく制御できるようにします。
36
37
38%prep
39
40%setup -q
41%patch0 -p1
42
43%build
44%configure --libdir=/%{_lib} --sbindir=%{_syssbindir}
45%__make
46
47%install
48%__rm -rf ${RPM_BUILD_ROOT}
49%__make install DESTDIR=${RPM_BUILD_ROOT}
50%__install -m644 %{SOURCE1} ${RPM_BUILD_ROOT}/%{_sysconfdir}/initng/system
51%__install -m644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/initng/system
52%__install -m644 %{SOURCE3} ${RPM_BUILD_ROOT}/%{_sysconfdir}/initng/daemon
53%__install -m644 %{SOURCE4} ${RPM_BUILD_ROOT}/%{_sysconfdir}/initng/daemon
54%__install -m644 %{SOURCE5} ${RPM_BUILD_ROOT}/%{_sysconfdir}/initng/system
55
56## remove unuse files
57rm -f $RPM_BUILD_ROOT/%{_lib}/*.la
58rm -f $RPM_BUILD_ROOT/%{_lib}/%{name}/*.la
59
60
61%post
62if [ $1 = 1 ]; then
63   /sbin/ng-update del coldplug system
64   /sbin/ng-update del static-modules system
65   /sbin/ng-update del agetty system
66   /sbin/ng-update del acpid default
67   /sbin/ng-update del alsasound default
68   /sbin/ng-update add unicon system
69   /sbin/ng-update add mingetty system
70
71   echo 'daemon/mingetty/tty1' > ${RPM_BUILD_ROOT}/%{_sysconfdir}/initng/up.runlevel
72fi
73
74%clean
75%__rm -rf ${RPM_BUILD_ROOT}
76
77
78%files
79%defattr(-,root,root)
80%doc AUTHORS CODING_STANDARDS COPYING ChangeLog FAQ INSTALL
81%doc NEWS README TEMPLATE_HEADER TODO
82%doc doc/*.txt doc/*.conf doc/*.png
83%{_sysconfdir}/hotplug/net.agent
84%{_sysconfdir}/ifplugd/action.d/ngcupdown
85%{_sysconfdir}/initng
86#%{_sysconfdir}/pcmcia/network
87/%{_lib}/initng
88/%{_lib}/libinitng*
89%{_syssbindir}/gen_system_runlevel
90%{_syssbindir}/initng
91%{_syssbindir}/initng-segfault
92%{_syssbindir}/install_service
93%{_syssbindir}/ng-update
94%{_syssbindir}/ngc
95%{_syssbindir}/ngdc
96%{_syssbindir}/system_off
97%{_sbindir}/ifplugd.action
98%{_sbindir}/ngcupdown
99%{_sbindir}/wpa_cli.action
100%{_syssbindir}/shutdown_script
101#%{_datadir}/doc/initng*
102%{_mandir}/man8/*
103
104
105%changelog
106* Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.3.3-1vl5
107- applied new versioning policy, spec in utf-8
108- removed *.la
109
110* Sun Dec 18 2005 Ryoichi INIAGAKI <ryo1@bc.wakwak.com> 0.3.3-0vl2
111- changed Group:
112
113* Mon Oct 17 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.3-0vl1
114- source update.
115- add initng-segfault in %%files section.
116- add prefdm.i(Source4) and initial.i(Source5) for run X Window System.
117
118* Wed Oct 05 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.1-0vl1
119- source update.
120- update mingetty.i.
121
122* Tue Oct 04 2005 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.3.0-0vl1
123- initial build for VineSeed.
Note: See TracBrowser for help on using the repository browser.