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