upstart-vl.spec 7.0 KB

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