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