3 # - what about libgemrb_core.so* files?
6 %bcond_without png # build without png
8 Summary: Emulator of BioWare's Infinity game engine
9 Summary(pl.UTF-8): Emulator silnika gier Infinity firmy BioWare
14 Group: Applications/Emulators
15 Source0: http://dl.sourceforge.net/gemrb/%{name}-%{version}.tar.gz
16 # Source0-md5: f01a6b9e91a437a7176d21c61f9a72de
17 Patch0: %{name}-config_file.patch
18 Patch1: %{name}-useless_files.patch
19 URL: http://gemrb.sourceforge.net/
20 BuildRequires: OpenAL-devel
21 BuildRequires: SDL-devel >= 1.2
22 BuildRequires: autoconf
23 BuildRequires: automake
24 %{?with_png:BuildRequires: libpng-devel}
25 BuildRequires: libtool
26 BuildRequires: python-devel >= 1:2.3.0
27 BuildRequires: zlib-devel
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 This Game Engine is a port of the original Infinity Engine (the one of
32 Baldur's Gate, Planescape: Torment, Icewind Dale) to Linux/Unix, MacOs
33 X and Windows with some Enhancements.
35 %description -l pl.UTF-8
36 Silnik ten jest portem oryginalnego silnika Infinity Engine (używanego
37 przez Baldur's Gate, Planescape: Torment, Icewind Dale) dla systemów
38 Linux/Unix, MacOS i Windows. Silnik posiada kilka ulepszeń.
55 rm -rf $RPM_BUILD_ROOT
58 DESTDIR=$RPM_BUILD_ROOT
60 rm -f $RPM_BUILD_ROOT%{_libdir}{,/gemrb,/gemrb/plugins}/*.la
63 rm -rf $RPM_BUILD_ROOT
65 %post -p /sbin/ldconfig
66 %postun -p /sbin/ldconfig
69 %defattr(644,root,root,755)
70 %doc AUTHORS ChangeLog NEWS README TODO %{name}{/docs/en/*.txt,/GemRB.cfg*.sample}
71 %attr(755,root,root) %{_bindir}/gemrb
72 %attr(755,root,root) %{_libdir}/lib*.so.*.*.*
73 %dir %{_libdir}/gemrb/plugins
74 %attr(755,root,root) %{_libdir}/gemrb/plugins/*.so*
76 %{_mandir}/man6/gemrb.6*