2007-01-15 23:23:59 +00:00
|
|
|
#
|
2011-10-21 14:21:32 +00:00
|
|
|
# spec file for package linux32
|
2007-01-15 23:23:59 +00:00
|
|
|
#
|
2011-10-21 14:21:32 +00:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:23:59 +00:00
|
|
|
#
|
2008-10-22 16:20:58 +00:00
|
|
|
# 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.
|
|
|
|
|
2007-01-15 23:23:59 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-10-22 16:20:58 +00:00
|
|
|
|
2007-01-15 23:23:59 +00:00
|
|
|
Name: linux32
|
|
|
|
BuildRequires: update-desktop-files
|
2011-10-21 14:21:32 +00:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2007-10-10 23:31:11 +00:00
|
|
|
Url: ftp://ftp.x86-64.org/pub/linux/tools/linux32/
|
2011-12-06 17:26:44 +00:00
|
|
|
License: GPL-2.0+
|
2007-01-15 23:23:59 +00:00
|
|
|
Group: System/Kernel
|
|
|
|
Summary: 32-Bit Emulation Utility for x86-64
|
|
|
|
Version: 1.0
|
2010-06-18 04:22:56 +00:00
|
|
|
Release: 478
|
2007-01-15 23:23:59 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-10-22 16:20:58 +00:00
|
|
|
ExclusiveArch: x86_64
|
2007-01-15 23:23:59 +00:00
|
|
|
Source2: %name.desktop
|
2011-10-21 14:21:32 +00:00
|
|
|
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
|
2009-07-10 14:20:29 +00:00
|
|
|
Requires: util-linux >= 2.16
|
2007-01-15 23:23:59 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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
|
|
|
|
hierarchy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Andi Kleen <ak@suse.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
2011-10-21 14:21:32 +00:00
|
|
|
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
|
|
|
|
|
|
|
|
%post
|
|
|
|
%if 0%{?suse_version} > 1130
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%else
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor || true
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%if 0%{?suse_version} > 1130
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%else
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor || true
|
|
|
|
%endif
|
2007-01-15 23:23:59 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2011-10-21 14:21:32 +00:00
|
|
|
%{_datadir}/applications/*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/konsole-linux32.png
|
2008-10-22 16:20:58 +00:00
|
|
|
|
2007-10-10 23:31:11 +00:00
|
|
|
%changelog
|