2024-01-06 04:59:53 +01:00
|
|
|
Name: liblrmi
|
|
|
|
Version: 0.10
|
2024-01-06 04:59:53 +01:00
|
|
|
Release: 4mamba
|
2024-01-06 04:59:53 +01:00
|
|
|
Summary: A library for calling real mode BIOS routines under Linux
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:59:53 +01:00
|
|
|
URL: https://sourceforge.net/projects/lrmi/
|
2024-01-06 04:59:53 +01:00
|
|
|
Source: http://puzzle.dl.sourceforge.net/sourceforge/lrmi/lrmi-%{version}.tar.gz
|
|
|
|
Patch0: liblrmi-0.10-Makefile_install.patch
|
|
|
|
Patch1: liblrmi-0.10-missing_defines.patch
|
|
|
|
License: MIT
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library for calling real mode BIOS routines under Linux.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A library for calling real mode BIOS routines under Linux.
|
2024-01-06 04:59:53 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:59:53 +01:00
|
|
|
|
|
|
|
%package -n vbetest
|
|
|
|
Summary: A Video Bios Extensions text tool using %{name}
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n vbetest
|
|
|
|
A Video Bios Extensions text tool using %{name}.
|
|
|
|
|
2024-01-06 04:59:53 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:59:53 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n lrmi-%{version}
|
2024-01-06 04:59:53 +01:00
|
|
|
%define _default_patch_fuzz 2
|
2024-01-06 04:59:53 +01:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p3
|
|
|
|
|
|
|
|
%build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
install -d %{buildroot}%{_libdir} %{buildroot}%{_includedir} %{buildroot}%{_sbindir}
|
|
|
|
%makeinstall LIBDIR=%{buildroot}%{_libdir} INCDIR=%{buildroot}%{_includedir}
|
|
|
|
install -m 0644 liblrmi.a %{buildroot}%{_libdir}
|
|
|
|
install -m 0755 vbetest %{buildroot}%{_sbindir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/liblrmi.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/lrmi.h
|
|
|
|
%{_libdir}/liblrmi.a
|
|
|
|
%{_libdir}/liblrmi.so
|
2024-01-06 04:59:53 +01:00
|
|
|
%doc README
|
2024-01-06 04:59:53 +01:00
|
|
|
|
|
|
|
%files -n vbetest
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sbindir}/vbetest
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:59:53 +01:00
|
|
|
* Sat Feb 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10-4mamba
|
|
|
|
- rebuilt with debug package (x86 only package)
|
|
|
|
|
2024-01-06 04:59:53 +01:00
|
|
|
* Wed Oct 27 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10-3mamba
|
|
|
|
- added vbetest subpackage
|
|
|
|
|
|
|
|
* Thu Jun 26 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.10-2mamba
|
|
|
|
- update Vendor, Distribution, buildrequirements list
|
|
|
|
|
|
|
|
* Sun Jul 02 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.10-1qilnx
|
|
|
|
- package created by autospec
|