2024-01-06 06:10:00 +01:00
Name : libx86
Version : 1.1
2024-01-06 06:10:00 +01:00
Release : 3mamba
2024-01-06 06:10:00 +01:00
Summary : A hardware-independent library for executing real-mode x86 code
Group : System/Libraries
Vendor : openmamba
Distribution : openmamba
Packager : Silvan Calarco <silvan.calarco@mambasoft.it>
URL : http://www.codon.org.uk/~mjg59/libx86/
Source : http://www.codon.org.uk/%7Emjg59/libx86/downloads/libx86-%{version} .tar.gz
Patch0 : %{name} -0.99-ifmask.patch
2024-01-06 06:10:00 +01:00
Patch1 : libx86-1.1-add-pkgconfig.patch
2024-01-06 06:10:00 +01:00
License : GPL
## AUTOBUILDREQ-BEGIN
BuildRequires : glibc-devel
## AUTOBUILDREQ-END
BuildRoot : %{_tmppath} /%{name} -%{version} -root
%description
It's often useful to be able to make real-mode x86 BIOS calls from userland. lrmi provides a simple interface to this for x86 machines, but this doesn' t help on other platforms. libx86 provides the lrmi interface, but will also run on platforms such as amd64 and alpha.
%package devel
Summary : Development files for %{name}
Group : Development/Libraries
Requires : %{name} = %{version}
%description devel
It's often useful to be able to make real-mode x86 BIOS calls from userland. lrmi provides a simple interface to this for x86 machines, but this doesn' t help on other platforms. libx86 provides the lrmi interface, but will also run on platforms such as amd64 and alpha.
This package contains the development files for %{name} .
%prep
%setup -q
%patch0 -p0
2024-01-06 06:10:00 +01:00
%patch1 -p1
2024-01-06 06:10:00 +01:00
%build
%make LIBDIR=%{_libdir} BACKEND=x86emu
%install
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%makeinstall LIBDIR=%{_libdir}
%clean
[ " %{buildroot} " != / ] && rm -rf " %{buildroot} "
%files
%defattr (-,root,root)
%{_libdir} /libx86.so.*
%files devel
%defattr (-,root,root)
%{_libdir} /libx86.a
%{_libdir} /libx86.so
%{_includedir} /libx86.h
2024-01-06 06:10:00 +01:00
%{_libdir} /pkgconfig/x86.pc
2024-01-06 06:10:00 +01:00
%changelog
2024-01-06 06:10:00 +01:00
* Wed Aug 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-3mamba
- added pkgconfig patch
2024-01-06 06:10:00 +01:00
* Wed Nov 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-2mamba
- rebuilt with BACKEND=x86emu which makes it portable on non x86 archs (needs retest on x86)
* Mon May 18 2009 Automatic Build System <autodist@mambasoft.it> 1.1-1mamba
- automatic update by autodist
* Tue Jan 08 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.99-1mamba
- package created by autospec