commit 107d63e440c7d7d8b18d50f6fcca153a0a47d5e6
Author: Andrea Musuruane <musuruan(a)gmail.com>
Date: Tue Mar 24 16:59:07 2020 +0100
Dropped svgalib dependency (BZ #5567)
Clean up spec file
gnuboy.spec | 59 ++++++++++++-----------------------------------------------
1 file changed, 12 insertions(+), 47 deletions(-)
---
diff --git a/gnuboy.spec b/gnuboy.spec
index 8fca2bb..e2206f4 100644
--- a/gnuboy.spec
+++ b/gnuboy.spec
@@ -1,21 +1,16 @@
Summary: Nintendo GameBoy Color emulator
Name: gnuboy
Version: 1.0.3
-Release: 24%{?dist}
+Release: 25%{?dist}
License: GPLv2
-Group: Applications/Emulators
URL:
http://brightrain.aerifal.cx/~laguna/
Source:
http://brightrain.aerifal.cx/~laguna/src/%{name}-%{version}.tar.gz
Patch0: gnuboy-1.0.3-s64.patch
Patch1: gnuboy-1.0.3-xgnuboy.patch
Patch2: gnuboy-1.0.3-manpages.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: libXt-devel
BuildRequires: gcc
-%ifarch %{ix86} x86_64
-BuildRequires: svgalib-devel
-%endif
%package sdl
Summary: Nintendo GameBoy Color emulator (SDL version)
@@ -31,10 +26,6 @@ Group: Applications/Emulators
Summary: Nintendo GameBoy Color emulator (frame buffer version)
Group: Applications/Emulators
-%package svgalib
-Summary: Nintendo GameBoy Color emulator (svgalib version)
-Group: Applications/Emulators
-
%description
gnuboy (all lowercase) is a portable program for emulating the Nintendo
GameBoy Color software platform. gnuboy is Free Software, distributed
@@ -69,14 +60,6 @@ everyone's enjoyment.
This is the frame buffer version.
-%description svgalib
-gnuboy (all lowercase) is a portable program for emulating the Nintendo
-GameBoy Color software platform. gnuboy is Free Software, distributed
-under the terms of the GNU General Public License. Our goal is to provide
-a great emulator that runs on many platforms and is accessible for
-everyone's enjoyment.
-
-This is the svgalib version.
%prep
%setup -q
@@ -87,64 +70,46 @@ This is the svgalib version.
%patch2 -p1
%build
-%ifarch %{ix86} x86_64
-%configure --disable-arch --disable-optimize --disable-asm \
- --with-sdl --with-x --with-fb --with-svgalib
-%else
%configure --disable-arch --disable-optimize --disable-asm \
--with-sdl --with-x --with-fb
-%endif
-make %{?_smp_mflags}
+%make_build
%install
-rm -rf %{buildroot}
%makeinstall
#install man pages
install -d %{buildroot}%_mandir/man1
install -m 644 sdlgnuboy.1 %{buildroot}%{_mandir}/man1
install -m 644 xgnuboy.1 %{buildroot}%{_mandir}/man1
-%ifarch %{ix86} x86_64
-install -m 644 sgnuboy.1 %{buildroot}%{_mandir}/man1
-%endif
-
-%clean
-rm -rf %{buildroot}
%files sdl
-%defattr(-, root, root)
%{_bindir}/sdlgnuboy
%{_mandir}/man1/sdlgnuboy.1*
-%doc COPYING README
+%license COPYING
+%doc README
%doc docs/{CHANGES,CONFIG,CREDITS,FAQ,LIBERTY,README.old,WHATSNEW}
%doc etc/*.rc
%files x
-%defattr(-, root, root)
%{_bindir}/xgnuboy
%{_mandir}/man1/xgnuboy.1*
-%doc COPYING README
+%license COPYING
+%doc README
%doc docs/{CHANGES,CONFIG,CREDITS,FAQ,LIBERTY,README.old,WHATSNEW}
%doc etc/*.rc
%files fb
-%defattr(-, root, root)
%{_bindir}/fbgnuboy
-%doc COPYING README
+%license COPYING
+%doc README
%doc docs/{CHANGES,CONFIG,CREDITS,FAQ,LIBERTY,README.old,WHATSNEW}
%doc etc/*.rc
-%ifarch %{ix86} x86_64
-%files svgalib
-%defattr(-, root, root)
-%{_bindir}/sgnuboy
-%{_mandir}/man1/sgnuboy.1*
-%doc COPYING README
-%doc docs/{CHANGES,CONFIG,CREDITS,FAQ,LIBERTY,README.old,WHATSNEW}
-%doc etc/*.rc
-%endif
-
%changelog
+* Tue Mar 24 2020 Andrea Musuruane <musuruan(a)gmail.com> - 1.0.3-25
+- Dropped svgalib dependency (BZ #5567)
+- Clean up spec file
+
* Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
1.0.3-24
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild