File kio_sysinfo-branding-upstream.spec of Package kio_sysinfo-branding-upstream

#
# spec file for package kio_sysinfo-branding-upstream
#
# Copyright (c) 2011 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+
BuildRequires:  branding-upstream
BuildRequires:  kde4-filesystem
Group:          System/GUI/KDE
Summary:        System Information KIO-Slave Branding
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Version:        12.1
Release:        7
Source0:        sysinfo.tar.bz2
Source1:        COPYING
Requires:       kio_sysinfo
Url:            http://websvn.kde.org/trunk/playground/base/kio_sysinfo/
Supplements:    packageand(kio_sysinfo:branding-upstream)
Provides:       kio_sysinfo-branding = %(rpm -q --queryformat %{VERSION} branding-upstream)
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} %{buildroot}%{_docdir}/kio_sysinfo-branding-upstream/COPYING
  mkdir -p %{buildroot}%{_kde4_appsdir}/sysinfo
  cd %{buildroot}%{_kde4_appsdir}/sysinfo
  tar xfj %SOURCE0
  rm -rf %{buildroot}%{_kde4_appsdir}/sysinfo/about/CMakeLists.txt

%files
%defattr(-,root,root)
%{_docdir}/kio_sysinfo-branding-upstream
%{_kde4_appsdir}/sysinfo

%changelog
openSUSE Build Service is sponsored by