rpms/initng/devel initng.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Daniel Malmgren (danielm) fedora-extras-commits at redhat.com
Sun Dec 4 11:30:20 UTC 2005


Author: danielm

Update of /cvs/extras/rpms/initng/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12797/devel

Modified Files:
	.cvsignore sources 
Added Files:
	initng.spec 
Log Message:
auto-import initng-0.4.7-1 on branch devel from initng-0.4.7-1.src.rpm


--- NEW FILE initng.spec ---
Summary: Programs which control basic system processes
Name: initng
Version: 0.4.7
Release: 1%{?dist}
License: GPL
URL: http://initng.thinktux.net
Group: System Environment/Base
Source0: http://initng.thinktux.net/download/v0.4/initng-%{version}.tar.gz
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: filesystem >= 2.2.4-1

%description
Initng is a full replacement of the old and in many ways deprecated sysvinit
tool. It is designed with speed in mind, doing as much as possible
asynchronously. In other words: It will boot your unix-system much faster,
and give you more control and statistics over your system.

%package ifplugd
Summary:  Ifplugd support for initng
Group:    System Environment/Base
Requires: %{name} = %{version}
Requires: ifplugd

%description ifplugd
This package contains the files needed to add ifplugd support to initng.
When an interface is plugged or unplugged, the networking will be restarted
appropriately.

%prep
%setup -q

%build
%configure --libdir=/%{_lib} --sbindir=/sbin --disable-rpath
make

%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
rm -rf %{buildroot}/%{_sysconfdir}/hotplug/net.agent
rm -rf %{buildroot}/sbin/killall5
rm -rf %{buildroot}/%{_sysconfdir}/pcmcia/network
rm -rf %{buildroot}/%{_sysconfdir}/initng/system.runlevel
rm -rf %{buildroot}/%{_sysconfdir}/initng/default.runlevel
mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version}
mv %{buildroot}%{_datadir}/doc/initng/* %{buildroot}/%{_docdir}/%{name}-%{version}/
cp -a COPYING AUTHORS CODING_STANDARDS FAQ NEWS README TODO \
      %{buildroot}/%{_docdir}/%{name}-%{version}/
mv %{buildroot}%{_sbindir}/* %{buildroot}/sbin/

%post
if [ $1 = 1 -a -f /boot/grub/grub.conf -a -x /sbin/grubby ]; then
  grep initng /boot/grub/grub.conf >/dev/null
  if [ $? -ne 0 ]; then
    cp /boot/grub/grub.conf /boot/grub/grub.conf.bak
    defaultkpath=`grubby --default-kernel`
    defaultinitrd=`grubby --info=$defaultkpath | grep initrd`
    grubby --add-kernel=$defaultkpath --copy-default --args="init=/sbin/initng" --title="initng boot" --$defaultinitrd
  fi
fi
if [ ! -f /%{_sysconfdir}/initng/system.runlevel ] && [ ! -f /%{_sysconfdir}/initng/default.runlevel ]; then
  /sbin/gen_system_runlevel >/dev/null 2>&1 || :
fi
/sbin/ldconfig
exit 0

%clean
rm -rf %{buildroot}

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc %{_docdir}/%{name}-%{version}
%config(noreplace) %{_sysconfdir}/initng
/sbin/system_off
/sbin/ng-update
/sbin/killalli5
/sbin/initng
/sbin/ngc
/sbin/ngdc
/sbin/install_service
/sbin/gen_system_runlevel
/sbin/shutdown_script
/sbin/ngcupdown
/sbin/wpa_cli.action
/sbin/initng-segfault
/%{_lib}/libinitng.*
/%{_lib}/initng
%{_mandir}/*/*

%files ifplugd
%defattr(-,root,root)
%{_sysconfdir}/ifplugd/action.d/ngcupdown
/sbin/ifplugd.action

%changelog
* Thu Dec 01 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.7-1
- New upstream version

* Tue Nov 29 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.6-2
- Some really small changes

* Tue Nov 29 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.6-1
- New upstream version
- Fixes to gen_system_runlevel is now upstreams, skip our patch and my
  own ugly script
- Don't ship runlevel files, generate them in %post instead

* Mon Nov 28 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.4-7
- Split out the default services script from spec file
- Remove glibc and bash dependencies
- Remove mkinitrd dependencies, check if grubby exists in %post instead

* Sun Nov 27 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.4-6
- added crude functionaly for enabling the same services that are enabled
  in SysVinit

* Tue Nov 22 2005 Aurelien Bompard <gauret[AT]free.fr> 0.4.4-5
- split ifplugd support in a separate package

* Tue Nov 22 2005 Daniel Malmgren <daner964 at student.liu.se> 0.4.4-4
- Some really small fixes here and there

* Tue Nov 22 2005 Aurelien Bompard <gauret[AT]free.fr> 0.4.4-3
- fix docs dir
- remove define _prefix / (commenting it is not enough)
- depend on ifplugd

* Tue Nov 22 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.4-2
- Don't depend on SysVinit anymore. Only reason for that was that we needed
  killall5, but we have our own killalli5 now
- remove _prefix /, shouldn't be needed anymore, right?
- Hopefully fixed the location of the installed docfiles

* Sun Nov 20 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.4-1
- New upstream version
- Fixed rpath problems
- Renamed default_runlevels.patch to initng-default-runlevel.patch
- Small fixes in the %files
- Added /sbin/killalli5

* Fri Nov 18 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.0-7
- Ship more %doc files

* Fri Nov 18 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.0-6
- Run ldconfig on updates as well
- Don't ship /etc/pcmcia/network which conflicts with pcmcia-cs package
- Remove fedora-release build requirement
- Changed all occurences of /lib into %{_lib}

* Thu Nov 17 2005 Chris Chabot <chabotc at xs4all.nl> - 0.4.0-5
- Added ldconfig to post and postrun
- reconstructed patch from bug #173459 and enabled in spec file

* Thu Nov 17 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.0-4
- Removed all echos from %post
- Changed "-disable-rpath" to "--disable-rpath" (which however doesn't seem to work anyway)

* Thu Nov 17 2005 Chris Chabot <chabotc at xs4all.nl> - 0.4.0-3
- Cleaned up '-' in changelog
- New upstream version
- Modified Source to Source0, and changed to download URL
- Changed BuildRoot to fedora adviced/standard format
- Changed setup to setup -q
- Modified to use {_sysconfdir} and {_datadir}
- Temporary disabled %Patch0, not included in source & can't find in download dir
- added if [ $1 = 1 ] to %post

* Tue Nov 08 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.0-2
- Ok, I'll stop playing with dependencies. Glibc requirements now just 2.3.

* Tue Nov 08 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.4.0-1
- New upstream version

* Sat Nov 05 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.5-2
- Added %post script using Grubby to add initng to grub.conf if it's not already there

* Sat Nov 05 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.5-1
- New upstream version
- Changes to which services are in default runlevel

* Sun Oct 30 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.4-1
- New upstream version
- Don't install the killall5 program which conflicts with SysVinit

* Sun Oct 16 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.3-1
- New upstream version
- Refined the %files-section a bit

* Tue Oct 11 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.2-2
- Changes to try to make package compatible with Fedora guidelines

* Sun Oct 09 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.2-1
- New upstream version
- Added /sbin/initng-segfault

* Sat Oct 08 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.1-1
- New upstream version

* Tue Sep 27 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.3.0-1
- New upstream version

* Tue Sep 27 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.2.5-1
- New upstream version
- Fix the coldplug issue properly

* Fri Sep 23 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.2.3-1
- New upstream version

* Mon Sep 05 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.2.0-1
- New upstream version
- Fix files that appeared/disappeared in this version
- Install doc files at the correct location

* Sat Aug 27 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.1.9-1
- New upstream version
- Removed /etc/initng/conf and /etc/initng/plugin from installation
- Added new files /sbin/shutdown_script and /sbin/test_pidfile
- Remove xfs again, as I can't seem to get it working right anyway

* Sun Aug 14 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.1.8-2
- Removed /etc/hotplug/net.agent which conflicts with hotplug package
- Add xfs to default runlevel

* Sun Aug 14 2005 Daniel Malmgren <daner964 at student.liu.se> - 0.1.8-1
- New upstream version
- Rename gen_system_runlevel.sh to gen_system_runlevel

* Sun Aug 07 2005 Daniel Malmgren <daner964 at student.liu.se>> - 0.1.7-1
- First spec that really creates a rpm. Use at own risk!


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/initng/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Dec 2005 11:29:10 -0000	1.1
+++ .cvsignore	4 Dec 2005 11:30:18 -0000	1.2
@@ -0,0 +1 @@
+initng-0.4.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/initng/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Dec 2005 11:29:10 -0000	1.1
+++ sources	4 Dec 2005 11:30:18 -0000	1.2
@@ -0,0 +1 @@
+1801fe5e4643b7b9f12492475fc8ebb6  initng-0.4.7.tar.gz




More information about the scm-commits mailing list