Summary: Simple program for spawning FastCGI processes Name: spawn-fcgi Version: 1.6.3 Release: 6.1 License: BSD Group: System Environment/Daemons URL: http://redmine.lighttpd.net/projects/spawn-fcgi/ Source0: http://www.lighttpd.net/download/spawn-fcgi-%{version}.tar.gz Source1: spawn-fcgi.init Source2: spawn-fcgi.sysconfig BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root # Note that restarting automatically upon update makes no sense at all here Requires(post): /sbin/chkconfig Requires(preun): /sbin/service, /sbin/chkconfig %description This package contains the spawn-fcgi program used for spawning FastCGI processes, which can be local or remote. %prep %setup -q %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install DESTDIR=%{buildroot} %{__install} -D -p -m 0755 %{SOURCE1} \ %{buildroot}%{_sysconfdir}/init.d/spawn-fcgi %{__install} -D -p -m 0600 %{SOURCE2} \ %{buildroot}%{_sysconfdir}/sysconfig/spawn-fcgi %clean %{__rm} -rf %{buildroot} %post /sbin/chkconfig --add spawn-fcgi %preun if [ $1 -eq 0 ]; then /sbin/service spawn-fcgi stop &>/dev/null || : /sbin/chkconfig --del spawn-fcgi fi %files %defattr(-,root,root,-) %doc AUTHORS COPYING NEWS README %{_sysconfdir}/init.d/spawn-fcgi %config(noreplace) %{_sysconfdir}/sysconfig/spawn-fcgi %{_bindir}/spawn-fcgi %{_mandir}/man1/spawn-fcgi.1* %changelog * Fri Feb 15 2013 Fedora Release Engineering - 1.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 1.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jan 14 2012 Fedora Release Engineering - 1.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 30 2009 Matthias Saou 1.6.3-1 - Update to 1.6.3. - Include init script and sysconfig file to make it easy to manage a single instance. * Tue Apr 21 2009 Matthias Saou 1.6.2-1 - Update to 1.6.2. - Remove leftover -f from %%files section. * Mon Mar 30 2009 Matthias Saou 1.6.1-1 - Initial RPM release.