rpms/ndiswrapper-kmod/F-15 ndiswrapper-kmod.spec,1.74,1.75
by Nicolas Chauvet
Author: kwizart
Update of /cvs/free/rpms/ndiswrapper-kmod/F-15
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27702
Modified Files:
ndiswrapper-kmod.spec
Log Message:
* Wed Mar 21 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1.57-1.11
- rebuild for updated kernel
Index: ndiswrapper-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/ndiswrapper-kmod/F-15/ndiswrapper-kmod.spec,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- ndiswrapper-kmod.spec 18 Mar 2012 11:06:21 -0000 1.74
+++ ndiswrapper-kmod.spec 20 Mar 2012 23:27:51 -0000 1.75
@@ -10,7 +10,7 @@
Summary: Ndiswrapper kernel module
Name: ndiswrapper-kmod
Version: 1.57
-Release: 1%{?_rc}%{?dist}.10
+Release: 1%{?_rc}%{?dist}.11
License: GPLv2
Group: System Environment/Kernel
URL: http://ndiswrapper.sourceforge.net
@@ -75,6 +75,9 @@
%changelog
+* Wed Mar 21 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1.57-1.11
+- rebuild for updated kernel
+
* Sun Mar 18 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 1.57-1.10
- rebuild for updated kernel
12 years, 8 months
rpms/akmods/F-17 akmods,1.10,1.11 akmods.spec,1.13,1.14
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/akmods/F-17
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26912
Modified Files:
akmods akmods.spec
Log Message:
* Tue Mar 20 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.4.0-3
- Add additional error output if the needed kernel development files are not
installed. (Fixes #561)
Index: akmods
===================================================================
RCS file: /cvs/free/rpms/akmods/F-17/akmods,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- akmods 5 Mar 2012 15:27:59 -0000 1.10
+++ akmods 20 Mar 2012 18:28:22 -0000 1.11
@@ -427,6 +427,7 @@
elif [[ ! -r /usr/src/kernels/"${1}"/Makefile ]] && \
[[ ! -r /usr/lib/modules/${1}/build/Makefile ]]; then
echo "Could not find files needed to compile modules for ${1}"
+ echo "Are the development files for kernel ${1} or the appropriate kernel-devel package installed?"
exit 1
elif [[ -r /usr/src/kernels/"${1}"/Makefile ]] && \
[[ ! -r /boot/vmlinuz-"${1}" ]]; then
Index: akmods.spec
===================================================================
RCS file: /cvs/free/rpms/akmods/F-17/akmods.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- akmods.spec 5 Mar 2012 15:27:59 -0000 1.13
+++ akmods.spec 20 Mar 2012 18:28:22 -0000 1.14
@@ -1,6 +1,6 @@
Name: akmods
Version: 0.4.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Automatic kmods build and install tool
Group: System Environment/Kernel
@@ -100,6 +100,10 @@
%changelog
+* Tue Mar 20 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.4.0-3
+- Add additional error output if the needed kernel development files are not
+ installed. (Fixes #561)
+
* Mon Mar 05 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.4.0-2
- Remove remaining references to previous Fedora releases
- Remove legacy SysV init script from CVS.
12 years, 8 months
rpms/akmods/devel akmods,1.10,1.11 akmods.spec,1.13,1.14
by Richard Shaw
Author: hobbes1069
Update of /cvs/free/rpms/akmods/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv25195
Modified Files:
akmods akmods.spec
Log Message:
* Tue Mar 20 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.4.0-3
- Add additional error output if the needed kernel development files are not
installed. (Fixes #561)
Index: akmods
===================================================================
RCS file: /cvs/free/rpms/akmods/devel/akmods,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- akmods 5 Mar 2012 14:57:17 -0000 1.10
+++ akmods 20 Mar 2012 18:14:12 -0000 1.11
@@ -427,6 +427,7 @@
elif [[ ! -r /usr/src/kernels/"${1}"/Makefile ]] && \
[[ ! -r /usr/lib/modules/${1}/build/Makefile ]]; then
echo "Could not find files needed to compile modules for ${1}"
+ echo "Are the development files for kernel ${1} or the appropriate kernel-devel package installed?"
exit 1
elif [[ -r /usr/src/kernels/"${1}"/Makefile ]] && \
[[ ! -r /boot/vmlinuz-"${1}" ]]; then
Index: akmods.spec
===================================================================
RCS file: /cvs/free/rpms/akmods/devel/akmods.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- akmods.spec 5 Mar 2012 14:42:09 -0000 1.13
+++ akmods.spec 20 Mar 2012 18:14:12 -0000 1.14
@@ -1,6 +1,6 @@
Name: akmods
Version: 0.4.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Automatic kmods build and install tool
Group: System Environment/Kernel
@@ -100,6 +100,10 @@
%changelog
+* Tue Mar 20 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.4.0-3
+- Add additional error output if the needed kernel development files are not
+ installed. (Fixes #561)
+
* Mon Mar 05 2012 Richard Shaw <hobbes1069(a)gmail.com> - 0.4.0-2
- Remove remaining references to previous Fedora releases
- Remove legacy SysV init script from CVS.
12 years, 8 months
rpms/m2vmp2cut/devel m2vmp2cut.spec,1.6,1.7
by Göran Uddeborg
Author: goeran
Update of /cvs/free/rpms/m2vmp2cut/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv14999
Modified Files:
m2vmp2cut.spec
Log Message:
* Tue Mar 20 2012 Göran Uddeborg <goeran(a)uddeborg.se> 0.79-10
- There should still be a guard around the perl filtering.
Index: m2vmp2cut.spec
===================================================================
RCS file: /cvs/free/rpms/m2vmp2cut/devel/m2vmp2cut.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- m2vmp2cut.spec 18 Mar 2012 22:03:52 -0000 1.6
+++ m2vmp2cut.spec 20 Mar 2012 12:02:57 -0000 1.7
@@ -1,6 +1,6 @@
Name: m2vmp2cut
Version: 0.79
-Release: 9%{?dist}
+Release: 10%{?dist}
Summary: MPEG2 frame accurate cutter
Summary(sv): MPEG2 bildprecis redigerare
@@ -26,8 +26,10 @@
Requires: libmpeg2 >= 0.5.1
Requires: transcode
+%{?filter_setup:
%filter_from_requires /perl(m2vmp2cut)/d
%filter_setup
+}
%description
@@ -90,6 +92,9 @@
%{_mandir}/man1/%{name}.1.gz
%changelog
+* Tue Mar 20 2012 Göran Uddeborg <goeran(a)uddeborg.se> 0.79-10
+- There should still be a guard around the perl filtering.
+
* Sun Mar 18 2012 Göran Uddeborg <goeran(a)uddeborg.se> 0.79-9
- Bug 1580 is fixed; move to new style perl requirement filtering.
12 years, 8 months
rpms/m2vmp2cut/devel m2vmp2cut.spec,1.5,1.6
by Göran Uddeborg
Author: goeran
Update of /cvs/free/rpms/m2vmp2cut/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv10175
Modified Files:
m2vmp2cut.spec
Log Message:
* Sun Mar 18 2012 Göran Uddeborg <goeran(a)uddeborg.se> 0.79-9
- Bug 1580 is fixed; move to new style perl requirement filtering.
Index: m2vmp2cut.spec
===================================================================
RCS file: /cvs/free/rpms/m2vmp2cut/devel/m2vmp2cut.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- m2vmp2cut.spec 25 Jan 2012 14:51:31 -0000 1.5
+++ m2vmp2cut.spec 18 Mar 2012 22:03:52 -0000 1.6
@@ -1,6 +1,6 @@
Name: m2vmp2cut
Version: 0.79
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: MPEG2 frame accurate cutter
Summary(sv): MPEG2 bildprecis redigerare
@@ -26,13 +26,8 @@
Requires: libmpeg2 >= 0.5.1
Requires: transcode
-# The current way to exclude requirements is like this:
-# % filter_from_requires /perl(m2vmp2cut)/d
-# % filter_setup
-
-# However, because of bug http://bugzilla.rpmfusion.org/show_bug.cgi?id=1580
-# that doesn't work. Until fixed, I'll revert to the old style of exclusion
-# at the end of the prep section.
+%filter_from_requires /perl(m2vmp2cut)/d
+%filter_setup
%description
@@ -70,16 +65,6 @@
# integrated in a future version of m2vmp2cut
%patch4 -p1
-# Old style removal of perl requirements.
-cat << \EOF > %name-req
-#!/bin/sh
-%__perl_requires $* |\
-sed -e '/perl(%name)/d'
-EOF
-
-%global __perl_requires %_builddir/%name-%version-dev/%name-req
-chmod +x %__perl_requires
-
%build
unset CCACHE_UMASK
@@ -105,6 +90,9 @@
%{_mandir}/man1/%{name}.1.gz
%changelog
+* Sun Mar 18 2012 Göran Uddeborg <goeran(a)uddeborg.se> 0.79-9
+- Bug 1580 is fixed; move to new style perl requirement filtering.
+
* Wed Jan 25 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.79-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 8 months
rpms/osmose/F-17 osmose-0.9.96-gcc47.patch, NONE, 1.1 osmose.spec, 1.8, 1.9
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/osmose/F-17
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28437
Modified Files:
osmose.spec
Added Files:
osmose-0.9.96-gcc47.patch
Log Message:
* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> - 0.9.96-4
- Fixed FTBFS for F17+
osmose-0.9.96-gcc47.patch:
Joystick.h | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE osmose-0.9.96-gcc47.patch ---
diff -durN Osmose-0-9-96-QT/Joystick.h Osmose-0-9-96-QT-fixed/Joystick.h
--- Osmose-0-9-96-QT/Joystick.h 2011-06-06 09:06:20.000000000 +0200
+++ Osmose-0-9-96-QT-fixed/Joystick.h 2012-03-18 16:21:32.209524288 +0100
@@ -35,6 +35,7 @@
#ifndef JOYSTICK_H
#define JOYSTICK_H
+#include <unistd.h>
#include <iostream>
#include <fcntl.h>
#include <errno.h>
Index: osmose.spec
===================================================================
RCS file: /cvs/free/rpms/osmose/F-17/osmose.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- osmose.spec 2 Mar 2012 15:00:03 -0000 1.8
+++ osmose.spec 18 Mar 2012 15:32:36 -0000 1.9
@@ -3,7 +3,7 @@
Name: osmose
Version: 0.9.96
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A Sega Master System / Game Gear emulator
Group: Applications/Emulators
@@ -13,6 +13,8 @@
Source1: %{name}.desktop
# Use system minizip
Patch0: %{name}-0.9.96-usesystemlibraries.patch
+# Fix building with gcc 4.7
+Patch1: %{name}-0.9.96-gcc47.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel
@@ -27,6 +29,7 @@
%prep
%setup -q -n %{pkgname}-%{pkgversion}-QT
%patch0 -p1
+%patch1 -p1
# Fix end-of-line encoding
sed -i 's/\r//' *.{cpp,h} cpu/*.{cpp,h}
@@ -69,6 +72,9 @@
%changelog
+* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> - 0.9.96-4
+- Fixed FTBFS for F17+
+
* Fri Mar 02 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.9.96-3
- Rebuilt for c++ ABI breakage
12 years, 8 months
rpms/osmose/devel osmose-0.9.96-gcc47.patch, NONE, 1.1 osmose.spec, 1.8, 1.9
by Andrea Musuruane
Author: musuruan
Update of /cvs/free/rpms/osmose/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv28284
Modified Files:
osmose.spec
Added Files:
osmose-0.9.96-gcc47.patch
Log Message:
* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> - 0.9.96-4
- Fixed FTBFS for F17+
osmose-0.9.96-gcc47.patch:
Joystick.h | 1 +
1 file changed, 1 insertion(+)
--- NEW FILE osmose-0.9.96-gcc47.patch ---
diff -durN Osmose-0-9-96-QT/Joystick.h Osmose-0-9-96-QT-fixed/Joystick.h
--- Osmose-0-9-96-QT/Joystick.h 2011-06-06 09:06:20.000000000 +0200
+++ Osmose-0-9-96-QT-fixed/Joystick.h 2012-03-18 16:21:32.209524288 +0100
@@ -35,6 +35,7 @@
#ifndef JOYSTICK_H
#define JOYSTICK_H
+#include <unistd.h>
#include <iostream>
#include <fcntl.h>
#include <errno.h>
Index: osmose.spec
===================================================================
RCS file: /cvs/free/rpms/osmose/devel/osmose.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- osmose.spec 2 Mar 2012 22:14:12 -0000 1.8
+++ osmose.spec 18 Mar 2012 15:31:59 -0000 1.9
@@ -3,7 +3,7 @@
Name: osmose
Version: 0.9.96
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A Sega Master System / Game Gear emulator
Group: Applications/Emulators
@@ -13,6 +13,8 @@
Source1: %{name}.desktop
# Use system minizip
Patch0: %{name}-0.9.96-usesystemlibraries.patch
+# Fix building with gcc 4.7
+Patch1: %{name}-0.9.96-gcc47.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: qt4-devel
@@ -27,6 +29,7 @@
%prep
%setup -q -n %{pkgname}-%{pkgversion}-QT
%patch0 -p1
+%patch1 -p1
# Fix end-of-line encoding
sed -i 's/\r//' *.{cpp,h} cpu/*.{cpp,h}
@@ -69,6 +72,9 @@
%changelog
+* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> - 0.9.96-4
+- Fixed FTBFS for F17+
+
* Fri Mar 02 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 0.9.96-3
- Rebuilt for c++ ABI breakage
12 years, 8 months
rpms/gens/F-16 gens-2.15.5-as-needed.patch, NONE, 1.1 gens-2.15.5-ovflfix.patch, NONE, 1.1 gens-2.15.5-rpmlint.patch, NONE, 1.1 gens-2.15.5-spelling.patch, NONE, 1.1 gens-2.15.5-strings.patch, NONE, 1.1 gens.spec, 1.6, 1.7
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/gens/F-16
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18571
Modified Files:
gens.spec
Added Files:
gens-2.15.5-as-needed.patch gens-2.15.5-ovflfix.patch
gens-2.15.5-rpmlint.patch gens-2.15.5-spelling.patch
gens-2.15.5-strings.patch
Log Message:
* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-5
- added patches from various distributions
- updated icon cache scriptlet according to packaging guidelines
- fixed summary not to repeat package name
- fixed spelling in summary
gens-2.15.5-as-needed.patch:
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE gens-2.15.5-as-needed.patch ---
--- configure.old 2009-02-04 14:41:40.000000000 +0100
+++ configure 2009-02-04 14:48:52.000000000 +0100
@@ -4929,7 +4929,7 @@
{ echo "$as_me:$LINENO: result: $with_opengl" >&5
echo "${ECHO_T}$with_opengl" >&6; }
if test x$with_opengl = xyes; then
- LDFLAGS="$LDFLAGS -lGL"
+ LIBS="$LIBS -lGL"
fi
fi
gens-2.15.5-ovflfix.patch:
cpu_68k.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE gens-2.15.5-ovflfix.patch ---
--- src/gens/gens_core/cpu/68k/cpu_68k.c.old 2010-10-28 09:34:52.000000000 +0200
+++ src/gens/gens_core/cpu/68k/cpu_68k.c 2010-10-28 09:35:53.000000000 +0200
@@ -239,8 +239,8 @@
memset (Ram_Word_2M, 0, 256 * 1024);
memset (Ram_Word_1M, 0, 256 * 1024);
- memset (COMM.Command, 0, 8 * 5);
- memset (COMM.Status, 0, 8 * 5);
+ memset (COMM.Command, 0, sizeof (COMM.Command));
+ memset (COMM.Status, 0, sizeof (COMM.Status));
LED_Status = S68K_State = S68K_Mem_WP = S68K_Mem_PM = Ram_Word_State = 0;
COMM.Flag = Init_Timer_INT3 = Timer_INT3 = Int_Mask_S68K = 0;
gens-2.15.5-rpmlint.patch:
emulator/ui_proxy.c | 3 ++-
sdllayer/g_sdlsound.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
--- NEW FILE gens-2.15.5-rpmlint.patch ---
--- src/gens/emulator/ui_proxy.c
+++ src/gens/emulator/ui_proxy.c
@@ -183,7 +183,8 @@
// if( (Old_Rend==NORMAL && Num==DOUBLE)||(Old_Rend==DOUBLE && Num==NORMAL) ||Opengl)
// this doesn't cover hq2x etc. properly. Let's just always refresh.
Refresh_video();
-
+
+ return 0;
}
int
--- src/gens/sdllayer/g_sdlsound.c
+++ src/gens/sdllayer/g_sdlsound.c
@@ -178,7 +178,7 @@
lpDSBuffer->GetCurrentPosition(&R, NULL);
return(R / (Seg_Lenght * Bytes_Per_Unit));
*/
-
+ return 0;
}
int Lots_In_Audio_Buffer(void)
gens-2.15.5-spelling.patch:
save.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE gens-2.15.5-spelling.patch ---
--- gens-2.15.5.orig/src/gens/util/file/save.c
+++ gens-2.15.5/src/gens/util/file/save.c
@@ -1943,11 +1943,11 @@ Save_Config (char *File_Name)
sprintf (Str_Tmp, "%d", Country);
WritePrivateProfileString ("CPU", "Country", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[0]);
- WritePrivateProfileString ("CPU", "Prefered Country 1", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 1", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[1]);
- WritePrivateProfileString ("CPU", "Prefered Country 2", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 2", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[2]);
- WritePrivateProfileString ("CPU", "Prefered Country 3", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 3", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", SegaCD_Accurate);
WritePrivateProfileString ("CPU",
@@ -2425,11 +2425,11 @@ Load_Config (char *File_Name, void *Game
Country = GetPrivateProfileInt ("CPU", "Country", -1, Conf_File);
Country_Order[0] =
- GetPrivateProfileInt ("CPU", "Prefered Country 1", 0, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 1", 0, Conf_File);
Country_Order[1] =
- GetPrivateProfileInt ("CPU", "Prefered Country 2", 1, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 2", 1, Conf_File);
Country_Order[2] =
- GetPrivateProfileInt ("CPU", "Prefered Country 3", 2, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 3", 2, Conf_File);
SegaCD_Accurate =
GetPrivateProfileInt ("CPU",
gens-2.15.5-strings.patch:
g_main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE gens-2.15.5-strings.patch ---
diff -urN gens-2.15.5/src/gens/emulator/g_main.c gens-2.15.5-patched/src/gens/emulator/g_main.c
--- gens-2.15.5/src/gens/emulator/g_main.c 2008-09-02 08:17:54.000000000 +1100
+++ gens-2.15.5-patched/src/gens/emulator/g_main.c 2011-07-19 19:52:27.783127529 +1100
@@ -776,24 +776,24 @@
{
if (SDL_InitSubSystem (SDL_INIT_TIMER) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
/* Take it back down now that we know it works. */
SDL_QuitSubSystem (SDL_INIT_VIDEO);
if (SDL_InitSubSystem (SDL_INIT_JOYSTICK) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
if (SDL_InitSubSystem (SDL_INIT_CDROM) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
Index: gens.spec
===================================================================
RCS file: /cvs/nonfree/rpms/gens/F-16/gens.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- gens.spec 12 Nov 2010 09:21:43 -0000 1.6
+++ gens.spec 18 Mar 2012 14:13:54 -0000 1.7
@@ -1,17 +1,31 @@
-Summary: Gens is a win32/unix Sega Genesis / Sega CD / Sega 32X emulator
+Summary: A Sega Genesis / Sega CD / Sega 32X emulator
Name: gens
Version: 2.15.5
-Release: 3%{?dist}
+Release: 5%{?dist}
License: GPLv2
Group: Applications/Emulators
URL: http://www.gens.me/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: gens.desktop
+# Gentoo
+# https://bugs.gentoo.org/show_bug.cgi?id=153593
Patch0: gens-2.15.2-romsdir.patch
-Patch1: gens-2.15.2-execstack.patch
+# https://bugs.gentoo.org/show_bug.cgi?id=340665
+# https://sourceforge.net/tracker/?func=detail&aid=3097146&group_id=73619&a...
+Patch1: gens-2.15.5-ovflfix.patch
+# https://bugs.gentoo.org/show_bug.cgi?id=247350
+Patch2: gens-2.15.5-as-needed.patch
+# Andrea Musuruane
+Patch3: gens-2.15.2-execstack.patch
+# GetDeb
+# https://bugs.launchpad.net/getdeb.net/+bug/561819
+Patch4: gens-2.15.5-spelling.patch
+# Mandriva
+Patch5: gens-2.15.5-strings.patch
+# OpenSUSE
+Patch6: gens-2.15.5-rpmlint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This is to build only for ix86 on plague
-#ExclusiveArch: %{ix86}
ExclusiveArch: i686
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: SDL-devel >= 1.1.3
@@ -22,13 +36,18 @@
Requires: hicolor-icon-theme
%description
-Gens is a GPL emulator for the genesis, ported from win32
-to BeOS and linux. It was the fastest on win32, and is pretty fast on linux.
+Gens is a GPL emulator for the genesis, ported from win32 to BeOS and Linux.
+It was the fastest on win32, and is pretty fast on Linux.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+%patch1 -p0
+%patch2 -p0
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p0
# Fix line encoding
sed -i 's/\r//' gens.txt
@@ -64,17 +83,17 @@
rm -rf %{buildroot}
%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root)
%{_bindir}/gens
@@ -85,6 +104,15 @@
%doc AUTHORS BUGS COPYING gens.txt history.txt README
%changelog
+* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-5
+- added patches from various distributions
+- updated icon cache scriptlet according to packaging guidelines
+- fixed summary not to repeat package name
+- fixed spelling in summary
+
+* Thu Feb 09 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.15.5-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
* Thu Nov 11 2010 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-3
- updated upstream URL
- fixed Source0 according to packaging guidelines
12 years, 8 months
rpms/gens/F-17 gens-2.15.5-as-needed.patch, NONE, 1.1 gens-2.15.5-ovflfix.patch, NONE, 1.1 gens-2.15.5-rpmlint.patch, NONE, 1.1 gens-2.15.5-spelling.patch, NONE, 1.1 gens-2.15.5-strings.patch, NONE, 1.1 gens.spec, 1.7, 1.8
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/gens/F-17
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18289
Modified Files:
gens.spec
Added Files:
gens-2.15.5-as-needed.patch gens-2.15.5-ovflfix.patch
gens-2.15.5-rpmlint.patch gens-2.15.5-spelling.patch
gens-2.15.5-strings.patch
Log Message:
* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-5
- added patches from various distributions
- updated icon cache scriptlet according to packaging guidelines
- fixed summary not to repeat package name
- fixed spelling in summary
gens-2.15.5-as-needed.patch:
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE gens-2.15.5-as-needed.patch ---
--- configure.old 2009-02-04 14:41:40.000000000 +0100
+++ configure 2009-02-04 14:48:52.000000000 +0100
@@ -4929,7 +4929,7 @@
{ echo "$as_me:$LINENO: result: $with_opengl" >&5
echo "${ECHO_T}$with_opengl" >&6; }
if test x$with_opengl = xyes; then
- LDFLAGS="$LDFLAGS -lGL"
+ LIBS="$LIBS -lGL"
fi
fi
gens-2.15.5-ovflfix.patch:
cpu_68k.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE gens-2.15.5-ovflfix.patch ---
--- src/gens/gens_core/cpu/68k/cpu_68k.c.old 2010-10-28 09:34:52.000000000 +0200
+++ src/gens/gens_core/cpu/68k/cpu_68k.c 2010-10-28 09:35:53.000000000 +0200
@@ -239,8 +239,8 @@
memset (Ram_Word_2M, 0, 256 * 1024);
memset (Ram_Word_1M, 0, 256 * 1024);
- memset (COMM.Command, 0, 8 * 5);
- memset (COMM.Status, 0, 8 * 5);
+ memset (COMM.Command, 0, sizeof (COMM.Command));
+ memset (COMM.Status, 0, sizeof (COMM.Status));
LED_Status = S68K_State = S68K_Mem_WP = S68K_Mem_PM = Ram_Word_State = 0;
COMM.Flag = Init_Timer_INT3 = Timer_INT3 = Int_Mask_S68K = 0;
gens-2.15.5-rpmlint.patch:
emulator/ui_proxy.c | 3 ++-
sdllayer/g_sdlsound.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
--- NEW FILE gens-2.15.5-rpmlint.patch ---
--- src/gens/emulator/ui_proxy.c
+++ src/gens/emulator/ui_proxy.c
@@ -183,7 +183,8 @@
// if( (Old_Rend==NORMAL && Num==DOUBLE)||(Old_Rend==DOUBLE && Num==NORMAL) ||Opengl)
// this doesn't cover hq2x etc. properly. Let's just always refresh.
Refresh_video();
-
+
+ return 0;
}
int
--- src/gens/sdllayer/g_sdlsound.c
+++ src/gens/sdllayer/g_sdlsound.c
@@ -178,7 +178,7 @@
lpDSBuffer->GetCurrentPosition(&R, NULL);
return(R / (Seg_Lenght * Bytes_Per_Unit));
*/
-
+ return 0;
}
int Lots_In_Audio_Buffer(void)
gens-2.15.5-spelling.patch:
save.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE gens-2.15.5-spelling.patch ---
--- gens-2.15.5.orig/src/gens/util/file/save.c
+++ gens-2.15.5/src/gens/util/file/save.c
@@ -1943,11 +1943,11 @@ Save_Config (char *File_Name)
sprintf (Str_Tmp, "%d", Country);
WritePrivateProfileString ("CPU", "Country", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[0]);
- WritePrivateProfileString ("CPU", "Prefered Country 1", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 1", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[1]);
- WritePrivateProfileString ("CPU", "Prefered Country 2", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 2", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[2]);
- WritePrivateProfileString ("CPU", "Prefered Country 3", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 3", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", SegaCD_Accurate);
WritePrivateProfileString ("CPU",
@@ -2425,11 +2425,11 @@ Load_Config (char *File_Name, void *Game
Country = GetPrivateProfileInt ("CPU", "Country", -1, Conf_File);
Country_Order[0] =
- GetPrivateProfileInt ("CPU", "Prefered Country 1", 0, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 1", 0, Conf_File);
Country_Order[1] =
- GetPrivateProfileInt ("CPU", "Prefered Country 2", 1, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 2", 1, Conf_File);
Country_Order[2] =
- GetPrivateProfileInt ("CPU", "Prefered Country 3", 2, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 3", 2, Conf_File);
SegaCD_Accurate =
GetPrivateProfileInt ("CPU",
gens-2.15.5-strings.patch:
g_main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE gens-2.15.5-strings.patch ---
diff -urN gens-2.15.5/src/gens/emulator/g_main.c gens-2.15.5-patched/src/gens/emulator/g_main.c
--- gens-2.15.5/src/gens/emulator/g_main.c 2008-09-02 08:17:54.000000000 +1100
+++ gens-2.15.5-patched/src/gens/emulator/g_main.c 2011-07-19 19:52:27.783127529 +1100
@@ -776,24 +776,24 @@
{
if (SDL_InitSubSystem (SDL_INIT_TIMER) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
/* Take it back down now that we know it works. */
SDL_QuitSubSystem (SDL_INIT_VIDEO);
if (SDL_InitSubSystem (SDL_INIT_JOYSTICK) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
if (SDL_InitSubSystem (SDL_INIT_CDROM) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
Index: gens.spec
===================================================================
RCS file: /cvs/nonfree/rpms/gens/F-17/gens.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gens.spec 8 Feb 2012 23:41:37 -0000 1.7
+++ gens.spec 18 Mar 2012 14:13:00 -0000 1.8
@@ -1,17 +1,31 @@
-Summary: Gens is a win32/unix Sega Genesis / Sega CD / Sega 32X emulator
+Summary: A Sega Genesis / Sega CD / Sega 32X emulator
Name: gens
Version: 2.15.5
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2
Group: Applications/Emulators
URL: http://www.gens.me/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: gens.desktop
+# Gentoo
+# https://bugs.gentoo.org/show_bug.cgi?id=153593
Patch0: gens-2.15.2-romsdir.patch
-Patch1: gens-2.15.2-execstack.patch
+# https://bugs.gentoo.org/show_bug.cgi?id=340665
+# https://sourceforge.net/tracker/?func=detail&aid=3097146&group_id=73619&a...
+Patch1: gens-2.15.5-ovflfix.patch
+# https://bugs.gentoo.org/show_bug.cgi?id=247350
+Patch2: gens-2.15.5-as-needed.patch
+# Andrea Musuruane
+Patch3: gens-2.15.2-execstack.patch
+# GetDeb
+# https://bugs.launchpad.net/getdeb.net/+bug/561819
+Patch4: gens-2.15.5-spelling.patch
+# Mandriva
+Patch5: gens-2.15.5-strings.patch
+# OpenSUSE
+Patch6: gens-2.15.5-rpmlint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This is to build only for ix86 on plague
-#ExclusiveArch: %{ix86}
ExclusiveArch: i686
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: SDL-devel >= 1.1.3
@@ -22,13 +36,18 @@
Requires: hicolor-icon-theme
%description
-Gens is a GPL emulator for the genesis, ported from win32
-to BeOS and linux. It was the fastest on win32, and is pretty fast on linux.
+Gens is a GPL emulator for the genesis, ported from win32 to BeOS and Linux.
+It was the fastest on win32, and is pretty fast on Linux.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+%patch1 -p0
+%patch2 -p0
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p0
# Fix line encoding
sed -i 's/\r//' gens.txt
@@ -64,17 +83,17 @@
rm -rf %{buildroot}
%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root)
%{_bindir}/gens
@@ -85,6 +104,12 @@
%doc AUTHORS BUGS COPYING gens.txt history.txt README
%changelog
+* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-5
+- added patches from various distributions
+- updated icon cache scriptlet according to packaging guidelines
+- fixed summary not to repeat package name
+- fixed spelling in summary
+
* Thu Feb 09 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.15.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 8 months
rpms/gens/devel gens-2.15.5-as-needed.patch, NONE, 1.1 gens-2.15.5-ovflfix.patch, NONE, 1.1 gens-2.15.5-rpmlint.patch, NONE, 1.1 gens-2.15.5-spelling.patch, NONE, 1.1 gens-2.15.5-strings.patch, NONE, 1.1 gens.spec, 1.7, 1.8
by Andrea Musuruane
Author: musuruan
Update of /cvs/nonfree/rpms/gens/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv18081
Modified Files:
gens.spec
Added Files:
gens-2.15.5-as-needed.patch gens-2.15.5-ovflfix.patch
gens-2.15.5-rpmlint.patch gens-2.15.5-spelling.patch
gens-2.15.5-strings.patch
Log Message:
* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-5
- added patches from various distributions
- updated icon cache scriptlet according to packaging guidelines
- fixed summary not to repeat package name
- fixed spelling in summary
gens-2.15.5-as-needed.patch:
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE gens-2.15.5-as-needed.patch ---
--- configure.old 2009-02-04 14:41:40.000000000 +0100
+++ configure 2009-02-04 14:48:52.000000000 +0100
@@ -4929,7 +4929,7 @@
{ echo "$as_me:$LINENO: result: $with_opengl" >&5
echo "${ECHO_T}$with_opengl" >&6; }
if test x$with_opengl = xyes; then
- LDFLAGS="$LDFLAGS -lGL"
+ LIBS="$LIBS -lGL"
fi
fi
gens-2.15.5-ovflfix.patch:
cpu_68k.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- NEW FILE gens-2.15.5-ovflfix.patch ---
--- src/gens/gens_core/cpu/68k/cpu_68k.c.old 2010-10-28 09:34:52.000000000 +0200
+++ src/gens/gens_core/cpu/68k/cpu_68k.c 2010-10-28 09:35:53.000000000 +0200
@@ -239,8 +239,8 @@
memset (Ram_Word_2M, 0, 256 * 1024);
memset (Ram_Word_1M, 0, 256 * 1024);
- memset (COMM.Command, 0, 8 * 5);
- memset (COMM.Status, 0, 8 * 5);
+ memset (COMM.Command, 0, sizeof (COMM.Command));
+ memset (COMM.Status, 0, sizeof (COMM.Status));
LED_Status = S68K_State = S68K_Mem_WP = S68K_Mem_PM = Ram_Word_State = 0;
COMM.Flag = Init_Timer_INT3 = Timer_INT3 = Int_Mask_S68K = 0;
gens-2.15.5-rpmlint.patch:
emulator/ui_proxy.c | 3 ++-
sdllayer/g_sdlsound.c | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
--- NEW FILE gens-2.15.5-rpmlint.patch ---
--- src/gens/emulator/ui_proxy.c
+++ src/gens/emulator/ui_proxy.c
@@ -183,7 +183,8 @@
// if( (Old_Rend==NORMAL && Num==DOUBLE)||(Old_Rend==DOUBLE && Num==NORMAL) ||Opengl)
// this doesn't cover hq2x etc. properly. Let's just always refresh.
Refresh_video();
-
+
+ return 0;
}
int
--- src/gens/sdllayer/g_sdlsound.c
+++ src/gens/sdllayer/g_sdlsound.c
@@ -178,7 +178,7 @@
lpDSBuffer->GetCurrentPosition(&R, NULL);
return(R / (Seg_Lenght * Bytes_Per_Unit));
*/
-
+ return 0;
}
int Lots_In_Audio_Buffer(void)
gens-2.15.5-spelling.patch:
save.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
--- NEW FILE gens-2.15.5-spelling.patch ---
--- gens-2.15.5.orig/src/gens/util/file/save.c
+++ gens-2.15.5/src/gens/util/file/save.c
@@ -1943,11 +1943,11 @@ Save_Config (char *File_Name)
sprintf (Str_Tmp, "%d", Country);
WritePrivateProfileString ("CPU", "Country", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[0]);
- WritePrivateProfileString ("CPU", "Prefered Country 1", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 1", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[1]);
- WritePrivateProfileString ("CPU", "Prefered Country 2", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 2", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", Country_Order[2]);
- WritePrivateProfileString ("CPU", "Prefered Country 3", Str_Tmp, Conf_File);
+ WritePrivateProfileString ("CPU", "Preferred Country 3", Str_Tmp, Conf_File);
sprintf (Str_Tmp, "%d", SegaCD_Accurate);
WritePrivateProfileString ("CPU",
@@ -2425,11 +2425,11 @@ Load_Config (char *File_Name, void *Game
Country = GetPrivateProfileInt ("CPU", "Country", -1, Conf_File);
Country_Order[0] =
- GetPrivateProfileInt ("CPU", "Prefered Country 1", 0, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 1", 0, Conf_File);
Country_Order[1] =
- GetPrivateProfileInt ("CPU", "Prefered Country 2", 1, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 2", 1, Conf_File);
Country_Order[2] =
- GetPrivateProfileInt ("CPU", "Prefered Country 3", 2, Conf_File);
+ GetPrivateProfileInt ("CPU", "Preferred Country 3", 2, Conf_File);
SegaCD_Accurate =
GetPrivateProfileInt ("CPU",
gens-2.15.5-strings.patch:
g_main.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
--- NEW FILE gens-2.15.5-strings.patch ---
diff -urN gens-2.15.5/src/gens/emulator/g_main.c gens-2.15.5-patched/src/gens/emulator/g_main.c
--- gens-2.15.5/src/gens/emulator/g_main.c 2008-09-02 08:17:54.000000000 +1100
+++ gens-2.15.5-patched/src/gens/emulator/g_main.c 2011-07-19 19:52:27.783127529 +1100
@@ -776,24 +776,24 @@
{
if (SDL_InitSubSystem (SDL_INIT_TIMER) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
if (SDL_InitSubSystem (SDL_INIT_VIDEO) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
/* Take it back down now that we know it works. */
SDL_QuitSubSystem (SDL_INIT_VIDEO);
if (SDL_InitSubSystem (SDL_INIT_JOYSTICK) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
if (SDL_InitSubSystem (SDL_INIT_CDROM) < 0)
{
- fprintf (stderr, SDL_GetError ());
+ fprintf (stderr, "%s", SDL_GetError ());
return 0;
}
Index: gens.spec
===================================================================
RCS file: /cvs/nonfree/rpms/gens/devel/gens.spec,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- gens.spec 8 Feb 2012 23:41:37 -0000 1.7
+++ gens.spec 18 Mar 2012 14:11:36 -0000 1.8
@@ -1,17 +1,31 @@
-Summary: Gens is a win32/unix Sega Genesis / Sega CD / Sega 32X emulator
+Summary: A Sega Genesis / Sega CD / Sega 32X emulator
Name: gens
Version: 2.15.5
-Release: 4%{?dist}
+Release: 5%{?dist}
License: GPLv2
Group: Applications/Emulators
URL: http://www.gens.me/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: gens.desktop
+# Gentoo
+# https://bugs.gentoo.org/show_bug.cgi?id=153593
Patch0: gens-2.15.2-romsdir.patch
-Patch1: gens-2.15.2-execstack.patch
+# https://bugs.gentoo.org/show_bug.cgi?id=340665
+# https://sourceforge.net/tracker/?func=detail&aid=3097146&group_id=73619&a...
+Patch1: gens-2.15.5-ovflfix.patch
+# https://bugs.gentoo.org/show_bug.cgi?id=247350
+Patch2: gens-2.15.5-as-needed.patch
+# Andrea Musuruane
+Patch3: gens-2.15.2-execstack.patch
+# GetDeb
+# https://bugs.launchpad.net/getdeb.net/+bug/561819
+Patch4: gens-2.15.5-spelling.patch
+# Mandriva
+Patch5: gens-2.15.5-strings.patch
+# OpenSUSE
+Patch6: gens-2.15.5-rpmlint.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# This is to build only for ix86 on plague
-#ExclusiveArch: %{ix86}
ExclusiveArch: i686
BuildRequires: gtk2-devel >= 2.4.0
BuildRequires: SDL-devel >= 1.1.3
@@ -22,13 +36,18 @@
Requires: hicolor-icon-theme
%description
-Gens is a GPL emulator for the genesis, ported from win32
-to BeOS and linux. It was the fastest on win32, and is pretty fast on linux.
+Gens is a GPL emulator for the genesis, ported from win32 to BeOS and Linux.
+It was the fastest on win32, and is pretty fast on Linux.
%prep
%setup -q
%patch0 -p1
-%patch1 -p1
+%patch1 -p0
+%patch2 -p0
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p0
# Fix line encoding
sed -i 's/\r//' gens.txt
@@ -64,17 +83,17 @@
rm -rf %{buildroot}
%post
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
-fi
+/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
-touch --no-create %{_datadir}/icons/hicolor
-if [ -x %{_bindir}/gtk-update-icon-cache ]; then
- %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+if [ $1 -eq 0 ] ; then
+ /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
+ /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
+%posttrans
+/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
%files
%defattr(-,root,root)
%{_bindir}/gens
@@ -85,6 +104,12 @@
%doc AUTHORS BUGS COPYING gens.txt history.txt README
%changelog
+* Sun Mar 18 2012 Andrea Musuruane <musuruan(a)gmail.com> 2.15.5-5
+- added patches from various distributions
+- updated icon cache scriptlet according to packaging guidelines
+- fixed summary not to repeat package name
+- fixed spelling in summary
+
* Thu Feb 09 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 2.15.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 8 months