upstart-vl.spec 6.7 KB

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