82 lines
2.3 KiB
RPMSpec
82 lines
2.3 KiB
RPMSpec
Name: liblrmi
|
|
Version: 0.10
|
|
Release: 3mamba
|
|
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>
|
|
URL: http://sourceforge.net/projects/lrmi/
|
|
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
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## 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.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
%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}.
|
|
|
|
%prep
|
|
%setup -q -n lrmi-%{version}
|
|
%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.*
|
|
%doc README
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/lrmi.h
|
|
%{_libdir}/liblrmi.a
|
|
%{_libdir}/liblrmi.so
|
|
|
|
%files -n vbetest
|
|
%defattr(-,root,root)
|
|
%{_sbindir}/vbetest
|
|
|
|
%changelog
|
|
* 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
|