Sort includes again.
[gemrb.git] / gemrb.spec.in
blob17a59c97d51a1a2586ba03060451d26edbe718ce
1 Name: gemrb
2 Version: @VERSION@
3 Release: 1
4 Summary: Port of the original Infinity (Game) Engine
5 Group: Applications/Games
6 License: GPL
7 Source: %{name}-%{version}.tar.gz
8 URL: http://gemrb.sourceforge.net/
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 Requires: zlib SDL >= 1.2 openal python >= 2.3 libvorbis libpng
11 BuildRequires: zlib-devel SDL-devel openal-devel libvorbis-devel libpng-devel
13 %description
14 GemRB (Game engine made with preRendered Background) is a portable open-source
15 implementation of Bioware's Infinity Engine which was written to support
16 pseudo-3D role playing games based on the Dungeons & Dragons ruleset
18 %prep
19 %setup -q
21 %build
22 %configure --prefix=/usr --libdir=%{_libdir} --mandir=%{_mandir} --sysconfdir=%{_sysconfdir}
23 make %{?_smp_mflags}
25 %install
26 rm -rf ${RPM_BUILD_ROOT}
27 make DESTDIR=${RPM_BUILD_ROOT} install
29 %clean
30 rm -rf ${RPM_BUILD_ROOT}
32 %post -p /sbin/ldconfig
34 %postun -p /sbin/ldconfig
36 %files
37 %defattr(644,root,root,755)
38 %doc AUTHORS COPYING NEWS README
39 %attr(755,root,root) %{_bindir}/gemrb
40 %attr(755,root,root) %{_libdir}/*.so
41 %attr(755,root,root) %{_libdir}/*.so.*
42 %attr(755,root,root) %{_libdir}/gemrb/plugins/*.so
43 %attr(755,root,root) %{_libdir}/gemrb/plugins/*.so.*
44 %{_sysconfdir}/GemRB.*
45 %{_mandir}/man6/*
46 %{_datadir}/gemrb/*
47 %{_datadir}/doc/gemrb/*
49 ### Exclude files
50 %exclude %{_libdir}/*.la
51 %attr(755,root,root) %{_libdir}/gemrb/plugins/*.la
53 %changelog
54 * Sat Jun 6 2009 Joachim Metz <jbmetz@users.sourceforge.net> 0.4.0-1
55 - Added support for configure integration
57 * Tue May 25 2009 Jaka Kranjc <lynxlupodian@users.sourceforge.net> 0.4.0-1
58 - Update for gemrb 0.4.0
60 * Sun Mar 15 2009 Joachim Metz <jbmetz@users.sourceforge.net> 0.3.2-2
61 - Excluded .la files from rpm file
63 * Tue Feb 17 2009 Joachim Metz <jbmetz@users.sourceforge.net> 0.3.2-1
64 - Update for gemrb 0.3.2
66 * Fri Feb 13 2009 Joachim Metz <jbmetz@users.sourceforge.net> 0.3.1-2
67 - Merged default and devel package, gemrb requires .so files
68 - Corrected use of legacy version of libpng
70 * Sun Feb 8 2009 Joachim Metz <jbmetz@users.sourceforge.net> 0.3.1-1
71 - Initial version