File distcc-2.18.3.spec of Package distcc

#
# RPM spec file for distcc (Version 2.18.3)
#
# norootforbuild

Name:          distcc
BuildRequires: gtk2-devel >= 2.0, libglade2-devel >= 2.0
License:       GPL
Group:         Development
Summary:       distcc is a program to distribute builds across several machines on a network.
Version:       2.18.3
Release:       2
URL:           http://distcc.samba.org
BuildRoot:     %{_tmppath}/%{name}-%{version}-build
Source0:       %name-%version.tar.bz2
#Requires:
Provides:      distcc

prefix:      /usr/share

%description
distcc is a program to distribute builds of C, C++, Objective C
or Objective C++ code across several machines on a network.
distcc should always generate the same results as a local build,
is simple to install and use, and is usually much faster than a local compile.

%prep
%setup -q

%build
%configure --sysconfdir=/etc --with-gtk

make %{?jobs:-j%jobs}

%install
%makeinstall

%post
groupadd distcc
useradd distcc

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root)

%{_bindir}/*
%{prefix}/doc/distcc/*
%{prefix}/distcc/*
%{_mandir}/man1/*

%doc AUTHORS COPYING NEWS README INSTALL TODO doc/protocol-1.txt doc/status-1.txt doc/protocol-2.txt doc/reporting-bugs.txt survey.txt

%changelog
* Fri Mar 21 2008 Sylvain Leroy <sylvain.leroy@unmondelibre.fr>
- added/adapted to openSUSE buildservice
openSUSE Build Service is sponsored by