Search
j0ke.net Open Build Service
>
Projects
>
home:jg
>
spawn-fcgi
> spawn-fcgi.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File spawn-fcgi.spec of Package spawn-fcgi
Summary: Spawn fcgi-process directly Name: spawn-fcgi Version: 1.6.2 Release: 1%{?dist} License: BSD Group: System Environment/Daemons Requires: nginx Source0: %{name}-%{version}.tar.gz Source1: spawn-fcgi.confd Source2: spawn-fcgi.initd URL: http://redmine.lighttpd.net/projects/spawn-fcgi BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n) %define _bindir %{_prefix}/sbin %description spawn-fcgi is used to spawn fcgi-process directly without the help of a webserver or the programm itself. %prep %setup -q -n %{name}-%{version} %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} %{__make} install \ DESTDIR=%{buildroot} %{__install} -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/%{name} %{__install} -p -D -m 0755 %{SOURCE2} %{buildroot}%{_initrddir}/%{name} %clean rm -rf %{buildroot} %post /sbin/chkconfig --add %{name} %preun if [ $1 = 0 ]; then /sbin/service %{name} stop >/dev/null 2>&1 /sbin/chkconfig --del %{name} fi %postun if [ $1 -ge 1 ]; then /sbin/service %{name} restart > /dev/null 2>&1 || : fi %files %defattr(644,root,root,755) %doc AUTHORS COPYING NEWS README %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %attr(755,root,root) %{_initrddir}/%{name} %attr(755,root,root) %{_sbindir}/spawn-fcgi %{_mandir}/man1/spawn-fcgi.1* %changelog