upstart-vl.spec 8.7 KB

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