source: projects/specs/trunk/u/upstart/upstart-vl.spec @ 8588

Revision 8588, 8.5 KB checked in by daisuke, 10 years ago (diff)

upstart: rebuild with libnih-1.0.3-2

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