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