64 lines
2.1 KiB
RPMSpec
64 lines
2.1 KiB
RPMSpec
|
Name: libx86
|
||
|
Version: 1.1
|
||
|
Release: 2mamba
|
||
|
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
|
||
|
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
|
||
|
|
||
|
%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
|
||
|
|
||
|
%changelog
|
||
|
* 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
|
||
|
|