forked from pool/boinc-client
262 lines
8.4 KiB
RPMSpec
262 lines
8.4 KiB
RPMSpec
#
|
|
# spec file for package boinc-client (Version 6.2.18)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: boinc-client
|
|
Summary: The Berkeley Open Infrastructure for Network Computing (BOINC)
|
|
Version: 6.2.18
|
|
Release: 5
|
|
Url: http://boinc.berkeley.edu/
|
|
Source0: boinc-%{version}.tar.bz2
|
|
Source1: boinc-icons.tar.bz2
|
|
Source2: boinc-logrotate
|
|
Source3: boinc-gui.desktop
|
|
Source4: boincmgr
|
|
Patch0: boinc-docbook2x.patch
|
|
Patch1: boinc-LC_MESSAGES.patch
|
|
Patch2: boinc-rcscript.patch
|
|
Patch3: boinc-sysconfig.patch
|
|
Patch4: boinc-subdirs.patch
|
|
Patch5: bnc-431510.patch
|
|
Patch6: bnc_439037.patch
|
|
Patch7: bnc_442904.patch
|
|
Patch8: bnc_465676.patch
|
|
License: LGPL v2.1 only
|
|
Group: Productivity/Clustering/Computing
|
|
BuildRequires: libcurl-devel >= 7.15.2 python-mysql update-desktop-files
|
|
BuildRequires: Mesa-devel freeglut-devel libopenssl-devel
|
|
BuildRequires: gcc-c++ gettext-runtime mysql-devel wxGTK-devel >= 2.8.7
|
|
BuildRequires: docbook2x libjpeg-devel libxslt xorg-x11-libXmu-devel
|
|
Requires: logrotate
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
The Berkeley Open Infrastructure for Network Computing (BOINC) is an
|
|
open-source software platform which supports distributed computing,
|
|
primarily in the form of "volunteer" computing and "desktop Grid"
|
|
computing. It is well suited for problems which are often described as
|
|
"trivially parallel".
|
|
|
|
BOINC is the underlying software used by projects such as SETI@home,
|
|
Einstein@Home, ClimatePrediciton.net, the World Community Grid, and
|
|
many other distributed computing projects.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
University of California, Berkeley
|
|
Dr. David P. Anderson <davea@ssl.berkeley.edu>
|
|
Rom Walton <rwalton@ssl.berkeley.edu>
|
|
Charlie Fenton
|
|
|
|
%package -n boinc-gui-lang
|
|
License: LGPL v2.1 only
|
|
Summary: The Berkeley Open Infrastructure for Network Computing (BOINC)
|
|
Group: Productivity/Clustering/Computing
|
|
|
|
%description -n boinc-gui-lang
|
|
The Berkeley Open Infrastructure for Network Computing (BOINC) is an
|
|
open-source software platform which supports distributed computing,
|
|
primarily in the form of "volunteer" computing and "desktop Grid"
|
|
computing. It is well suited for problems which are often described as
|
|
"trivially parallel".
|
|
|
|
BOINC is the underlying software used by projects such as SETI@home,
|
|
Einstein@Home, ClimatePrediciton.net, the World Community Grid, and
|
|
many other distributed computing projects.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
University of California, Berkeley
|
|
Dr. David P. Anderson <davea@ssl.berkeley.edu>
|
|
Rom Walton <rwalton@ssl.berkeley.edu>
|
|
Charlie Fenton
|
|
|
|
%package -n boinc-gui
|
|
License: LGPL v2.1 only
|
|
Summary: The Berkeley Open Infrastructure for Network Computing (BOINC)
|
|
Group: Productivity/Clustering/Computing
|
|
Requires: boinc-client = %{version}-%{release}, boinc-gui-lang = %{version}-%{release}
|
|
|
|
%description -n boinc-gui
|
|
The Berkeley Open Infrastructure for Network Computing (BOINC) is an
|
|
open-source software platform which supports distributed computing,
|
|
primarily in the form of "volunteer" computing and "desktop Grid"
|
|
computing. It is well suited for problems which are often described as
|
|
"trivially parallel".
|
|
|
|
BOINC is the underlying software used by projects such as SETI@home,
|
|
Einstein@Home, ClimatePrediciton.net, the World Community Grid, and
|
|
many other distributed computing projects.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
University of California, Berkeley
|
|
Dr. David P. Anderson <davea@ssl.berkeley.edu>
|
|
Rom Walton <rwalton@ssl.berkeley.edu>
|
|
Charlie Fenton
|
|
|
|
%package devel
|
|
License: LGPL v2.1 only
|
|
Summary: The Berkeley Open Infrastructure for Network Computing (BOINC)
|
|
Group: Productivity/Clustering/Computing
|
|
Provides: boinc-client-devel = %{version}
|
|
Requires: boinc-client = %{version}-%{release}
|
|
|
|
%description devel
|
|
The Berkeley Open Infrastructure for Network Computing (BOINC) is an
|
|
open-source software platform which supports distributed computing,
|
|
primarily in the form of "volunteer" computing and "desktop Grid"
|
|
computing. It is well suited for problems which are often described as
|
|
"trivially parallel".
|
|
|
|
BOINC is the underlying software used by projects such as SETI@home,
|
|
Einstein@Home, ClimatePrediciton.net, the World Community Grid, and
|
|
many other distributed computing projects.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
University of California, Berkeley
|
|
Dr. David P. Anderson <davea@ssl.berkeley.edu>
|
|
Rom Walton <rwalton@ssl.berkeley.edu>
|
|
Charlie Fenton
|
|
|
|
%prep
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir $RPM_BUILD_ROOT
|
|
%setup -q -n boinc-%{version}
|
|
%patch0
|
|
%patch1
|
|
%patch2
|
|
%patch3
|
|
%patch4
|
|
%patch5 -p1
|
|
%patch6 -p1
|
|
%patch7 -p1
|
|
%patch8 -p1
|
|
tar -xvjf %{S:1}
|
|
|
|
%build
|
|
export RPM_OPT_FLAGS="-O3 -funroll-loops -fforce-addr -ffast-math"
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
./_autosetup
|
|
./configure \
|
|
--prefix=%{_prefix} \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir} \
|
|
--disable-server \
|
|
--enable-client \
|
|
--enable-unicode
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
# create symlink for boinc_client
|
|
ln -s %{_bindir}/boinc_client $RPM_BUILD_ROOT%{_bindir}/boinc
|
|
# install logrotate and create symlink to /etc/int.d/boinc-client
|
|
install -d -m755 $RPM_BUILD_ROOT%{_sbindir}
|
|
ln -s %{_sysconfdir}/init.d/boinc-client $RPM_BUILD_ROOT%{_sbindir}/rcboinc-client
|
|
install -D -m644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/boinc
|
|
# istall desktop-file and icons
|
|
install -D -m644 %{S:3} $RPM_BUILD_ROOT%{_datadir}/applications/boinc-gui.desktop
|
|
install -D -m644 boinc-gui-128.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/boinc-gui.png
|
|
install -D -m644 boinc-gui-64.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/boinc-gui.png
|
|
install -D -m644 boinc-gui-48.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/boinc-gui.png
|
|
install -D -m644 boinc-gui-32.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/boinc-gui.png
|
|
install -D -m644 boinc-gui-22.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/boinc-gui.png
|
|
install -D -m644 boinc-gui-16.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/boinc-gui.png
|
|
#removing sysconfig entry
|
|
rm $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/boinc-client
|
|
# install boincmgr
|
|
install -D -m755 %{S:4} $RPM_BUILD_ROOT%{_bindir}/boincmgr
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%pre
|
|
|
|
%post
|
|
|
|
%preun
|
|
%stop_on_removal boinc-client
|
|
|
|
%postun
|
|
%restart_on_update boinc-client
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/boinc
|
|
%{_bindir}/boinc_client
|
|
%{_bindir}/boinc_cmd
|
|
%{_bindir}/ca-bundle.crt
|
|
%{_bindir}/crypt_prog
|
|
%{_bindir}/switcher
|
|
%{_sbindir}/*
|
|
%config %{_sysconfdir}/init.d/*
|
|
%config(noreplace) %{_sysconfdir}/logrotate.d/*
|
|
#%{_sysconfdir}/sysconfig/*
|
|
%{_mandir}/man*/*
|
|
%doc COPYING COPYRIGHT checkin_* INSTALL notes todo TODO_OLD
|
|
|
|
%files -n boinc-gui-lang
|
|
%defattr(-,root,root)
|
|
%{_datadir}/locale/*/LC_MESSAGES/*
|
|
%{_datadir}/locale/ko_KR
|
|
%{_datadir}/locale/ko_KR/LC_MESSAGES
|
|
%{_datadir}/locale/sv_SE
|
|
%{_datadir}/locale/sv_SE/LC_MESSAGES
|
|
|
|
%files -n boinc-gui
|
|
%defattr(-,root,root)
|
|
%{_bindir}/boincmgr
|
|
%{_bindir}/boinc_gui
|
|
%{_datadir}/applications/*
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/BOINC
|
|
%{_includedir}/BOINC/*.h
|
|
%{_libdir}/*a
|
|
|
|
%changelog
|
|
* Wed Jan 14 2009 mauro@suse.de
|
|
- Added bnc_465676.patch to fix bnc#465676.
|
|
+ Fixes CVE-2008-5077
|
|
+ check return values of RSA_*() functions.
|
|
+ fix a memory leak, missing RSA_free().
|
|
* Tue Dec 23 2008 mauro@suse.de
|
|
- Added bnc_442904.patch to fix bnc#442904.
|
|
+ Use the proper delete.
|
|
* Mon Nov 03 2008 mauro@suse.de
|
|
- Add bnc_439037.patch to fix bnc#439037. We now use strcmp
|
|
instead of the original ==.
|
|
* Fri Oct 03 2008 mauro@suse.de
|
|
- Add bnc-431510.patch to fix bnc#431510.
|
|
* Mon Sep 08 2008 mauro@suse.de
|
|
- initial package for SuSE. boinc 6.2.18 (based on the enzokiel's
|
|
opensuse version).
|