1 %define tar_name gtkglarea
2 Summary: GtkGLArea OpenGL widget for GTK+
3 Summary(pl.UTF-8): GtkGLArea - kontrolka GTK+ do prezentacji obiektów OpenGL
4 Summary(pt_BR.UTF-8): Um widget OpenGL para a biblioteca GUI GTK+
5 Summary(ru.UTF-8): GtkGLArea - это OpenGL виджет для GTK+
6 Summary(uk.UTF-8): GtkGLArea - це OpenGL віджет для GTK+
7 Summary(wa.UTF-8): GtkGLArea est on ahesse pol toolkit grafike GTK+
13 Source0: http://gliv.tuxfamily.org/%{tar_name}-%{version}.tar.gz
14 # Source0-md5: 31061342e2da718dad549b01e795bb7a
15 Patch0: %{name}-m4_fix.patch
16 Patch1: %{name}-format.patch
17 URL: http://www.student.oulu.fi/~jlof/gtkglarea/
18 BuildRequires: OpenGL-devel
19 BuildRequires: OpenGL-GLU-devel
20 BuildRequires: automake
21 BuildRequires: gtk+-devel >= 1.2.0
23 Obsoletes: gtkglarea < 1.99
24 Obsoletes: libgtkglarea5
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Just as GTK+ is build on top of GDK, GtkGLArea is built on top of
29 gdkgl which is basically wrapper around GLX functions. The widget
30 itself is derived from GtkDrawinigArea widget and adds only few extra
33 %description -l pl.UTF-8
34 Podobnie jak GTK+ jest zbudowane na GDK, tak i GtkGLArea powstało na
35 bazie gdkgl, który jest wrapperem funkcji GLX. Sam widget pochodzi od
36 GtkDrawingArea i posiada jedynie kilka dodatkowych funkcji.
38 %description -l pt_BR.UTF-8
39 GtkGLArea é um OpenGL widget para GTK+ (the Gimp ToolKit), uma
40 biblioteca GUI. GtkGLArea é construída em cima do gdkgl. Gdkgl é
41 basicamente um wrapper de funções GLX. GtkGLArea widget é derivado do
42 widget GtkDrawingArea e adiciona somente algumas funções.
44 %description -l ru.UTF-8
45 Так же как GTK+ строится поверх GDK, GtkGLArea построена поверх gdkgl,
46 которая по сути есть оберткой вокруг функций GLX. Сам виджет очень
47 похож на виджет GtkDrawinigArea и добавляет только три новые функции.
49 %description -l uk.UTF-8
50 Так само, як GTK+ будується поверх GDK, GtkGLArea побудована поверх
51 gdkgl, яка по суті є обгорткою навкруг функцій GLX. Сам віджет дуже
52 схожий на віджет GtkDrawinigArea та додає лише три нові функції.
55 Summary: GtkGLArea OpenGL widget for GTK+ - development libs and headers
56 Summary(pl.UTF-8): Pliki nagłówkowe GtkGLArea
57 Summary(pt_BR.UTF-8): Arquivos de inclusão para desenvolvimento de aplicações que usem a biblioteca GtkGLArea
58 Summary(ru.UTF-8): GtkGLArea - файлы для разработки программ
59 Summary(uk.UTF-8): GtkGLArea - файли для розробки програм
60 Summary(wa.UTF-8): GtkGLArea est on ahesse po GTK+ - fitchîs *.h èt statikès lîvreyes
61 Group: X11/Development/Libraries
62 Requires: %{name} = %{version}-%{release}
63 Requires: OpenGL-devel
64 Requires: gtk+-devel >= 1.2.0
65 Obsoletes: gtkglarea-devel < 1.99
66 Obsoletes: libgtkglarea5-devel
69 Header files for development using the GtkGLArea widget.
71 %description devel -l pl.UTF-8
72 Pliki nagłówkowe do budowania programów używających widgetu GtkGLArea.
74 %description devel -l pt_BR.UTF-8
75 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
76 que usem a biblioteca GtkGLArea.
78 %description devel -l ru.UTF-8
79 Файлы для разработки программ с использованием GtkGLArea.
81 %description devel -l uk.UTF-8
82 Файли для розробки програм з використанням GtkGLArea.
84 %description devel -l wa.UTF-8
85 Ci paket chal a dvins les fitchîs *.h eyèt les statikès lîvreyes k' i
86 gn a mezåjhe po fé des porogrames avou les foncsions di GtkGLArea.
89 Summary: GtkGLArea static libraries
90 Summary(pl.UTF-8): Statyczne biblioteki GtkGLArea
91 Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento de aplicações que usem a biblioteca GtkGLArea
92 Group: X11/Development/Libraries
93 Requires: %{name}-devel = %{version}-%{release}
94 Obsoletes: gtkglarea-static < 1.99
97 GtkGLArea (OpenGL for GTK+) static libraries.
99 %description static -l pl.UTF-8
100 Statyczne biblioteki GtkGLArea (OpenGL dla GTK+).
102 %description static -l pt_BR.UTF-8
103 Bibliotecas estáticas para desenvolvimento de aplicações que usem a
104 biblioteca GtkGLArea.
107 %setup -q -n gtkglarea-%{version}
112 cp /usr/share/automake/config.sub .
117 rm -rf $RPM_BUILD_ROOT
120 DESTDIR=$RPM_BUILD_ROOT \
121 m4datadir=%{_aclocaldir}
124 rm -rf $RPM_BUILD_ROOT
126 %post -p /sbin/ldconfig
127 %postun -p /sbin/ldconfig
130 %defattr(644,root,root,755)
131 %doc AUTHORS NEWS README
132 %attr(755,root,root) %{_libdir}/libgtkgl.so.*.*.*
133 %attr(755,root,root) %ghost %{_libdir}/libgtkgl.so.5
136 %defattr(644,root,root,755)
137 %doc ChangeLog docs/HOWTO.txt docs/gdkgl.txt docs/gtkglarea.txt
138 %attr(755,root,root) %{_libdir}/libgtkgl.so
139 %{_libdir}/libgtkgl.la
141 %{_aclocaldir}/gtkgl.m4
144 %defattr(644,root,root,755)
145 %{_libdir}/libgtkgl.a