File kio_sysinfo-branding-upstream.spec of Package kio_sysinfo-branding-upstream
#
# spec file for package kio_sysinfo-branding-upstream (Version 11.4)
#
# Copyright (c) 2010 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: kio_sysinfo-branding-upstream
License: GPLv2+
%if 0%{?suse_version} >= 1120
BuildRequires: branding-upstream
%endif
Group: System/GUI/KDE
Summary: System Information KIO-Slave Branding
PreReq: %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 11.4
Release: 1
Source0: sysinfo.tar.bz2
Source1: COPYING
Requires: kio_sysinfo
Supplements: packageand(kio_sysinfo:branding-upstream)
%if 0%{?suse_version} == 1120
# 11.2 has it wrong
Provides: kio_sysinfo-branding = 11.2
%else
Provides: kio_sysinfo-branding = %(rpm -q --queryformat %{VERSION} branding-upstream)
%endif
Conflicts: otherproviders(kio_sysinfo-branding)
BuildArch: noarch
# appeared last time in 11.1
Provides: kde4-kio_sysinfo-branding-upstream = 11.2
Obsoletes: kde4-kio_sysinfo-branding-upstream < 11.2
%description
This package contains upstream branding for the system information KIO
slave.
%prep
%build
%install
install -D -m644 %{SOURCE1} $RPM_BUILD_ROOT/usr/share/doc/packages/kio_sysinfo-branding-upstream/COPYING
mkdir -p $RPM_BUILD_ROOT/usr/share/kde4/apps/sysinfo
cd $RPM_BUILD_ROOT/usr/share/kde4/apps/sysinfo
tar xfj %SOURCE0
rm -rf $RPM_BUILD_ROOT/usr/share/kde4/apps/sysinfo/about/CMakeLists.txt
%files
%defattr(-,root,root)
%dir /usr/share/doc/packages/kio_sysinfo-branding-upstream
%doc /usr/share/doc/packages/kio_sysinfo-branding-upstream/COPYING
/usr/share/kde4/
%changelog