format_spec_file

OBS-URL: https://build.opensuse.org/package/show/Base:System/tuned?expand=0&rev=10
This commit is contained in:
Marcus Meissner 2012-11-21 15:15:47 +00:00 committed by Git OBS Bridge
parent c835758e11
commit 5464f138be

View File

@ -1,7 +1,7 @@
#
# spec file for package tuned
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -15,33 +15,34 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: tuned
Version: 2.0.2
Release: 0
Summary: A dynamic adaptive system tuning daemon
URL: https://fedorahosted.org/tuned/
Group: System/Base
License: GPL-2.0
Name: tuned
Version: 2.0.2
Release: 0
Summary: A dynamic adaptive system tuning daemon
License: GPL-2.0
Group: System/Base
Url: https://fedorahosted.org/tuned/
# The source for this package was pulled from upstream git. Use the
# following commands to get the corresponding tarball:
# git clone git://git.fedorahosted.org/git/tuned.git
# cd tuned
# git checkout v%%{version}
# make archive
Source: tuned-%{version}.tar.bz2
Source: tuned-%{version}.tar.bz2
# PATCH-FIX-OPENSUSE fix-allow-receive_sender-default.patch <allow receive_sender="com.redhat.com"/> allow receive_* is normally
# not needed as that is the default --<p.drouand@gmail.com>
Patch0: fix-allow-receive_sender-default.patch
Patch0: fix-allow-receive_sender-default.patch
# PATCH-FIX-OPENSUSE fix-new-systemd-tmpfiles.d-path.patch Fix tmpfiles.d systemd path from /etc/tmpdfiles.d to /usr/lib/tmpfiles.d to be
# compatible with new systemd --<p.drouand@gmail.com>
Patch1: fix-new-systemd-tmpfiles.d-path.patch
BuildRequires: systemd
Patch1: fix-new-systemd-tmpfiles.d-path.patch
BuildRequires: python
Requires: python-decorator
Requires: dbus-python
Requires: pygobject2
BuildRequires: systemd
Requires: dbus-python
Requires: pygobject2
Requires: python-decorator
%{?systemd_requires}
BuildArch: noarch
BuildArch: noarch
%description
The tuned package contains a daemon that tunes system settings dynamically.
@ -51,9 +52,10 @@ power saving modes to adapt to the current usage. Currently only ethernet
network and ATA harddisk devices are implemented.
%package utils
Summary: Disk and net statistic monitoring systemtap scripts
Requires: %{name} = %{version}-%{release}
Requires: systemtap
Summary: Disk and net statistic monitoring systemtap scripts
Group: System/Base
Requires: %{name} = %{version}-%{release}
Requires: systemtap
%description utils
The tuned-utils package contains several systemtap scripts to allow detailed