1
0
forked from pool/boinc-client

Autobuild autoformatter for 70475

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/boinc-client?expand=0&rev=17
This commit is contained in:
Sascha Peilicke 2011-05-19 11:46:11 +00:00 committed by Git OBS Bridge
parent 786f374225
commit 1344421f01

View File

@ -1,4 +1,7 @@
#
# spec file for package boinc-client
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 by Sascha Manns <saigkill@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -12,6 +15,7 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
# Global definitions
@ -26,7 +30,7 @@ Release: 1
Summary: The BOINC client core
License: LGPLv2+
Group: Productivity/Clustering/Computing
URL: http://boinc.berkeley.edu/
Url: http://boinc.berkeley.edu/
Source0: boinc_core_release_%{version_}.tar.bz2
Source1: boinc-icons.tar.bz2
@ -34,7 +38,7 @@ Source2: boinc-gui.desktop
Source3: README.SUSE
Source4: sysconfig.boinc-client
Source5: boinc-logrotate
Source6: boincmanager
Source6: boincmanager
Source7: boinc-client-rpmlintrc
# The source for this package was pulled from upstream's vcs. Use the
# following commands to generate the tarball:
@ -94,7 +98,7 @@ BuildRequires: libxslt
BuildRequires: mysql-devel
BuildRequires: openssl-devel
#BuildRequires: patch
BuildRequires: pkg-config
BuildRequires: pkg-config
BuildRequires: pwdutils
BuildRequires: python-mysql
BuildRequires: sqlite3-devel
@ -127,6 +131,8 @@ global warming, discover sources of gravitational waves, and many other types
of scientific and mathematical research.
%package -n boinc-manager
Summary: GUI to control and monitor %{name}
Group: Productivity/Scientific/Astronomy
Requires: %{name} = %{version}-%{release}
@ -140,9 +146,11 @@ monitoring. The BOINC Manager has two modes of operation, the "Simple View" in
which it only displays the most important information and the "Advanced View"
in which all information and all control elements are available.
%lang_package -n boinc-manager
%lang_package -n boinc-manager
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}-%{release}
@ -153,6 +161,8 @@ Requires: openssl-devel
This package contains development files for %{name}.
%package -n libboinc%{soname}
Summary: Shared Libs for %{name}
Group: System/Libraries
@ -164,6 +174,8 @@ which it only displays the most important information and the "Advanced View"
in which all information and all control elements are available.
%package doc
Summary: Documentation files for %{name}
Group: Documentation/Other
%if 0%{?suse_version} >= 1120
@ -314,7 +326,7 @@ getent passwd boinc >/dev/null || \
useradd -r -g boinc -d %{_localstatedir}/lib/boinc -s /sbin/nologin \
-c "BOINC client account." boinc
exit 0
%post
%{fillup_and_insserv boinc-client}
@ -324,7 +336,7 @@ exit 0
%postun
%restart_on_update boinc-client
%insserv_cleanup
%post -n boinc-manager
/usr/bin/touch --no-create %{_datadir}/icons/hicolor || :
if [ -x %{_bindir}/gtk-update-icon-cache ]; then