rpms/blcr-kmod/F-12 blcr-kmod.spec,1.34,1.35
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/blcr-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv3250
Modified Files:
blcr-kmod.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.8.1-3.25
- rebuild for new kernel
Index: blcr-kmod.spec
===================================================================
RCS file: /cvs/free/rpms/blcr-kmod/F-12/blcr-kmod.spec,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- blcr-kmod.spec 20 Feb 2010 08:25:23 -0000 1.34
+++ blcr-kmod.spec 20 Feb 2010 11:17:44 -0000 1.35
@@ -7,7 +7,7 @@
Name: blcr-kmod
Version: 0.8.1
-Release: 3%{?dist}.24
+Release: 3%{?dist}.25
Summary: Kernel module (kmod) for Berkeley Lab Checkpoint/Restart for Linux
%define distname blcr-%{version}
@@ -83,6 +83,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.8.1-3.25
+- rebuild for new kernel
+
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 0.8.1-3.24
- rebuild for new kernel
14 years, 9 months
rpms/buildsys-build-rpmfusion/F-12 buildsys-build-rpmfusion-kerneldevpkgs-current, 1.31, 1.32 buildsys-build-rpmfusion.spec, 1.39, 1.40
by Thorsten Leemhuis
Author: thl
Update of /cvs/free/rpms/buildsys-build-rpmfusion/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv2351
Modified Files:
buildsys-build-rpmfusion-kerneldevpkgs-current
buildsys-build-rpmfusion.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 10:12-13
- rebuild for kernel 2.6.32.8-58.fc12
Index: buildsys-build-rpmfusion-kerneldevpkgs-current
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-12/buildsys-build-rpmfusion-kerneldevpkgs-current,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- buildsys-build-rpmfusion-kerneldevpkgs-current 20 Feb 2010 08:13:03 -0000 1.31
+++ buildsys-build-rpmfusion-kerneldevpkgs-current 20 Feb 2010 11:07:46 -0000 1.32
@@ -1,3 +1,3 @@
-2.6.31.12-174.2.22.fc12
-2.6.31.12-174.2.22.fc12smp
-2.6.31.12-174.2.22.fc12PAE
+2.6.32.8-58.fc12
+2.6.32.8-58.fc12smp
+2.6.32.8-58.fc12PAE
Index: buildsys-build-rpmfusion.spec
===================================================================
RCS file: /cvs/free/rpms/buildsys-build-rpmfusion/F-12/buildsys-build-rpmfusion.spec,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- buildsys-build-rpmfusion.spec 20 Feb 2010 08:13:03 -0000 1.39
+++ buildsys-build-rpmfusion.spec 20 Feb 2010 11:07:46 -0000 1.40
@@ -3,7 +3,7 @@
Name: buildsys-build-%{repo}
Epoch: 10
Version: 12
-Release: 12
+Release: 13
Summary: Tools and files used by the %{repo} buildsys
Group: Development/Tools
@@ -90,6 +90,9 @@
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 10:12-13
+- rebuild for kernel 2.6.32.8-58.fc12
+
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 10:12-12
- rebuild for kernel 2.6.31.12-174.2.22.fc12
14 years, 9 months
rpms/bsnes/F-11 .cvsignore, 1.21, 1.22 bsnes.spec, 1.26, 1.27 sources, 1.21, 1.22 bsnes-0.059-strip.patch, 1.1, NONE
by Julian Sikorski
Author: belegdol
Update of /cvs/free/rpms/bsnes/F-11
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26621
Modified Files:
.cvsignore bsnes.spec sources
Removed Files:
bsnes-0.059-strip.patch
Log Message:
* Sat Feb 20 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.060-1
- Updated to 0.060
- Use sed to prevent premature binaries stripping
- Included supergameboy, snesfilter, pixelshaders and optionally snesreader
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/bsnes/F-11/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- .cvsignore 7 Jan 2010 19:27:48 -0000 1.21
+++ .cvsignore 20 Feb 2010 09:32:24 -0000 1.22
@@ -1 +1 @@
-bsnes_v059.tar.bz2
+bsnes_v060.tar.bz2
Index: bsnes.spec
===================================================================
RCS file: /cvs/free/rpms/bsnes/F-11/bsnes.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- bsnes.spec 7 Jan 2010 20:15:33 -0000 1.26
+++ bsnes.spec 20 Feb 2010 09:32:24 -0000 1.27
@@ -1,4 +1,6 @@
-%global vernumber 059
+%bcond_with snesreader
+
+%global vernumber 060
Name: bsnes
Version: 0.%{vernumber}
@@ -12,7 +14,6 @@
#http://byuu.org/download.php?file=%{name}_v%{vernumber}.tar.bz2
Source0: %{name}_v%{vernumber}.tar.bz2
Source2: README.bsnes
-Patch0: bsnes-0.059-strip.patch
Patch1: libco.ppc-elf-2.diff
Patch2: bsnes-0.054-noppcelfppc64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -36,21 +37,72 @@
includes speed and game-specific hacks for compatibility. As a result, the
minimum system requirements for bsnes are quite high.
+%package pixelshaders
+Summary: Pixel shaders for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description pixelshaders
+This subpackage contains pixel shader effects for bsnes.
+
+%package snesfilter
+Summary: Visual filters for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description snesfilter
+This subpackage contains various video filters for bsnes.
+
+%if %{with snesreader}
+%package snesreader
+Summary: Compressed ROM images support for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description snesreader
+This subpackage enables support for various compressed images, like .zip, .7z,
+.rar and others.
+%endif
+
+%package supergameboy
+Summary: Super Game Boy emulation for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description supergameboy
+This package includes gambatte-based Super Game Boy emulation.
+
%prep
%setup -qc
-%patch0 -p1 -b .strip
pushd src/lib/libco
%patch1 -p1 -b .newppcelf
popd
%patch2 -p1 -b .noppcelfppc64
#fix permissions
-find src -type f \( -name \*.cpp -or -name \*.hpp -or -name \*.h -or -name \*.c \) -exec chmod 644 {} \;
-chmod 644 src/data/*.html
+find . -type f -not -name \*.sh -exec chmod 644 {} \;
+
+#fix end-of-line encoding
+sed -i 's/\r//' pixelshaders/HLSL/sepia.fx
+sed -i 's/\r//' pixelshaders/Pixellate/fragment
+sed -i 's/\r//' pixelshaders/Pixellate/vertex
#use system optflags
-sed -i "s#-O3#$RPM_OPT_FLAGS#" src/Makefile
+for sourcedir in snesfilter snesreader src supergameboy
+do
+ pushd $sourcedir
+ sed -i "s#-O3#$RPM_OPT_FLAGS#" Makefile
+ popd
+done
+
+#don't strip the binaries prematurely
+for sourcedir in snesfilter snesreader src supergameboy
+do
+ pushd $sourcedir
+ sed -i "s/link += -s/link +=/" Makefile
+ popd
+done
#install fedora-specific readme
install -pm 644 %{SOURCE2} README.Fedora
@@ -62,6 +114,17 @@
%build
+%if %{with snesreader}
+for sourcedir in snesfilter snesreader supergameboy
+%else
+for sourcedir in snesfilter supergameboy
+%endif
+do
+ pushd $sourcedir
+ make %{?_smp_mflags} moc=moc-qt4
+ popd
+done
+
pushd src
make %{?_smp_mflags} platform=x compiler=gcc moc=moc-qt4
@@ -73,12 +136,55 @@
desktop-file-install --vendor=rpmfusion \
--delete-original --dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/bsnes.desktop
+popd
+install -d $RPM_BUILD_ROOT%{_libdir}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+%if %{with snesreader}
+for sourcedir in snesfilter snesreader supergameboy
+%else
+for sourcedir in snesfilter supergameboy
+%endif
+do
+ pushd $sourcedir
+ install -pm 755 lib$sourcedir.so $RPM_BUILD_ROOT%{_libdir}/lib$sourcedir.so
+ popd
+done
+install -Dpm 644 pixelshaders/HDRTV/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HDRTV/vertex
+install -Dpm 644 pixelshaders/HDRTV/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HDRTV/fragment
+install -Dpm 644 pixelshaders/HLSL/sepia.fx $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HLSL/sepia.fx
+install -Dpm 644 pixelshaders/Curvature/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Curvature/fragment
+install -Dpm 644 pixelshaders/Scale2x/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Scale2x/vertex
+install -Dpm 644 pixelshaders/Scale2x/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Scale2x/fragment
+install -Dpm 644 pixelshaders/Pixellate/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Pixellate/vertex
+install -Dpm 644 pixelshaders/Pixellate/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Pixellate/fragment
+install -Dpm 644 pixelshaders/HQ2x/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HQ2x/vertex
+install -Dpm 644 pixelshaders/HQ2x/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HQ2x/fragment
%clean
rm -rf $RPM_BUILD_ROOT
+%post snesfilter -p /sbin/ldconfig
+
+
+%postun snesfilter -p /sbin/ldconfig
+
+
+%if %{with snesreader}
+%post snesreader -p /sbin/ldconfig
+
+
+%postun snesreader -p /sbin/ldconfig
+%endif
+
+
+%post supergameboy -p /sbin/ldconfig
+
+
+%postun supergameboy -p /sbin/ldconfig
+
+
%files
%defattr(-,root,root,-)
%doc README.Fedora src/data/*.html
@@ -86,8 +192,31 @@
%{_datadir}/pixmaps/bsnes.png
%{_datadir}/applications/rpmfusion-bsnes.desktop
+%files pixelshaders
+%defattr(-,root,root,-)
+%{_datadir}/%{name}
+
+%files snesfilter
+%defattr(-,root,root,-)
+%{_libdir}/libsnesfilter.so
+
+%if %{with snesreader}
+%files snesreader
+%defattr(-,root,root,-)
+%{_libdir}/libsnesreader.so
+%endif
+
+%files supergameboy
+%defattr(-,root,root,-)
+%{_libdir}/libsupergameboy.so
+
%changelog
+* Sat Feb 20 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.060-1
+- Updated to 0.060
+- Use sed to prevent premature binaries stripping
+- Included supergameboy, snesfilter, pixelshaders and optionally snesreader
+
* Thu Jan 07 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.059-1
- Updated to 0.059
- Updated the strip patch
Index: sources
===================================================================
RCS file: /cvs/free/rpms/bsnes/F-11/sources,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- sources 7 Jan 2010 19:27:48 -0000 1.21
+++ sources 20 Feb 2010 09:32:24 -0000 1.22
@@ -1 +1 @@
-c34785e6c57dfb7b223f453780b3fde6 bsnes_v059.tar.bz2
+db779d53d6ac21a5b414fbf3b93dde47 bsnes_v060.tar.bz2
--- bsnes-0.059-strip.patch DELETED ---
14 years, 9 months
rpms/bsnes/F-12 .cvsignore, 1.21, 1.22 bsnes.spec, 1.27, 1.28 sources, 1.21, 1.22 bsnes-0.059-strip.patch, 1.1, NONE
by Julian Sikorski
Author: belegdol
Update of /cvs/free/rpms/bsnes/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26519
Modified Files:
.cvsignore bsnes.spec sources
Removed Files:
bsnes-0.059-strip.patch
Log Message:
* Sat Feb 20 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.060-1
- Updated to 0.060
- Use sed to prevent premature binaries stripping
- Included supergameboy, snesfilter, pixelshaders and optionally snesreader
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/bsnes/F-12/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- .cvsignore 7 Jan 2010 19:27:33 -0000 1.21
+++ .cvsignore 20 Feb 2010 09:32:10 -0000 1.22
@@ -1 +1 @@
-bsnes_v059.tar.bz2
+bsnes_v060.tar.bz2
Index: bsnes.spec
===================================================================
RCS file: /cvs/free/rpms/bsnes/F-12/bsnes.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- bsnes.spec 7 Jan 2010 19:27:33 -0000 1.27
+++ bsnes.spec 20 Feb 2010 09:32:10 -0000 1.28
@@ -1,4 +1,6 @@
-%global vernumber 059
+%bcond_with snesreader
+
+%global vernumber 060
Name: bsnes
Version: 0.%{vernumber}
@@ -12,7 +14,6 @@
#http://byuu.org/download.php?file=%{name}_v%{vernumber}.tar.bz2
Source0: %{name}_v%{vernumber}.tar.bz2
Source2: README.bsnes
-Patch0: bsnes-0.059-strip.patch
Patch1: libco.ppc-elf-2.diff
Patch2: bsnes-0.054-noppcelfppc64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -36,27 +37,94 @@
includes speed and game-specific hacks for compatibility. As a result, the
minimum system requirements for bsnes are quite high.
+%package pixelshaders
+Summary: Pixel shaders for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description pixelshaders
+This subpackage contains pixel shader effects for bsnes.
+
+%package snesfilter
+Summary: Visual filters for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description snesfilter
+This subpackage contains various video filters for bsnes.
+
+%if %{with snesreader}
+%package snesreader
+Summary: Compressed ROM images support for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description snesreader
+This subpackage enables support for various compressed images, like .zip, .7z,
+.rar and others.
+%endif
+
+%package supergameboy
+Summary: Super Game Boy emulation for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description supergameboy
+This package includes gambatte-based Super Game Boy emulation.
+
%prep
%setup -qc
-%patch0 -p1 -b .strip
pushd src/lib/libco
%patch1 -p1 -b .newppcelf
popd
%patch2 -p1 -b .noppcelfppc64
#fix permissions
-find src -type f \( -name \*.cpp -or -name \*.hpp -or -name \*.h -or -name \*.c \) -exec chmod 644 {} \;
-chmod 644 src/data/*.html
+find . -type f -not -name \*.sh -exec chmod 644 {} \;
+
+#fix end-of-line encoding
+sed -i 's/\r//' pixelshaders/HLSL/sepia.fx
+sed -i 's/\r//' pixelshaders/Pixellate/fragment
+sed -i 's/\r//' pixelshaders/Pixellate/vertex
#use system optflags
-sed -i "s#-O3#$RPM_OPT_FLAGS#" src/Makefile
+for sourcedir in snesfilter snesreader src supergameboy
+do
+ pushd $sourcedir
+ sed -i "s#-O3#$RPM_OPT_FLAGS#" Makefile
+ popd
+done
+
+#don't strip the binaries prematurely
+for sourcedir in snesfilter snesreader src supergameboy
+do
+ pushd $sourcedir
+ sed -i "s/link += -s/link +=/" Makefile
+ popd
+done
#install fedora-specific readme
install -pm 644 %{SOURCE2} README.Fedora
+#pulseaudio on fedora 11 is too old
+%if 0%{?fedora} < 12
+sed -i "s(a)audio.pulseaudio @@" src/Makefile
+%endif
+
%build
+%if %{with snesreader}
+for sourcedir in snesfilter snesreader supergameboy
+%else
+for sourcedir in snesfilter supergameboy
+%endif
+do
+ pushd $sourcedir
+ make %{?_smp_mflags} moc=moc-qt4
+ popd
+done
+
pushd src
make %{?_smp_mflags} platform=x compiler=gcc moc=moc-qt4
@@ -68,12 +136,55 @@
desktop-file-install --vendor=rpmfusion \
--delete-original --dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/bsnes.desktop
+popd
+install -d $RPM_BUILD_ROOT%{_libdir}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+%if %{with snesreader}
+for sourcedir in snesfilter snesreader supergameboy
+%else
+for sourcedir in snesfilter supergameboy
+%endif
+do
+ pushd $sourcedir
+ install -pm 755 lib$sourcedir.so $RPM_BUILD_ROOT%{_libdir}/lib$sourcedir.so
+ popd
+done
+install -Dpm 644 pixelshaders/HDRTV/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HDRTV/vertex
+install -Dpm 644 pixelshaders/HDRTV/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HDRTV/fragment
+install -Dpm 644 pixelshaders/HLSL/sepia.fx $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HLSL/sepia.fx
+install -Dpm 644 pixelshaders/Curvature/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Curvature/fragment
+install -Dpm 644 pixelshaders/Scale2x/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Scale2x/vertex
+install -Dpm 644 pixelshaders/Scale2x/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Scale2x/fragment
+install -Dpm 644 pixelshaders/Pixellate/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Pixellate/vertex
+install -Dpm 644 pixelshaders/Pixellate/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Pixellate/fragment
+install -Dpm 644 pixelshaders/HQ2x/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HQ2x/vertex
+install -Dpm 644 pixelshaders/HQ2x/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HQ2x/fragment
%clean
rm -rf $RPM_BUILD_ROOT
+%post snesfilter -p /sbin/ldconfig
+
+
+%postun snesfilter -p /sbin/ldconfig
+
+
+%if %{with snesreader}
+%post snesreader -p /sbin/ldconfig
+
+
+%postun snesreader -p /sbin/ldconfig
+%endif
+
+
+%post supergameboy -p /sbin/ldconfig
+
+
+%postun supergameboy -p /sbin/ldconfig
+
+
%files
%defattr(-,root,root,-)
%doc README.Fedora src/data/*.html
@@ -81,11 +192,35 @@
%{_datadir}/pixmaps/bsnes.png
%{_datadir}/applications/rpmfusion-bsnes.desktop
+%files pixelshaders
+%defattr(-,root,root,-)
+%{_datadir}/%{name}
+
+%files snesfilter
+%defattr(-,root,root,-)
+%{_libdir}/libsnesfilter.so
+
+%if %{with snesreader}
+%files snesreader
+%defattr(-,root,root,-)
+%{_libdir}/libsnesreader.so
+%endif
+
+%files supergameboy
+%defattr(-,root,root,-)
+%{_libdir}/libsupergameboy.so
+
%changelog
+* Sat Feb 20 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.060-1
+- Updated to 0.060
+- Use sed to prevent premature binaries stripping
+- Included supergameboy, snesfilter, pixelshaders and optionally snesreader
+
* Thu Jan 07 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.059-1
- Updated to 0.059
- Updated the strip patch
+- Disabled the better pulseaudio driver on everything below Fedora 12
* Sat Dec 12 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.058-1
- Updated to 0.058
Index: sources
===================================================================
RCS file: /cvs/free/rpms/bsnes/F-12/sources,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- sources 7 Jan 2010 19:27:33 -0000 1.21
+++ sources 20 Feb 2010 09:32:10 -0000 1.22
@@ -1 +1 @@
-c34785e6c57dfb7b223f453780b3fde6 bsnes_v059.tar.bz2
+db779d53d6ac21a5b414fbf3b93dde47 bsnes_v060.tar.bz2
--- bsnes-0.059-strip.patch DELETED ---
14 years, 9 months
rpms/bsnes/devel .cvsignore, 1.21, 1.22 bsnes.spec, 1.28, 1.29 sources, 1.21, 1.22 bsnes-0.059-strip.patch, 1.1, NONE
by Julian Sikorski
Author: belegdol
Update of /cvs/free/rpms/bsnes/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv26405
Modified Files:
.cvsignore bsnes.spec sources
Removed Files:
bsnes-0.059-strip.patch
Log Message:
* Sat Feb 20 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.060-1
- Updated to 0.060
- Use sed to prevent premature binaries stripping
- Included supergameboy, snesfilter, pixelshaders and optionally snesreader
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/bsnes/devel/.cvsignore,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- .cvsignore 7 Jan 2010 19:27:16 -0000 1.21
+++ .cvsignore 20 Feb 2010 09:31:51 -0000 1.22
@@ -1 +1 @@
-bsnes_v059.tar.bz2
+bsnes_v060.tar.bz2
Index: bsnes.spec
===================================================================
RCS file: /cvs/free/rpms/bsnes/devel/bsnes.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- bsnes.spec 7 Jan 2010 21:35:41 -0000 1.28
+++ bsnes.spec 20 Feb 2010 09:31:52 -0000 1.29
@@ -1,4 +1,6 @@
-%global vernumber 059
+%bcond_with snesreader
+
+%global vernumber 060
Name: bsnes
Version: 0.%{vernumber}
@@ -12,7 +14,6 @@
#http://byuu.org/download.php?file=%{name}_v%{vernumber}.tar.bz2
Source0: %{name}_v%{vernumber}.tar.bz2
Source2: README.bsnes
-Patch0: bsnes-0.059-strip.patch
Patch1: libco.ppc-elf-2.diff
Patch2: bsnes-0.054-noppcelfppc64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -36,21 +37,72 @@
includes speed and game-specific hacks for compatibility. As a result, the
minimum system requirements for bsnes are quite high.
+%package pixelshaders
+Summary: Pixel shaders for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description pixelshaders
+This subpackage contains pixel shader effects for bsnes.
+
+%package snesfilter
+Summary: Visual filters for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description snesfilter
+This subpackage contains various video filters for bsnes.
+
+%if %{with snesreader}
+%package snesreader
+Summary: Compressed ROM images support for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description snesreader
+This subpackage enables support for various compressed images, like .zip, .7z,
+.rar and others.
+%endif
+
+%package supergameboy
+Summary: Super Game Boy emulation for %{name}
+Group: Applications/Emulators
+Requires: %{name} = %{version}-%{release}
+
+%description supergameboy
+This package includes gambatte-based Super Game Boy emulation.
+
%prep
%setup -qc
-%patch0 -p1 -b .strip
pushd src/lib/libco
%patch1 -p1 -b .newppcelf
popd
%patch2 -p1 -b .noppcelfppc64
#fix permissions
-find src -type f \( -name \*.cpp -or -name \*.hpp -or -name \*.h -or -name \*.c \) -exec chmod 644 {} \;
-chmod 644 src/data/*.html
+find . -type f -not -name \*.sh -exec chmod 644 {} \;
+
+#fix end-of-line encoding
+sed -i 's/\r//' pixelshaders/HLSL/sepia.fx
+sed -i 's/\r//' pixelshaders/Pixellate/fragment
+sed -i 's/\r//' pixelshaders/Pixellate/vertex
#use system optflags
-sed -i "s#-O3#$RPM_OPT_FLAGS#" src/Makefile
+for sourcedir in snesfilter snesreader src supergameboy
+do
+ pushd $sourcedir
+ sed -i "s#-O3#$RPM_OPT_FLAGS#" Makefile
+ popd
+done
+
+#don't strip the binaries prematurely
+for sourcedir in snesfilter snesreader src supergameboy
+do
+ pushd $sourcedir
+ sed -i "s/link += -s/link +=/" Makefile
+ popd
+done
#install fedora-specific readme
install -pm 644 %{SOURCE2} README.Fedora
@@ -62,6 +114,17 @@
%build
+%if %{with snesreader}
+for sourcedir in snesfilter snesreader supergameboy
+%else
+for sourcedir in snesfilter supergameboy
+%endif
+do
+ pushd $sourcedir
+ make %{?_smp_mflags} moc=moc-qt4
+ popd
+done
+
pushd src
make %{?_smp_mflags} platform=x compiler=gcc moc=moc-qt4
@@ -73,12 +136,55 @@
desktop-file-install --vendor=rpmfusion \
--delete-original --dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/bsnes.desktop
+popd
+install -d $RPM_BUILD_ROOT%{_libdir}
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+%if %{with snesreader}
+for sourcedir in snesfilter snesreader supergameboy
+%else
+for sourcedir in snesfilter supergameboy
+%endif
+do
+ pushd $sourcedir
+ install -pm 755 lib$sourcedir.so $RPM_BUILD_ROOT%{_libdir}/lib$sourcedir.so
+ popd
+done
+install -Dpm 644 pixelshaders/HDRTV/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HDRTV/vertex
+install -Dpm 644 pixelshaders/HDRTV/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HDRTV/fragment
+install -Dpm 644 pixelshaders/HLSL/sepia.fx $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HLSL/sepia.fx
+install -Dpm 644 pixelshaders/Curvature/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Curvature/fragment
+install -Dpm 644 pixelshaders/Scale2x/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Scale2x/vertex
+install -Dpm 644 pixelshaders/Scale2x/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Scale2x/fragment
+install -Dpm 644 pixelshaders/Pixellate/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Pixellate/vertex
+install -Dpm 644 pixelshaders/Pixellate/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/Pixellate/fragment
+install -Dpm 644 pixelshaders/HQ2x/vertex $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HQ2x/vertex
+install -Dpm 644 pixelshaders/HQ2x/fragment $RPM_BUILD_ROOT%{_datadir}/%{name}/pixelshaders/HQ2x/fragment
%clean
rm -rf $RPM_BUILD_ROOT
+%post snesfilter -p /sbin/ldconfig
+
+
+%postun snesfilter -p /sbin/ldconfig
+
+
+%if %{with snesreader}
+%post snesreader -p /sbin/ldconfig
+
+
+%postun snesreader -p /sbin/ldconfig
+%endif
+
+
+%post supergameboy -p /sbin/ldconfig
+
+
+%postun supergameboy -p /sbin/ldconfig
+
+
%files
%defattr(-,root,root,-)
%doc README.Fedora src/data/*.html
@@ -86,8 +192,31 @@
%{_datadir}/pixmaps/bsnes.png
%{_datadir}/applications/rpmfusion-bsnes.desktop
+%files pixelshaders
+%defattr(-,root,root,-)
+%{_datadir}/%{name}
+
+%files snesfilter
+%defattr(-,root,root,-)
+%{_libdir}/libsnesfilter.so
+
+%if %{with snesreader}
+%files snesreader
+%defattr(-,root,root,-)
+%{_libdir}/libsnesreader.so
+%endif
+
+%files supergameboy
+%defattr(-,root,root,-)
+%{_libdir}/libsupergameboy.so
+
%changelog
+* Sat Feb 20 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.060-1
+- Updated to 0.060
+- Use sed to prevent premature binaries stripping
+- Included supergameboy, snesfilter, pixelshaders and optionally snesreader
+
* Thu Jan 07 2010 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.059-1
- Updated to 0.059
- Updated the strip patch
Index: sources
===================================================================
RCS file: /cvs/free/rpms/bsnes/devel/sources,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- sources 7 Jan 2010 19:27:16 -0000 1.21
+++ sources 20 Feb 2010 09:31:52 -0000 1.22
@@ -1 +1 @@
-c34785e6c57dfb7b223f453780b3fde6 bsnes_v059.tar.bz2
+db779d53d6ac21a5b414fbf3b93dde47 bsnes_v060.tar.bz2
--- bsnes-0.059-strip.patch DELETED ---
14 years, 9 months
rpms/wl-kmod/F-12 wl-kmod.spec,1.58,1.59
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/wl-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20307
Modified Files:
wl-kmod.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 5.10.91.9.3-4.3
- rebuild for new kernel
Index: wl-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/wl-kmod/F-12/wl-kmod.spec,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -r1.58 -r1.59
--- wl-kmod.spec 11 Feb 2010 19:47:11 -0000 1.58
+++ wl-kmod.spec 20 Feb 2010 08:51:10 -0000 1.59
@@ -7,7 +7,7 @@
Name: wl-kmod
Version: 5.10.91.9.3
-Release: 4%{?dist}.2
+Release: 4%{?dist}.3
Summary: Kernel module for broadcom wireless devices
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -84,6 +84,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 5.10.91.9.3-4.3
+- rebuild for new kernel
+
* Thu Feb 11 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 5.10.91.9.3-4.2
- rebuild for new kernel
14 years, 9 months
rpms/slmodem-kmod/F-12 slmodem-kmod.spec,1.46,1.47
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/slmodem-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20175
Modified Files:
slmodem-kmod.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.9.11-27.44
- rebuild for new kernel
Index: slmodem-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/slmodem-kmod/F-12/slmodem-kmod.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- slmodem-kmod.spec 11 Feb 2010 19:46:52 -0000 1.46
+++ slmodem-kmod.spec 20 Feb 2010 08:50:56 -0000 1.47
@@ -12,7 +12,7 @@
Name: slmodem-kmod
Version: 2.9.11
-Release: 27%{?dist}.43
+Release: 27%{?dist}.44
Summary: Proprietary SmartLink softmodem kernel drivers
Group: System Environment/Kernel
@@ -102,6 +102,9 @@
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.9.11-27.44
+- rebuild for new kernel
+
* Thu Feb 11 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.9.11-27.43
- rebuild for new kernel
14 years, 9 months
rpms/nvidia-kmod/F-12 nvidia-kmod.spec,1.67,1.68
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/nvidia-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv20054
Modified Files:
nvidia-kmod.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 190.53-1.5
- rebuild for new kernel
Index: nvidia-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-kmod/F-12/nvidia-kmod.spec,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -r1.67 -r1.68
--- nvidia-kmod.spec 11 Feb 2010 19:46:38 -0000 1.67
+++ nvidia-kmod.spec 20 Feb 2010 08:50:42 -0000 1.68
@@ -8,7 +8,7 @@
Name: nvidia-kmod
Version: 190.53
# Taken over by kmodtool
-Release: 1%{?dist}.4
+Release: 1%{?dist}.5
Summary: NVIDIA display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -95,6 +95,9 @@
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 190.53-1.5
+- rebuild for new kernel
+
* Thu Feb 11 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 190.53-1.4
- rebuild for new kernel
14 years, 9 months
rpms/nvidia-96xx-kmod/F-12 nvidia-96xx-kmod.spec,1.40,1.41
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/nvidia-96xx-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19924
Modified Files:
nvidia-96xx-kmod.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 96.43.14-1.10
- rebuild for new kernel
Index: nvidia-96xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-96xx-kmod/F-12/nvidia-96xx-kmod.spec,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- nvidia-96xx-kmod.spec 11 Feb 2010 19:46:23 -0000 1.40
+++ nvidia-96xx-kmod.spec 20 Feb 2010 08:50:27 -0000 1.41
@@ -7,7 +7,7 @@
Name: nvidia-96xx-kmod
Version: 96.43.14
-Release: 1%{?dist}.9
+Release: 1%{?dist}.10
# Taken over by kmodtool
Summary: NVIDIA 96xx display driver kernel module
Group: System Environment/Kernel
@@ -91,6 +91,9 @@
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 96.43.14-1.10
+- rebuild for new kernel
+
* Thu Feb 11 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 96.43.14-1.9
- rebuild for new kernel
14 years, 9 months
rpms/nvidia-173xx-kmod/F-12 nvidia-173xx-kmod.spec,1.41,1.42
by Thorsten Leemhuis
Author: thl
Update of /cvs/nonfree/rpms/nvidia-173xx-kmod/F-12
In directory se02.es.rpmfusion.net:/tmp/cvs-serv19516
Modified Files:
nvidia-173xx-kmod.spec
Log Message:
* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 173.14.22-1.10
- rebuild for new kernel
Index: nvidia-173xx-kmod.spec
===================================================================
RCS file: /cvs/nonfree/rpms/nvidia-173xx-kmod/F-12/nvidia-173xx-kmod.spec,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- nvidia-173xx-kmod.spec 11 Feb 2010 19:46:08 -0000 1.41
+++ nvidia-173xx-kmod.spec 20 Feb 2010 08:50:12 -0000 1.42
@@ -8,7 +8,7 @@
Name: nvidia-173xx-kmod
Version: 173.14.22
# Taken over by kmodtool
-Release: 1%{?dist}.9
+Release: 1%{?dist}.10
Summary: NVIDIA 173xx display driver kernel module
Group: System Environment/Kernel
License: Redistributable, no modification permitted
@@ -93,6 +93,9 @@
%changelog
+* Sat Feb 20 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 173.14.22-1.10
+- rebuild for new kernel
+
* Thu Feb 11 2010 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 173.14.22-1.9
- rebuild for new kernel
14 years, 9 months