]> git.pld-linux.org Git - packages/GiGi.git/blob - GiGi.spec
- some BRs
[packages/GiGi.git] / GiGi.spec
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
9 Version:        0.6.0
10 Release:        0.1
11 License:        GPL
12 Group:          Libraries
13 Source0:        http://downloads.sourceforge.net/gigi/GG-%{version}.tgz
14 # Source0-md5:  e100bad1c0713b3167a4fdc1cb8898c9
15 Patch0:         gg-boots-include-location-fix.patch
16 URL:            http://gigi.sourceforge.net/
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:  OpenGL-devel
24 BuildRequires:  OpenGL-GLU-devel
25 BuildRequires:  SDL-devel >= 1.2.7
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 GiGi (aka GG) is a GUI library for OpenGL. It is platform-independent (it runs
30 at least on Linux and Windows, and probably more), compiler-independent (it
31 compiles under at GCC 3.4 or higher and MSVC++ 8.0 SP1 or higher, and probably
32 more), and driver-independent.
33
34 %package libs
35 Summary:        -
36 Summary(pl.UTF-8):      -
37 Group:          Libraries
38
39 %description libs
40
41 %description libs -l pl.UTF-8
42
43 %package devel
44 Summary:        Header files for ... library
45 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki ...
46 Group:          Development/Libraries
47 # if base package contains shared library for which these headers are
48 #Requires:      %{name} = %{version}-%{release}
49 # if -libs package contains shared library for which these headers are
50 #Requires:      %{name}-libs = %{version}-%{release}
51
52 %description devel
53 Header files for ... library.
54
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe biblioteki ....
57
58 %package static
59 Summary:        Static ... library
60 Summary(pl.UTF-8):      Statyczna biblioteka ...
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 Static ... library.
66
67 %description static -l pl.UTF-8
68 Statyczna biblioteka ....
69
70 %prep
71 %setup -q -n GG
72 %patch0
73
74 %build
75 scons
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 # create directories if necessary
80 #install -d $RPM_BUILD_ROOT
81 #install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
82
83 %{__make} install \
84         DESTDIR=$RPM_BUILD_ROOT
85
86 %clean
87 rm -rf $RPM_BUILD_ROOT
88
89 %post   -p /sbin/ldconfig
90 %postun -p /sbin/ldconfig
91
92 %files
93 %defattr(644,root,root,755)
94 %doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
This page took 0.062678 seconds and 3 git commands to generate.