]>
Commit | Line | Data |
---|---|---|
2655cdff | 1 | # TODO: |
2 | # - Checking for C header file IL/ilut.h... no | |
3 | # Note: since SDL support is disabled, the SDL headers are not be in the | |
4 | # compiler's search path during tests. If DevIL was built with SDL support, | |
5 | # this may cause the seach for ilut.h to fail. | |
6 | ||
7 | Summary: GUI Library for OpenGL | |
8 | Name: GiGi | |
ffb5ddb6 | 9 | Version: 0.6.0 |
10 | Release: 0.1 | |
11 | License: GPL | |
12 | Group: Applications | |
2655cdff | 13 | Source0: http://downloads.sourceforge.net/gigi/GG-%{version}.tgz |
b1326fee | 14 | # Source0-md5: e100bad1c0713b3167a4fdc1cb8898c9 |
ffb5ddb6 | 15 | Patch0: gg-boots-include-location-fix.patch |
2655cdff | 16 | URL: http://gigi.sourceforge.net/ |
ffb5ddb6 | 17 | BuildRequires: scons |
18 | BuildRequires: boost-devel >= 1.32 | |
19 | BuildRequires: boost-signals >= 1.32 | |
20 | BuildRequires: boost-filesystem >= 1.32 | |
21 | BuildRequires: freetype-devel | |
22 | BuildRequires: DevIL-devel >= 1.6.1 | |
23 | BuildRequires: SDL-devel >= 1.2.7 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
2655cdff | 27 | GiGi (aka GG) is a GUI library for OpenGL. It is platform-independent (it runs |
28 | at least on Linux and Windows, and probably more), compiler-independent (it | |
29 | compiles under at GCC 3.4 or higher and MSVC++ 8.0 SP1 or higher, and probably | |
30 | more), and driver-independent. | |
ffb5ddb6 | 31 | |
32 | %package libs | |
33 | Summary: - | |
34 | Summary(pl.UTF-8): - | |
35 | Group: Libraries | |
36 | ||
37 | %description libs | |
38 | ||
39 | %description libs -l pl.UTF-8 | |
40 | ||
41 | %package devel | |
42 | Summary: Header files for ... library | |
43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki ... | |
44 | Group: Development/Libraries | |
45 | # if base package contains shared library for which these headers are | |
46 | #Requires: %{name} = %{version}-%{release} | |
47 | # if -libs package contains shared library for which these headers are | |
48 | #Requires: %{name}-libs = %{version}-%{release} | |
49 | ||
50 | %description devel | |
51 | Header files for ... library. | |
52 | ||
53 | %description devel -l pl.UTF-8 | |
54 | Pliki nagłówkowe biblioteki .... | |
55 | ||
56 | %package static | |
57 | Summary: Static ... library | |
58 | Summary(pl.UTF-8): Statyczna biblioteka ... | |
59 | Group: Development/Libraries | |
60 | Requires: %{name}-devel = %{version}-%{release} | |
61 | ||
62 | %description static | |
63 | Static ... library. | |
64 | ||
65 | %description static -l pl.UTF-8 | |
66 | Statyczna biblioteka .... | |
67 | ||
68 | %prep | |
2655cdff | 69 | %setup -q -n GG |
ffb5ddb6 | 70 | %patch0 |
71 | ||
72 | %build | |
73 | scons | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | # create directories if necessary | |
78 | #install -d $RPM_BUILD_ROOT | |
79 | #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
80 | ||
81 | %{__make} install \ | |
82 | DESTDIR=$RPM_BUILD_ROOT | |
83 | ||
84 | %clean | |
85 | rm -rf $RPM_BUILD_ROOT | |
86 | ||
ffb5ddb6 | 87 | %post -p /sbin/ldconfig |
88 | %postun -p /sbin/ldconfig | |
ffb5ddb6 | 89 | |
90 | %files | |
91 | %defattr(644,root,root,755) | |
92 | %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO |