forked from pool/linux32
Accepting request 729473 from home:pluskalm:branches:Base:System
- Cleanup spec file with spec-cleaner - Fix dependencies (recommend xterm) OBS-URL: https://build.opensuse.org/request/show/729473 OBS-URL: https://build.opensuse.org/package/show/Base:System/linux32?expand=0&rev=10
This commit is contained in:
parent
c90fd207ee
commit
43f6b9dd6c
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 9 13:40:11 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Cleanup spec file with spec-cleaner
|
||||||
|
- Fix dependencies (recommend xterm)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 20 17:26:51 UTC 2011 - badshah400@gmail.com
|
Thu Oct 20 17:26:51 UTC 2011 - badshah400@gmail.com
|
||||||
|
|
||||||
|
60
linux32.spec
60
linux32.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package linux32
|
# spec file for package linux32
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,30 +12,29 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: linux32
|
Name: linux32
|
||||||
BuildRequires: update-desktop-files
|
|
||||||
BuildRequires: hicolor-icon-theme
|
|
||||||
Url: ftp://ftp.x86-64.org/pub/linux/tools/linux32/
|
|
||||||
License: GPL-2.0+
|
|
||||||
Group: System/Kernel
|
|
||||||
Summary: 32-Bit Emulation Utility for x86-64
|
|
||||||
Version: 1.0
|
Version: 1.0
|
||||||
Release: 478
|
Release: 0
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Summary: 32-Bit Emulation Utility for x86-64
|
||||||
ExclusiveArch: x86_64
|
License: GPL-2.0-or-later
|
||||||
Source2: %name.desktop
|
Group: System/Kernel
|
||||||
|
URL: http://ftp.x86-64.org/pub/linux/tools/linux32/
|
||||||
|
Source2: %{name}.desktop
|
||||||
Source3: konsole-linux32-24.png
|
Source3: konsole-linux32-24.png
|
||||||
Source4: konsole-linux32-32.png
|
Source4: konsole-linux32-32.png
|
||||||
Source5: konsole-linux32-48.png
|
Source5: konsole-linux32-48.png
|
||||||
Source6: konsole-linux32-64.png
|
Source6: konsole-linux32-64.png
|
||||||
Source7: konsole-linux32-128.png
|
Source7: konsole-linux32-128.png
|
||||||
Source8: konsole-linux32-256.png
|
Source8: konsole-linux32-256.png
|
||||||
|
BuildRequires: hicolor-icon-theme
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
Requires: util-linux >= 2.16
|
Requires: util-linux >= 2.16
|
||||||
|
Recommends: xterm-bin
|
||||||
|
ExclusiveArch: x86_64
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a small tool for 32-bit emulation in Linux/x86-64. It allows
|
This is a small tool for 32-bit emulation in Linux/x86-64. It allows
|
||||||
@ -44,41 +43,20 @@ emulation. The uname -m is inherited by all child programs, but does
|
|||||||
not affect the current shell or processes above it in the process
|
not affect the current shell or processes above it in the process
|
||||||
hierarchy.
|
hierarchy.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Andi Kleen <ak@suse.de>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -D -m 644 %{S:3} %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/konsole-linux32.png
|
install -D -m 644 %{SOURCE3} %{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 %{SOURCE4} %{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 %{SOURCE5} %{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 %{SOURCE6} %{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 %{SOURCE7} %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/konsole-linux32.png
|
||||||
install -D -m 644 %{S:8} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/konsole-linux32.png
|
install -D -m 644 %{SOURCE8} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/konsole-linux32.png
|
||||||
%suse_update_desktop_file -i %name
|
%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
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/applications/*
|
%{_datadir}/applications/*
|
||||||
%{_datadir}/icons/hicolor/*/apps/konsole-linux32.png
|
%{_datadir}/icons/hicolor/*/apps/konsole-linux32.png
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user