]> git.pld-linux.org Git - packages/gemrb.git/blame - gemrb.spec
- up to 0.6.1
[packages/gemrb.git] / gemrb.spec
CommitLineData
a1596f65 1#
9ffd1e59 2# TODO:
3# - what about libgemrb_core.so* files?
109d74e8 4# - set proper path to Cache dir or create it in datadir
cfd02c51 5# - make it builds on x86_64
109d74e8 6#
a1596f65 7# Conditional build:
8%bcond_without png # build without png
9#
10Summary: Emulator of BioWare's Infinity game engine
801ccd0d 11Summary(pl.UTF-8): Emulator silnika gier Infinity firmy BioWare
a1596f65 12Name: gemrb
211ac0fb 13Version: 0.6.1
109d74e8 14Release: 0.1
a1596f65 15License: GPL v2+
16Group: Applications/Emulators
0c50e9d0 17Source0: http://downloads.sourceforge.net/gemrb/%{name}-%{version}.tar.gz
211ac0fb 18# Source0-md5: 3d7f10a0137b3a018d23540cdb676750
df0e4a22 19Patch0: %{name}-config_file.patch
9ffd1e59 20Patch1: %{name}-useless_files.patch
a1596f65 21URL: http://gemrb.sourceforge.net/
22BuildRequires: OpenAL-devel
23BuildRequires: SDL-devel >= 1.2
24BuildRequires: autoconf
25BuildRequires: automake
26%{?with_png:BuildRequires: libpng-devel}
b8eab58a 27BuildRequires: libtool
82bf3cda 28BuildRequires: python-devel >= 1:2.3.0
a1596f65 29BuildRequires: zlib-devel
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33This Game Engine is a port of the original Infinity Engine (the one of
34Baldur's Gate, Planescape: Torment, Icewind Dale) to Linux/Unix, MacOs
35X and Windows with some Enhancements.
36
0d3a0d02 37%description -l pl.UTF-8
0c50e9d0 38Silnik ten jest portem oryginalnego silnika Infinity Engine (używanego
39przez Baldur's Gate, Planescape: Torment, Icewind Dale) dla systemów
40Linux/Unix, MacOS i Windows. Silnik posiada kilka ulepszeń.
a1596f65 41
42%prep
43%setup -q
df0e4a22 44%patch0 -p1
9ffd1e59 45%patch1 -p1
a1596f65 46
47%build
b8eab58a 48%{__libtoolize}
a1596f65 49%{__aclocal}
50%{__autoconf}
51%{__autoheader}
52%{__automake}
53%configure
54%{__make}
55
56%install
57rm -rf $RPM_BUILD_ROOT
109d74e8 58install -d $RPM_BUILD_ROOT%{_sysconfdir}
a1596f65 59
60%{__make} install \
61 DESTDIR=$RPM_BUILD_ROOT
62
109d74e8 63install gemrb/GemRB.cfg.sample $RPM_BUILD_ROOT%{_sysconfdir}/gemrb.cfg
3b1ab0b5 64rm -f $RPM_BUILD_ROOT%{_libdir}{,/gemrb,/gemrb/plugins}/*.la
72d64f95 65
a1596f65 66%clean
67rm -rf $RPM_BUILD_ROOT
68
72d64f95
JB
69%post -p /sbin/ldconfig
70%postun -p /sbin/ldconfig
71
a1596f65 72%files
73%defattr(644,root,root,755)
9ffd1e59 74%doc AUTHORS ChangeLog NEWS README TODO %{name}{/docs/en/*.txt,/GemRB.cfg*.sample}
b8eab58a 75%attr(755,root,root) %{_bindir}/gemrb
8a5d4511 76%dir %{_libdir}/gemrb
72d64f95 77%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
6aea8949 78%dir %{_libdir}/gemrb/plugins
79%attr(755,root,root) %{_libdir}/gemrb/plugins/*.so*
109d74e8 80%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gemrb.cfg
b8eab58a 81%{_datadir}/gemrb
6aea8949 82%{_mandir}/man6/gemrb.6*
This page took 0.175165 seconds and 4 git commands to generate.