upstart-vl.spec 6.8 KB

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