upstart-vl.spec 7.8 KB

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