Search
j0ke.net Open Build Service
>
Projects
>
J0KE.NET
:
Tools
>
j0ke.net-worker
> j0ke-worker.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File j0ke-worker.spec of Package j0ke.net-worker (Revision 6)
Currently displaying revision
6
,
show latest
Name: j0ke.net-worker License: GPL Group: Productivity/Networking/Web/Utilities AutoReqProv: on Version: 1.0 Release: 1 Url: http://obs.j0ke.net/ Summary: The j0ke.net Build Service -- Server Component Provides: obs-worker Obsoletes: obs-worker Source1: obsworker Source11: sysconfig.obs-worker BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: perl-TimeDate screen curl perl-XML-Parser perl-Compress-Zlib dpkg %ifarch x86_64 Requires: linux32 %endif %ifarch ppc64 Requires: powerpc32 %endif %if 0%{?suse_version} <= 1030 Requires: lzma %endif %if 0%{?suse_version} PreReq: %fillup_prereq %insserv_prereq %endif %description %prep %build %install # install -d -m 755 $RPM_BUILD_ROOT/etc/init.d/ # install runlevel scripts install -m 0755 %SOURCE1 \ $RPM_BUILD_ROOT/etc/init.d/ cd $RPM_BUILD_ROOT/usr/sbin ln -sf ../../etc/init.d/obsworker $RPM_BUILD_ROOT/usr/sbin/rcobsworker # install fillups FILLUP_DIR=$RPM_BUILD_ROOT/var/adm/fillup-templates mkdir -p $FILLUP_DIR cp -a %SOURCE11 $FILLUP_DIR/ %post %{fillup_and_insserv -n obs-worker} %restart_on_update obsworker %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) /var/adm/fillup-templates/sysconfig.obs-worker /etc/init.d/obsworker /usr/sbin/rcobsworker %changelog * Wed Jul 23 2008 Carsten Schoene <cs@linux-administrator.com> - initial build of worker package with j0ke.net specific configuration