#1 Add to EPEL7
Closed 5 years ago by lkundrak. Opened 5 years ago by andrewponomarenko.
rpms/ andrewponomarenko/libx86emu epel7  into  epel7

file added
+1
@@ -0,0 +1,1 @@ 

+ /libx86emu-1.11.tar.gz

file removed
-3
@@ -1,3 +0,0 @@ 

- # libx86emu

- 

- The libx86emu package 

\ No newline at end of file

@@ -0,0 +1,11 @@ 

+ --- Makefile.orig	2017-11-16 15:00:14.579051907 +0100

+ +++ Makefile	2017-11-16 15:00:31.728134481 +0100

+ @@ -45,7 +45,7 @@

+  	install -m 644 -D include/x86emu.h $(DESTDIR)/usr/include/x86emu.h

+  

+  $(LIB_NAME): .depend $(OBJS)

+ -	$(CC) -shared -Wl,-soname,$(LIB_SONAME) $(OBJS) -o $(LIB_NAME)

+ +	$(CC) -shared -Wl,-soname,$(LIB_SONAME) $(LDFLAGS) $(OBJS) -o $(LIB_NAME)

+  

+  test:

+  	make -C test

file added
+79
@@ -0,0 +1,79 @@ 

+ %global make_flags \\\

+         LIBDIR=%{_libdir} \\\

+         GIT2LOG=: \\\

+         VERSION=%%{version} \\\

+         MAJOR_VERSION=%%(echo %{version} |cut -d. -f1) \\\

+         CFLAGS="-fPIC %{optflags}" \\\

+         LDFLAGS="-fPIC %{__global_ldflags}"

+ 

+ Name:           libx86emu

+ Version:        1.11

+ Release:        5%{?dist}

+ Summary:        x86 emulation library

+ 

+ License:        BSD

+ URL:            https://github.com/wfeldt/libx86emu

+ Source0:        https://github.com/wfeldt/libx86emu/archive/%{version}/%{name}-%{version}.tar.gz

+ 

+ Patch0:         libx86emu-1.11-ldflags.patch

+ 

+ BuildRequires:  gcc

+ 

+ %description

+ Small x86 emulation library with focus of easy usage and extended execution

+ logging functions. The library features an API to create emulation objects

+ for x86 architecture.

+ 

+ 

+ %package devel

+ Summary:        Development files for libx86emu

+ Requires:       %{name}%{?_isa} = %{version}-%{release}

+ 

+ 

+ %description devel

+ Header files and libraries for developing with libx86emu, a x86 emulation

+ library.

+ 

+ 

+ %prep

+ %autosetup

+ 

+ 

+ %build

+ %make_build %{make_flags} shared

+ 

+ 

+ %post -p /sbin/ldconfig

+ %postun -p /sbin/ldconfig

+ 

+ 

+ %install

+ %make_install %{make_flags}

+ 

+ 

+ %files

+ %{_libdir}/libx86emu.so.*

+ %doc README.md

+ %license LICENSE

+ 

+ 

+ %files devel

+ %{_includedir}/x86emu.h

+ %{_libdir}/libx86emu.so

+ 

+ 

+ %changelog

+ * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-5

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.11-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Thu Nov 16 2017 Björn Esser <besser82@fedoraproject.org> - 1.11-3

+ - Properly apply build flags

+ 

+ * Fri Aug 25 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.11-2

+ - Better align with packaging guidelines (thanks Robert-André Mauchin)

+ 

+ * Tue Aug 01 2017 Lubomir Rintel <lkundrak@v3.sk> - 1.11-1

+ - Initial packaging

file added
+1
@@ -0,0 +1,1 @@ 

+ SHA512 (libx86emu-1.11.tar.gz) = 800b6ddf60f2ab3b95fb8825ebdbb2617661b8a3cf506197e2096b30ded155a97894fd9344e9fe15bfe0eae62e5b751a321b88fc6db862883134ac452babf2a5

Apllied and built. Thanks.
You need to maintain the branch yourself though.
Granted you the commit rights: Feel free to go ahead and submit an update.

Pull-Request has been closed by lkundrak

5 years ago