Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Troy Dawson
89825ffa71 remove package.cfg per new epel-playground policy 2020-09-24 16:55:56 +00:00
Gwyn Ciesla
e6ab5dfb61 Drop monitor, no libgnomeui. 2019-12-16 10:43:42 -05:00
Gwyn Ciesla
36918e10d0 Merge branch 'master' into epel8 2019-12-16 10:43:21 -05:00
Gwyn Ciesla
bef977bb9a "Adding package.cfg file" 2019-12-16 09:42:43 -06:00

View file

@ -15,8 +15,6 @@ BuildRequires: automake
BuildRequires: autoconf
BuildRequires: libtool
BuildRequires: popt-devel
BuildRequires: libgnomeui-devel
BuildRequires: pango-devel
BuildRequires: python3-devel
BuildRequires: desktop-file-utils
BuildRequires: avahi-devel
@ -29,15 +27,6 @@ several machines on a network. distcc should always generate the same
results as a local compile, is simple to install and use, and is often
two or more times faster than a local compile.
%package gnome
Summary: Gnome frontend of distcc monitoring tool
Requires: %{name}%{?_isa} = %{version}-%{release}
%description gnome
This package contains the Gnome frontend of the distcc monitoring tool.
%package server
Summary: Server for distributed C/C++ compilation
License: GPLv2+
@ -59,18 +48,13 @@ This package contains the compilation server needed to use %{name}.
%build
export PYTHON='/usr/bin/python3'
./autogen.sh
%configure --with-gnome --disable-Werror --with-auth
%configure --disable-Werror --with-auth
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
# Move desktop file to right directory
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
mv $RPM_BUILD_ROOT%{_datadir}/%{name}/*.desktop $RPM_BUILD_ROOT%{_datadir}/applications/
sed -i 's@Icon=@Icon=%{_datadir}/%{name}/@' $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
# Install sample hosts file
install -Dm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/hosts
@ -131,12 +115,6 @@ fi
%{python3_sitearch}/include_server*
%files gnome
%{_bindir}/distccmon-gnome
%{_datadir}/%{name}
%{_datadir}/applications/*.desktop
%files server
%doc COPYING README
%{_bindir}/distccd