upstart-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. Name: upstart
  2. Version: 1.2
  3. Release: 1%{?_dist_release}
  4. Summary: An event-driven init system
  5. Summary(ja): イベントドリブン型 init システム
  6. Group: System Environment/Base
  7. License: GPLv2 and LGPLv2+
  8. URL: http://launchpad.net/upstart
  9. Source0: http://launchpad.net/upstart/1.x/%{version}/+download/upstart-%{version}.tar.gz
  10. Source1: init-system-dbus.conf
  11. Patch1: upstart-telinit.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. Obsoletes: SysVinit < 2.88
  14. Provides: SysVinit = 2.88
  15. BuildRequires: gettext, audit-libs-devel, expat-devel
  16. BuildRequires: dbus-devel >= 1.2.16, libnih-devel >= 1.0.1
  17. Requires: initscripts >= 8.90.4
  18. %description
  19. Upstart is an event-based replacement for the /sbin/init daemon which
  20. handles starting of tasks and services during boot, stopping them
  21. during shutdown and supervising them while the system is running.
  22. %description -l ja
  23. Upstart はイベントドリブン型の /sbin/init デーモンです。OSブート時の
  24. タスクやサービスの開始やシャットダウン時の終了およびそれらの管理を担
  25. 当します。
  26. %prep
  27. %setup -q
  28. %patch1 -p1 -b .u
  29. %build
  30. %configure --sbindir=/sbin --libdir=/%{_lib}
  31. make %{?_smp_mflags}
  32. %install
  33. rm -rf %{buildroot}
  34. make install DESTDIR=%{buildroot}
  35. # don't ship default jobs
  36. rm -f %{buildroot}/%{_sysconfdir}/init/*
  37. install -m 644 %{SOURCE1} %{buildroot}/%{_sysconfdir}/init/
  38. %find_lang %{name}
  39. %check
  40. #some tests fail in koji while pass in mock and local build
  41. #to run make check use "--with check"
  42. %if %{?_with_check:1}%{!?_with_check:0}
  43. make check
  44. %endif
  45. %clean
  46. rm -rf %{buildroot}
  47. %files -f %{name}.lang
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS
  50. %doc COPYING
  51. %doc NEWS
  52. %doc README
  53. %doc TODO
  54. %doc HACKING
  55. %{_sysconfdir}/init/
  56. %config(noreplace) %{_sysconfdir}/dbus-1/system.d/Upstart.conf
  57. /sbin/halt
  58. /sbin/init
  59. /sbin/initctl
  60. /sbin/poweroff
  61. /sbin/reboot
  62. /sbin/runlevel
  63. /sbin/shutdown
  64. /sbin/start
  65. /sbin/status
  66. /sbin/stop
  67. /sbin/restart
  68. /sbin/telinit
  69. /sbin/reload
  70. %{_mandir}/man5/init.5.gz
  71. %{_mandir}/man5/inittab.5.gz
  72. %{_mandir}/man7/control-alt-delete.7.gz
  73. %{_mandir}/man7/keyboard-request.7.gz
  74. %{_mandir}/man7/power-status-changed.7.gz
  75. %{_mandir}/man7/runlevel.7.gz
  76. %{_mandir}/man7/started.7.gz
  77. %{_mandir}/man7/starting.7.gz
  78. %{_mandir}/man7/startup.7.gz
  79. %{_mandir}/man7/stopped.7.gz
  80. %{_mandir}/man7/stopping.7.gz
  81. %{_mandir}/man7/upstart.7.gz
  82. %{_mandir}/man8/restart.8.gz
  83. %{_mandir}/man8/halt.8.gz
  84. %{_mandir}/man8/init.8.gz
  85. %{_mandir}/man8/initctl.8.gz
  86. %{_mandir}/man8/poweroff.8.gz
  87. %{_mandir}/man8/reboot.8.gz
  88. %{_mandir}/man8/runlevel.8.gz
  89. %{_mandir}/man8/shutdown.8.gz
  90. %{_mandir}/man8/start.8.gz
  91. %{_mandir}/man8/status.8.gz
  92. %{_mandir}/man8/stop.8.gz
  93. %{_mandir}/man8/telinit.8.gz
  94. %{_mandir}/man8/reload.8.gz
  95. %changelog
  96. * Sat Apr 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2-1
  97. - new upstream release
  98. * Thu Mar 10 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.7-1
  99. - new upstream release
  100. * Wed May 12 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.5-2
  101. - add R: initscripts >= 8.90.4
  102. * Sun Apr 11 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.5-1
  103. - initial build for Vine Linux
  104. * Wed Feb 24 2010 Petr Lautrbach <plautrba@redhat.com> 0.6.5-3
  105. - run "make check" only with --with check
  106. * Fri Feb 19 2010 Casey Dahlin <cdahlin@redhat.com> 0.6.5-2
  107. - be more specific about which libnih we need.
  108. * Wed Feb 17 2010 Petr Lautrbach <plautrba@redhat.com> 0.6.5-1
  109. - upgrade to 0.6.5
  110. * Fri Jan 29 2010 Petr Lautrbach <plautrba@redhat.com> 0.6.3-7
  111. - add SIGUSR1 handler and init-system-dbus.conf (#559660)
  112. * Sun Jan 17 2010 Dennis Gilmore <dennis@ausil.us> - 0.6.3-6
  113. - add patch from upstream fixing sparc alignment issues
  114. * Mon Jan 11 2010 Petr Lautrbach <plautrba@redhat.com> 0.6.3-5
  115. - License changed to GPLv2 and LGPLv2+
  116. * Wed Dec 16 2009 Petr Lautrbach <plautrba@redhat.com> 0.6.3-4
  117. - audit events patch rebased for 0.6 (#470661)
  118. * Thu Dec 3 2009 Bill Nottingham <notting@redhat.com> 0.6.3-3
  119. - make 'telinit u' a no-op, temporarily
  120. * Fri Nov 27 2009 Petr Lautrbach <plautrba@redhat.com> 0.6.3-2
  121. - Removed tests which fail in koji
  122. * Fri Nov 20 2009 Casey Dahlin <cdahlin@redhat.com> - 0.6.3-1
  123. - Upgrade to 0.6.3
  124. * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.3.11-3
  125. - rebuilt with new audit
  126. * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.11-2
  127. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  128. * Mon Jun 22 2009 Petr Lautrbach <plautrba@redhat.com> - 0.3.11-1
  129. - Update to 0.3.11
  130. * Mon Apr 27 2009 Bill Nottingham <notting@redhat.com> - 0.3.9-24
  131. - Apply the audit patch correctly (#470661)
  132. * Fri Apr 3 2009 Casey Dahlin <cdahlin@redhat.com> - 0.3.9-23
  133. - Add audit events patch from Steve Grubb <sgrubb@redhat.com> (Bug #470661)
  134. * Fri Jan 23 2009 Casey Dahlin <cdahlin@redhat.com> - 0.3.9-22
  135. - Re-add 'telinit u' support along with patch to fix it (#450488). Patch due to
  136. <pspencer@fields.utoronto.ca>
  137. * Mon Jan 12 2009 Bill Nottingham <notting@redhat.com> - 0.3.9-21
  138. - Remove 'telinit u' support as it is broken (#450488, <cjdahlin@ncsu.edu>)
  139. * Fri Apr 25 2008 Bill Nottingham <notting@redhat.com> - 0.3.9-19
  140. - with the merge of event-compat-sysv, move the sysvinit obsoletes/provides here
  141. * Thu Apr 24 2008 Bill Nottingham <notting@redhat.com> - 0.3.9-18
  142. - fix some man page typos (#444008, <archimerged@gmail.com>)
  143. * Wed Apr 09 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-17
  144. - Added list of stock events to events(5)
  145. * Tue Apr 08 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-16
  146. - Add telinit u support
  147. * Fri Apr 04 2008 Bill Nottingham <notting@redhat.com> - 0.3.9-15
  148. - Add a events(5) manpage that describes event syntax
  149. * Thu Apr 03 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-14
  150. - Change bug report email address to fedora-devel-list@redhat.com
  151. * Thu Mar 14 2008 Bill Nottingham <notting@redhat.com> - 0.3.9-13
  152. - Ignore rpm temporary files of the foo;<somehex> format
  153. - Make ignores of .rpm{new,orig,save} match only at the end of the name
  154. * Wed Mar 13 2008 Bill Nottingham <notting@redhat.com> - 0.3.9-12
  155. - forgot about rpmorig too (ugh)
  156. * Wed Mar 13 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-11
  157. - Make logd a noreplace
  158. * Wed Mar 13 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-10
  159. - Add patch to ignore .rpm{new,save} files
  160. * Sun Mar 03 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-9
  161. - Remove automake dependency, build Makefile.in changes into patch
  162. * Sun Mar 03 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-8
  163. - Run automake after patching
  164. * Sun Mar 03 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-7
  165. - Added BuildRequires: automake
  166. * Sun Mar 03 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-6
  167. - Added patch to allow runtime tty changes
  168. * Fri Feb 15 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-5
  169. - Added patch to imply --force on runlevels 0 and 6
  170. * Wed Feb 06 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-4
  171. - Patched for GCC 4.3
  172. * Thu Jan 31 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-3
  173. - Added AUTHORS, COPYING, etc.
  174. - Made config --libdir option relative
  175. * Mon Jan 21 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-2
  176. - Remove libnih and libupstart
  177. * Sun Jan 13 2008 Casey Dahlin <cjdahlin@ncsu.edu> - 0.3.9-1
  178. - Initial packaging