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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2016-03-16 17:39:02 +01:00
|
|
|
# ExclusiveArch: %ix86 x86_64
|
2009-06-09 17:58:37 +02:00
|
|
|
|
|
|
|
Name: libx86emu
|
2015-03-05 15:32:11 +01:00
|
|
|
BuildRequires: xz
|
|
|
|
Summary: A small x86 emulation library.
|
2011-12-06 18:26:17 +01:00
|
|
|
License: BSD-3-Clause
|
2009-06-09 17:58:37 +02:00
|
|
|
Group: System/Libraries
|
2018-07-25 10:44:07 +02:00
|
|
|
Version: 2.0
|
2015-03-05 15:32:11 +01:00
|
|
|
Release: 0
|
2009-06-09 17:58:37 +02:00
|
|
|
PreReq: /sbin/ldconfig
|
2015-03-05 15:32:11 +01:00
|
|
|
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
|
|
|
|
Small x86 emulation library with focus of easy usage and extended
|
|
|
|
execution logging functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Steffen Winterfeldt
|
|
|
|
|
|
|
|
%package -n libx86emu1
|
|
|
|
Summary: A small x86 emulation library.
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libx86emu1
|
|
|
|
Small x86 emulation library with focus of easy usage and extended
|
|
|
|
execution logging functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Steffen Winterfeldt
|
|
|
|
|
|
|
|
%package -n libx86emu-devel
|
|
|
|
Summary: A small x86 emulation library.
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: libx86emu1 = %version
|
|
|
|
|
|
|
|
%description -n libx86emu-devel
|
|
|
|
Small x86 emulation library with focus of easy usage and extended
|
|
|
|
execution logging functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Steffen Winterfeldt
|
|
|
|
|
|
|
|
%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}
|
|
|
|
make install DESTDIR=%{buildroot} LIBDIR=%{_libdir}
|
|
|
|
|
|
|
|
%post -n libx86emu1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libx86emu1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libx86emu1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
2017-09-12 13:50:26 +02:00
|
|
|
%doc README.md LICENSE*
|
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
|