File linux32.spec of Package linux32

# spec file for package linux32
# 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

Name:           linux32
BuildRequires:  update-desktop-files
BuildRequires:  hicolor-icon-theme
License:        GPL-2.0+
Group:          System/Kernel
Summary:        32-Bit Emulation Utility for x86-64
Version:        1.0
Release:        478
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  x86_64
Source2:        %name.desktop
Source3:        konsole-linux32-24.png
Source4:        konsole-linux32-32.png
Source5:        konsole-linux32-48.png
Source6:        konsole-linux32-64.png
Source7:        konsole-linux32-128.png
Source8:        konsole-linux32-256.png
Requires:       util-linux >= 2.16

This is a small tool for 32-bit emulation in Linux/x86-64. It allows
you to execute programs that need a uname -m of i386 with uname
emulation. The uname -m is inherited by all child programs, but does
not affect the current shell or processes above it in the process

    Andi Kleen <>



install -D -m 644 %{S:3} %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/konsole-linux32.png
install -D -m 644 %{S:4} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/konsole-linux32.png
install -D -m 644 %{S:5} %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/konsole-linux32.png
install -D -m 644 %{S:6} %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/konsole-linux32.png
install -D -m 644 %{S:7} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/konsole-linux32.png
install -D -m 644 %{S:8} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/konsole-linux32.png
%suse_update_desktop_file -i %name

%if 0%{?suse_version} > 1130
gtk-update-icon-cache %{_datadir}/icons/hicolor || true

%if 0%{?suse_version} > 1130
gtk-update-icon-cache %{_datadir}/icons/hicolor || true


openSUSE Build Service is sponsored by