]> git.pld-linux.org Git - packages/gengameng.git/blame - gengameng.spec
- reverted false libatomic_ops BR
[packages/gengameng.git] / gengameng.spec
CommitLineData
b30e163f 1Summary: A Generic Game Engine library for 2D double-buffering animation
6f9edf2a 2Summary(pl.UTF-8): Biblioteka ogólnego silnika gier z podwójnie buforowaną animacją 2D
b30e163f 3Name: gengameng
4Version: 4.1
e044acfe 5Release: 4
b30e163f 6License: GPL
7Group: X11/Libraries
8Source0: http://www3.sympatico.ca/sarrazip/dev/%{name}-%{version}.tar.gz
2acee9ea 9# Source0-md5: 112322dbdc6684717cdfd7c61d225655
b30e163f 10Patch0: %{name}-config.patch
1b1784cb 11Patch1: %{name}-link.patch
e044acfe 12Patch2: %{name}-acfix.patch
b30e163f 13URL: http://sarrazip.com/dev/burgerspace.html
1b1784cb
JB
14BuildRequires: SDL-devel >= 1.2.0
15BuildRequires: SDL_image-devel >= 1.2.0
16BuildRequires: autoconf
17BuildRequires: automake
deeb84a2 18BuildRequires: libstdc++-devel
1b1784cb 19BuildRequires: libtool >= 2:1.4d
194d0a1b
JB
20Requires: SDL >= 1.2.0
21Requires: SDL_image >= 1.2.0
b30e163f 22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
b30e163f 24%description
25Generic Game Engine library suitable for BurgerSpace and Cosmosmash.
26
0ed963d7
JR
27%description -l pl.UTF-8
28Biblioteka ogólnego silnika gier wykorzystana w grach BurgerSpace i
194d0a1b
JB
29Cosmosmash.
30
b30e163f 31%package devel
12fe66a8 32Summary: C++ header files for the gengameng library
6f9edf2a 33Summary(pl.UTF-8): Pliki nagłówkowe C++ dla biblioteki gengameng
12fe66a8 34Group: X11/Development/Libraries
e044acfe 35Requires: %{name} = %{version}-%{release}
1b1784cb
JB
36Requires: SDL-devel >= 1.2.0
37Requires: SDL_image-devel >= 1.2.0
38Requires: libstdc++-devel
b30e163f 39
40%description devel
41C++ header files for the Generic Game Engine ("gengameng") library
42for 2D double-buffering animation.
43
0ed963d7
JR
44%description devel -l pl.UTF-8
45Pliki nagłówkowe C++ dla biblioteki ogólnego silnika gier
46("gengameng") z podwójnie buforowaną animacją 2D.
194d0a1b 47
deeb84a2 48%package static
12fe66a8 49Summary: Static gengameng library
6f9edf2a 50Summary(pl.UTF-8): Statyczna biblioteka gengameng
12fe66a8 51Group: X11/Development/Libraries
e044acfe 52Requires: %{name}-devel = %{version}-%{release}
deeb84a2 53
54%description static
55Static gengameng library.
56
0ed963d7 57%description static -l pl.UTF-8
194d0a1b
JB
58Statyczna biblioteka gengameng.
59
b30e163f 60%prep
61%setup -q
62%patch0 -p1
1b1784cb 63%patch1 -p1
e044acfe 64%patch2 -p1
b30e163f 65
66%build
1b1784cb
JB
67# supplied libtool is broken (C++)
68%{__libtoolize}
69%{__aclocal} -I macros
70%{__autoconf}
71%{__automake}
deeb84a2 72%configure \
73 --enable-static
74
b30e163f 75%{__make}
76
77%install
78rm -rf $RPM_BUILD_ROOT
deeb84a2 79
80%{__make} install \
81 DESTDIR=$RPM_BUILD_ROOT \
82 aclocaldir=%{_aclocaldir}
b30e163f 83
84%clean
85rm -rf $RPM_BUILD_ROOT
86
87%post -p /sbin/ldconfig
88%postun -p /sbin/ldconfig
89
90%files
91%defattr(644,root,root,755)
1b1784cb 92%doc AUTHORS NEWS README
deeb84a2 93%attr(755,root,root) %{_libdir}/libgengameng.so.*.*
b30e163f 94
95%files devel
96%defattr(644,root,root,755)
97%attr(755,root,root) %{_bindir}/gengameng-config
deeb84a2 98%attr(755,root,root) %{_libdir}/libgengameng.so
201a2419 99%{_libdir}/libgengameng.la
deeb84a2 100%{_includedir}/gengameng
b30e163f 101%{_aclocaldir}/gengameng.m4
deeb84a2 102
103%files static
104%defattr(644,root,root,755)
105%{_libdir}/libgengameng.a
This page took 0.072417 seconds and 4 git commands to generate.