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 23)
Currently displaying revision
23
,
show latest
#!BuildIgnore: post-build-checks Name: j0ke.net-worker License: GPL Group: Productivity/Networking/Web/Utilities AutoReqProv: on Version: 1.7 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 Source12: buildhost.config BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch Requires: perl-TimeDate screen curl perl-XML-Parser perl-Compress-Zlib binutils %ifarch x86_64 Requires: linux32 %endif %ifarch ppc64 Requires: powerpc32 %endif %if 0%{?suse_version} >= 930 && 0%{?suse_version} <= 1030 || 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} Requires: lzma %endif %if 0%{?suse_version} Requires: dpkg %endif %if 0%{?suse_version} PreReq: %fillup_prereq %insserv_prereq %endif %description this package includes j0ke.net specific buildservice worker %package xen Summary: buildhost.config for xen worker Group: Productivity/Networking/Web/Utilities Requires: %{name} %description xen this package includes xen buildhost.config for j0ke.net-worker %package kvm Summary: buildhost config for kvm worker Group: Productivity/Networking/Web/Utilities Requires: %{name} kvm %description kvm This package includes kvm buildhost.config for j0ke.net-worker %prep %build %install # install -d -m 755 $RPM_BUILD_ROOT/etc/init.d/ install -d -m 755 $RPM_BUILD_ROOT/usr/sbin/ install -d -m 755 $RPM_BUILD_ROOT/home/obs install -d -m 755 $RPM_BUILD_ROOT/home/obs/cache install -d -m 755 $RPM_BUILD_ROOT/var/log/obs # install runlevel scripts install -m 0755 %SOURCE1 \ $RPM_BUILD_ROOT/etc/init.d/ ln -sf /etc/init.d/obsworker $RPM_BUILD_ROOT/usr/sbin/rcobsworker install -D -m 0644 %SOURCE12 \ $RPM_BUILD_ROOT/%{_sysconfdir}/buildhost.config install -D -m 0644 %SOURCE12 \ $RPM_BUILD_ROOT/%{_sysconfdir}/kvmbuildhost.config # 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 %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} cp /var/adm/fillup-templates/sysconfig.obs-worker /etc/sysconfig/obs-worker %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %dir /var/log/obs %dir /home/obs %dir /home/obs/cache /var/adm/fillup-templates/sysconfig.obs-worker /etc/init.d/obsworker /usr/sbin/rcobsworker %files xen %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/buildhost.config %files kvm %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/kvmbuildhost.config %changelog * Mon Nov 16 2009 Carsten Schoene <cs@linux-administrator.com> - 1.7-1 - update to new init scripts & sysconfig file - added experimental kvm subpackage * Sun Oct 11 2009 Carsten Schoene <cs@linux-administrator.com> - 1.2-4 - changed config to new backend host * Wed Jul 23 2008 Carsten Schoene <cs@linux-administrator.com> - initial build of worker package with j0ke.net specific configuration