#
+# TODO:
+# - what about libgemrb_core.so* files?
+#
# Conditional build:
%bcond_without png # build without png
#
Summary: Emulator of BioWare's Infinity game engine
Summary(pl.UTF-8): Emulator silnika gier Infinity firmy BioWare
Name: gemrb
-Version: 0.2.9
+Version: 0.3.0
Release: 1
License: GPL v2+
Group: Applications/Emulators
Source0: http://dl.sourceforge.net/gemrb/%{name}-%{version}.tar.gz
-# Source0-md5: 0dda8e19fe8ed4ce95497a774c1525c8
+# Source0-md5: 047551c926e07622834a9df315c9d615
Patch0: %{name}-config_file.patch
+Patch1: %{name}-useless_files.patch
URL: http://gemrb.sourceforge.net/
BuildRequires: OpenAL-devel
BuildRequires: SDL-devel >= 1.2
%prep
%setup -q
%patch0 -p1
+%patch1 -p1
%build
%{__libtoolize}
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README TODO %{name}{/docs/en/*.txt,/GemRB.cfg.sample}
+%doc AUTHORS ChangeLog NEWS README TODO %{name}{/docs/en/*.txt,/GemRB.cfg*.sample}
%attr(755,root,root) %{_bindir}/gemrb
%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
%dir %{_libdir}/gemrb