]> git.pld-linux.org Git - packages/gengameng.git/blame - gengameng.spec
- finished.
[packages/gengameng.git] / gengameng.spec
CommitLineData
b30e163f 1Summary: A Generic Game Engine library for 2D double-buffering animation
2Name: gengameng
3Version: 4.1
4Release: 1
5License: GPL
6Group: X11/Libraries
7Source0: http://www3.sympatico.ca/sarrazip/dev/%{name}-%{version}.tar.gz
8Patch0: %{name}-config.patch
9URL: http://sarrazip.com/dev/burgerspace.html
b30e163f 10BuildRequires: SDL_image-devel
deeb84a2 11BuildRequires: libstdc++-devel
b30e163f 12PreReq: /sbin/ldconfig
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%define _prefix /usr/X11R6
16
17%description
18Generic Game Engine library suitable for BurgerSpace and Cosmosmash.
19
20%package devel
21Summary: C++ header files for the gengameng library
22Group: X11/Development/Libraries
deeb84a2 23Requires: %{name} = %version}
b30e163f 24
25%description devel
26C++ header files for the Generic Game Engine ("gengameng") library
27for 2D double-buffering animation.
28
deeb84a2 29%package static
30Summary: Static gengameng library
31Group: X11/Development/Libraries
32Requires: %{name}-devel = %version}
33
34%description static
35Static gengameng library.
36
b30e163f 37%prep
38%setup -q
39%patch0 -p1
40
41%build
deeb84a2 42%configure \
43 --enable-static
44
b30e163f 45%{__make}
46
47%install
48rm -rf $RPM_BUILD_ROOT
deeb84a2 49
50%{__make} install \
51 DESTDIR=$RPM_BUILD_ROOT \
52 aclocaldir=%{_aclocaldir}
b30e163f 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p /sbin/ldconfig
58%postun -p /sbin/ldconfig
59
60%files
61%defattr(644,root,root,755)
deeb84a2 62%attr(755,root,root) %{_libdir}/libgengameng.so.*.*
b30e163f 63
64%files devel
65%defattr(644,root,root,755)
66%attr(755,root,root) %{_bindir}/gengameng-config
deeb84a2 67%attr(755,root,root) %{_libdir}/libgengameng.so
68%attr(755,root,root) %{_libdir}/libgengameng.la
69%{_includedir}/gengameng
b30e163f 70%{_aclocaldir}/gengameng.m4
deeb84a2 71
72%files static
73%defattr(644,root,root,755)
74%{_libdir}/libgengameng.a
This page took 0.102989 seconds and 4 git commands to generate.