- Rebuild for new ftgl (#501323)

This commit is contained in:
Hans de Goede 2009-05-22 12:14:13 +00:00
commit 32761bb4a5

View file

@ -7,7 +7,7 @@
Name: sdljava
Version: 0.9.1
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Java binding to the SDL API
Group: System Environment/Libraries
License: LGPLv2+
@ -17,6 +17,7 @@ Url: http://sdljava.sourceforge.net/
Source0: %{name}-%{version}.tar.gz
Source1: %{name}-runtest.sh
Patch0: sdljava-0.9.1-regen.patch
Patch1: sdljava-0.9.1-ftgl213.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ftgl-devel glew-devel SDL-devel SDL_gfx-devel SDL_image-devel
BuildRequires: SDL_mixer-devel SDL_ttf-devel java-gcj-compat-devel
@ -57,7 +58,11 @@ Demonstrations and samples for %{name}.
%prep
%setup -q
%patch0 -p1 -z .regen
%patch1 -p1
# Newer ftgl no longer exports the FTFace class
rm src/org/gljava/opengl/ftgl/FTFace.java
iconv -f ISO_8859-2 -t UTF8 docs/CHANGES_0_9_1 > docs/CHANGES_0_9_1.tmp
touch -r docs/CHANGES_0_9_1 docs/CHANGES_0_9_1.tmp
mv docs/CHANGES_0_9_1.tmp docs/CHANGES_0_9_1
# patch in gcc include path so that swig can find it
@ -209,6 +214,9 @@ ln -s %{name}-%{version} %{_javadocdir}/%{name}
%changelog
* Fri May 22 2009 Hans de Goede <hdegoede@redhat.com> 0.9.1-12
- Rebuild for new ftgl (#501323)
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild