diff --git a/distcc.spec b/distcc.spec index 7d7a2e9..d6c0b0a 100644 --- a/distcc.spec +++ b/distcc.spec @@ -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