update to 1.1_21.6 [release 1.1_21.6-1mamba;Sun Apr 13 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 06:10:07 +01:00
parent aaa06f5022
commit 1dc43a03a8
2 changed files with 71 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libx86emu # libx86emu
Small x86 emulation library with focus of easy usage and extended execution logging functions.

69
libx86emu.spec Normal file
View File

@ -0,0 +1,69 @@
%define pkgver %(echo %version | tr _ -)
%define majver %(echo %version | cut -d_ -f1)
Name: libx86emu
Version: 1.1_21.6
Release: 1mamba
Summary: A small x86 emulation library
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://download.opensuse.org/source/distribution/11.2/repo/oss/suse/src/
# autospec -x libx86emu-%{version}-%{oss_release}.src.rpm -F libx86emu-%{version}.tar.bz2
Source: http://download.opensuse.org/source/factory/repo/oss/suse/src/libx86emu-%{pkgver}.src.rpm
#Source: libx86emu-%{version}.tar.bz2
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
License: BSD
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Small x86 emulation library with focus of easy usage and extended execution logging functions.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Small x86 emulation library with focus of easy usage and extended execution logging functions.
This package contains static libraries and header files need for development.
%prep
%setup -q -c -T
rpm2cpio %{SOURCE0} | cpio -id
tar xf %{name}-%{majver}.tar.bz2
%build
cd %{name}-%{majver}
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd %{name}-%{majver}
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc %{name}-%{majver}/LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/*.so
%changelog
* Sun Apr 13 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1_21.6-1mamba
- update to 1.1_21.6
* Wed Feb 17 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.1-1mamba
- package created by autospec