2009-06-09 17:58:37 +02:00
|
|
|
#
|
2015-03-05 15:32:11 +01:00
|
|
|
# spec file for package libx86emu
|
2009-06-09 17:58:37 +02:00
|
|
|
#
|
2017-04-28 16:16:30 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2009-06-09 17:58:37 +02:00
|
|
|
# Copyright (c) 2008 Steffen Winterfeldt
|
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: libx86emu
|
2015-03-05 15:32:11 +01:00
|
|
|
BuildRequires: xz
|
2018-11-29 14:02:35 +01:00
|
|
|
Summary: An x86 emulation library
|
2011-12-06 18:26:17 +01:00
|
|
|
License: BSD-3-Clause
|
2018-11-29 14:02:35 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2021-11-18 18:19:18 +01:00
|
|
|
Version: 3.5
|
2015-03-05 15:32:11 +01:00
|
|
|
Release: 0
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
Url: https://github.com/wfeldt/libx86emu
|
2009-06-09 17:58:37 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2018-11-29 14:02:35 +01:00
|
|
|
An x86 emulation library with focus on usage and
|
2009-06-09 17:58:37 +02:00
|
|
|
execution logging functions.
|
|
|
|
|
2020-01-27 18:40:40 +01:00
|
|
|
%package -n libx86emu3
|
2018-11-29 14:02:35 +01:00
|
|
|
Summary: An x86 emulation library
|
2009-06-09 17:58:37 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2020-01-27 18:40:40 +01:00
|
|
|
%description -n libx86emu3
|
2018-11-29 14:02:35 +01:00
|
|
|
An x86 emulation library with focus on usage and
|
2009-06-09 17:58:37 +02:00
|
|
|
execution logging functions.
|
|
|
|
|
|
|
|
%package -n libx86emu-devel
|
2018-11-29 14:02:35 +01:00
|
|
|
Summary: Development files for libx86emu
|
|
|
|
Group: Development/Libraries/C and C++
|
2020-01-27 18:40:40 +01:00
|
|
|
Requires: libx86emu3 = %version
|
2009-06-09 17:58:37 +02:00
|
|
|
|
|
|
|
%description -n libx86emu-devel
|
2018-11-29 14:02:35 +01:00
|
|
|
An x86 emulation library with focus on usage and
|
2009-06-09 17:58:37 +02:00
|
|
|
execution logging functions.
|
|
|
|
|
2018-11-29 14:02:35 +01:00
|
|
|
This package contains the header files for the library API.
|
2009-06-09 17:58:37 +02:00
|
|
|
|
|
|
|
%prep
|
2009-06-10 18:28:57 +02:00
|
|
|
%setup -n libx86emu-%{version}
|
2009-06-09 17:58:37 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
make LIBDIR=%{_libdir}
|
|
|
|
|
|
|
|
%install
|
|
|
|
install -d -m 755 %{buildroot}%{_libdir}
|
2018-11-29 14:02:35 +01:00
|
|
|
%make_install LIBDIR=%{_libdir}
|
2009-06-09 17:58:37 +02:00
|
|
|
|
2020-01-27 18:40:40 +01:00
|
|
|
%post -n libx86emu3 -p /sbin/ldconfig
|
2009-06-09 17:58:37 +02:00
|
|
|
|
2020-01-27 18:40:40 +01:00
|
|
|
%postun -n libx86emu3 -p /sbin/ldconfig
|
2009-06-09 17:58:37 +02:00
|
|
|
|
2020-01-27 18:40:40 +01:00
|
|
|
%files -n libx86emu3
|
2009-06-09 17:58:37 +02:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
2019-02-05 10:54:58 +01:00
|
|
|
%doc README.md
|
2024-04-02 16:12:27 +02:00
|
|
|
%if 0%{?suse_version} >= 1500
|
2019-02-05 10:54:58 +01:00
|
|
|
%license LICENSE*
|
2020-01-28 15:39:11 +01:00
|
|
|
%else
|
|
|
|
%doc LICENSE*
|
|
|
|
%endif
|
2009-06-09 17:58:37 +02:00
|
|
|
|
|
|
|
%files -n libx86emu-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so
|
2015-03-05 15:32:11 +01:00
|
|
|
%{_includedir}/x86emu.h
|
2009-06-09 17:58:37 +02:00
|
|
|
|
|
|
|
%changelog
|