update to 1.3.1 [release 1.3.1-1mamba;Tue May 11 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 23:48:48 +01:00
parent c282aa5c49
commit 6cf9a75080

View File

@ -4,16 +4,15 @@
%define groupid 65425
Name: icecc
Version: 1.0.1
Release: 6mamba
Version: 1.3.1
Release: 1mamba
Summary: A distributed build system based on distcc
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://en.opensuse.org/Icecream
Source: ftp://ftp.suse.com/pub/projects/icecream/icecc-%{version}.tar.bz2
#Source1: http://pkgs.fedoraproject.org/repo/pkgs/icecream/icecream-manpages.tar.bz2/a3829775870d5b2b60b750a88ee835b7/icecream-manpages.tar.bz2
URL: https://github.com/icecc/icecream
Source: https://github.com/icecc/icecream.git/%{version}/icecream-%{version}.tar.bz2
Source2: icecc-initscript
Source3: icecream-sysconfig
Source4: icecream-logrotate
@ -27,41 +26,56 @@ Patch4: icecc-1.0.1-dont_map_x86_to_x86_64.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libacl-devel
BuildRequires: libarchive-devel
BuildRequires: libattr-devel
BuildRequires: libbzip2-devel
BuildRequires: libcap-ng-devel
BuildRequires: libgcc
BuildRequires: liblz4-devel
BuildRequires: liblzma-devel
BuildRequires: liblzo-devel
BuildRequires: libnettle-devel
BuildRequires: libopenssl-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
BuildRequires: libclang-devel
BuildRequires: pkg-config
BuildRequires: docbook2X
Requires: gcc
Requires: gcc-c++
Requires: gcc-cpp
Requires: /usr/bin/expect
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Icecream was created by SUSE based on distcc. Like distcc, Icecream takes compile jobs from a (KDE) build and distributes it among remote machines allowing a parallel build. But unlike distcc, Icecream uses a central server that dynamically schedules the compile jobs to the fastest free server. This advantage pays off mostly for shared computers, if you're the only user on x machines, you have full control over them.
%debug_package
%prep
%setup -q
%patch0 -p1
#%patch1 -p1
%setup -q -n icecream-%{version}
#%patch0 -p1
%patch2 -p1
%patch3 -p1
#%patch4 -p1
#%patch3 -p1
./autogen.sh
%build
%configure
%make
%make DOCBOOK2X=db2x_docbook2man
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#
# Install icecream init script
mkdir -p %{buildroot}%{_initrddir}
install -m 755 %{SOURCE2} %{buildroot}%{_initrddir}/icecream
##
## Install icecream init script
#mkdir -p %{buildroot}%{_initrddir}
#install -m 755 %{SOURCE2} %{buildroot}%{_initrddir}/icecream
mkdir -p %{buildroot}%{_sysconfdir}/sysconfig
install -m 644 suse/sysconfig.icecream %{buildroot}%{_sysconfdir}/sysconfig/icecream
mkdir -p %{buildroot}/var/cache/icecream
@ -117,10 +131,11 @@ fi
%{_sysconfdir}/profile.d/icecream.sh
%{_sysconfdir}/logrotate.d/icecream
%config(noreplace) %{_sysconfdir}/sysconfig/icecream
%{_initrddir}/icecream
%{_bindir}/icecc
%{_bindir}/icerun
%{_bindir}/icecream-monitor
%{_bindir}/icecc-create-env
%{_bindir}/icecc-test-env
%{_sbindir}/iceccd
%{_sbindir}/icecc-scheduler
%attr(0755,icecc,icecc) %dir /var/cache/icecream
@ -147,11 +162,16 @@ fi
%{_libdir}/pkgconfig/icecc.pc
%{_mandir}/man1/icecc.1*
%{_mandir}/man1/iceccd.1*
%{_mandir}/man1/icecc-create-env.1*
%{_mandir}/man1/icecc-scheduler.1*
%{_mandir}/man1/icerun.1*
%{_mandir}/man7/icecream.7*
%doc COPYING
%changelog
* Tue May 11 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1mamba
- update to 1.3.1
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.1-6mamba
- scheduler: patch to increase MAX_BUSY_INSTALLING time from 2 minutes to 20