]>
Commit | Line | Data |
---|---|---|
a7c52a89 | 1 | # TODO: |
a7c52a89 ŁK |
2 | # - gcc33 patch only for AC-branch |
3 | # | |
71dc0787 JB |
4 | Summary: CEGUI - a free library providing windowing and widgets |
5 | Summary(pl.UTF-8): CEGUI - wolnodostępna biblioteka zapewniającą okienka i widgety | |
a7c52a89 ŁK |
6 | Name: CEGUI |
7 | Version: 0.5.0 | |
8 | Release: 1 | |
9 | License: LGPL | |
10 | Group: Libraries | |
11 | Source0: http://dl.sourceforge.net/crayzedsgui/%{name}-%{version}b.tar.gz | |
12 | # Source0-md5: b42322a33c6a06eede76b15f75694a17 | |
13 | Source1: http://dl.sourceforge.net/crayzedsgui/%{name}-DOCS-%{version}.tar.gz | |
14 | # Source1-md5: e268b5812f146ee1ff9ba4c07ff501b7 | |
15 | Patch0: %{name}-gcc33.patch | |
16 | URL: http://www.cegui.org.uk/ | |
7e74cc56 | 17 | BuildRequires: FreeImage-devel |
18 | BuildRequires: OpenGL-GLU-devel | |
a7c52a89 ŁK |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
7e74cc56 | 21 | BuildRequires: freetype-devel >= 0.15.0 |
22 | BuildRequires: libstdc++-devel | |
a7c52a89 ŁK |
23 | BuildRequires: libtool |
24 | BuildRequires: pcre-devel | |
7e74cc56 | 25 | BuildRequires: pkgconfig |
a7c52a89 ŁK |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | CEGUI stands for Crazy Eddie's Gui System; a free library providing | |
30 | windowing and widgets for graphics APIs / engines where such | |
31 | functionality is not natively available, or severely lacking. The | |
32 | library is object orientated, written in C++, and targeted at games | |
33 | developers who should be spending their time creating great games, not | |
34 | building GUI sub-systems! | |
35 | ||
71dc0787 JB |
36 | %description -l pl.UTF-8 |
37 | CEGUI oznacza Crazy Eddie's Gui System - wolnodostępną bibliotekę | |
38 | zapewniającą okienka i widgety dla graficznych API i silników tam, | |
39 | gdzie natywnie taka funkcjonalność nie jest dostępna lub ma znaczące | |
40 | braki. Biblioteka jest zorientowana obiektowo, napisana w C++ i | |
41 | skierowana dla programistów gier, którzy powinni spędzać czas na | |
42 | pisaniu świetnych gier, a nie tworzeniu podsystemów GUI! | |
43 | ||
a7c52a89 ŁK |
44 | %package devel |
45 | Summary: Development files for CEGUI | |
71dc0787 | 46 | Summary(pl.UTF-8): Pliki programistyczne dla CEGUI |
a7c52a89 ŁK |
47 | Group: Development/Libraries |
48 | Requires: %{name} = %{version}-%{release} | |
49 | ||
50 | %description devel | |
51 | CEGUI headers and documentation. | |
52 | ||
71dc0787 JB |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe i dokumentacja do CEGUI. | |
55 | ||
a7c52a89 ŁK |
56 | %prep |
57 | %setup -q -b 1 | |
58 | %patch0 -p1 | |
59 | ||
60 | %build | |
61 | %{__libtoolize} | |
62 | %{__aclocal} | |
63 | %{__autoconf} | |
64 | %{__autoheader} | |
65 | %{__automake} | |
66 | %configure | |
67 | ||
68 | %{__make} | |
69 | ||
70 | %install | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %{__make} install \ | |
74 | DESTDIR=$RPM_BUILD_ROOT | |
75 | ||
76 | %clean | |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
84 | %doc AUTHORS ChangeLog README | |
85 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
86 | ||
87 | %files devel | |
88 | %defattr(644,root,root,755) | |
89 | %doc documentation | |
90 | %attr(755,root,root) %{_libdir}/lib*.so | |
91 | %{_libdir}/lib*.la | |
71dc0787 | 92 | %{_includedir}/%{name} |
a7c52a89 | 93 | %{_pkgconfigdir}/* |