Author: blues Date: Sun Sep 3 12:46:38 2006 GMT Module: SPECS Tag: HEAD ---- Log message: - initial, raw, NFY
---- Files affected: SPECS: upstart.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/upstart.spec diff -u /dev/null SPECS/upstart.spec:1.1 --- /dev/null Sun Sep 3 14:46:38 2006 +++ SPECS/upstart.spec Sun Sep 3 14:46:32 2006 @@ -0,0 +1,77 @@ +# $Revision$, $Date$ +Summary: event-based init daemon +Name: upstart +Version: 0.2.1 +Release: 0.1 +License: GPL v2 +Group: Base +# Isn't there better download URL??? +Source0: http://librarian.launchpad.net/4093784/%{name}_%{version}.orig.tar.gz +# Source0-md5: d95228b4ed14e85b05c792ce9ec88c9d +URL: https://launchpad.net/products/upstart +#Requires(post): /sbin/ldconfig +#Requires(post): /sbin/telinit +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _exec_prefix / +%define _sysconfdir /etc/%{name} +%define _libdir /%{_lib}/%{name} +%define _bindir %{_prefix}/sbin +# this is to avoid ugly //sbin +%define _sbindir /sbin + +%description +upstart is a replacement for the /sbin/init daemon which handles starting of tasks and services during boot, stopping them during shutdown and supervising them while the system is running. + +%prep +%setup -q + +%build +%configure +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +#install -d $RPM_BUILD_ROOT%{_sysconfdir} + +#%{__make} install \ +# DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +/sbin/ldconfig +#if [ "$1" = 1 ]; then +# %banner -e %{name} <<-EOF +#Remember to add init=%{_sbindir}/initng in your grub or lilo config to use initng. +# +#You should install 'initng-pld' for PLD Linux rc-scripts based scripts, +#or 'initng-initscripts' for the original distributed scripts. +# +#Happy testing. +#EOF +#fi +# +#/sbin/telinit u || : + +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +#%doc README AUTHORS ChangeLog NEWS TODO +#%dir %{_sysconfdir} +#%dir %{_libdir} +#%attr(755,root,root) /%{_lib}/libinitng.so.*.*.* +#%attr(755,root,root) %{_sbindir}/initng +#%{_mandir}/man8/initng.8* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2006/09/03 12:46:32 blues +- initial, raw, NFY + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
