]> git.pld-linux.org Git - SPECS.git/blob - gtkglarea.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / gtkglarea.spec
1 Summary:        GtkGLArea OpenGL widget for GTK+
2 Summary(pl.UTF-8):      GtkGLArea - kontrolka GTK+ do prezentacji obiektów OpenGL
3 Summary(pt_BR.UTF-8):   Um widget OpenGL para a biblioteca GUI GTK+
4 Summary(ru.UTF-8):      GtkGLArea - это OpenGL виджет для GTK+
5 Summary(uk.UTF-8):      GtkGLArea - це OpenGL віджет для GTK+
6 Summary(wa.UTF-8):      GtkGLArea est on ahesse pol toolkit grafike GTK+
7 Name:           gtkglarea
8 Version:        2.0.1
9 Release:        4
10 License:        LGPL v2+
11 Group:          X11/Libraries
12 Source0:        http://ftp.gnome.org/pub/GNOME/sources/gtkglarea/2.0/%{name}-%{version}.tar.bz2
13 # Source0-md5:  19af1b2185555b3bb28eef8bbaa36067
14 Patch0:         format-security.patch
15 # libGLU for examples only
16 BuildRequires:  OpenGL-GLU-devel
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gtk+2-devel >= 1:2.1.3-3
20 BuildRequires:  libtool
21 BuildRequires:  pkgconfig
22 Obsoletes:      libgtkglarea5
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
26
27 %description
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
31 functions.
32
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.
37
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.
43
44 %description -l ru.UTF-8
45 Так же как GTK+ строится поверх GDK, GtkGLArea построена поверх gdkgl,
46 которая по сути есть оберткой вокруг функций GLX. Сам виджет очень
47 похож на виджет GtkDrawinigArea и добавляет только три новые функции.
48
49 %description -l uk.UTF-8
50 Так само, як GTK+ будується поверх GDK, GtkGLArea побудована поверх
51 gdkgl, яка по суті є обгорткою навкруг функцій GLX. Сам віджет дуже
52 схожий на віджет GtkDrawinigArea та додає лише три нові функції.
53
54 %package devel
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):   Bibliotecas e 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+2-devel >= 1:2.1.2
65 Obsoletes:      libgtkglarea5-devel
66
67 %description devel
68 Header files for development using the GtkGLArea widget.
69
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe do budowania programów używających widgetu GtkGLArea.
72
73 %description devel -l pt_BR.UTF-8
74 Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
75 que usem a biblioteca GtkGLArea.
76
77 %description devel -l ru.UTF-8
78 Файлы для разработки программ с использованием GtkGLArea.
79
80 %description devel -l uk.UTF-8
81 Файли для розробки програм з використанням GtkGLArea.
82
83 %description devel -l wa.UTF-8
84 Ci paket chal a dvins les fitchîs *.h eyèt les statikès lîvreyes k' i
85 gn a mezåjhe po fé des porogrames avou les foncsions di GtkGLArea.
86
87 %package static
88 Summary:        GtkGLArea static libraries
89 Summary(pl.UTF-8):      Statyczne biblioteki GtkGLArea
90 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento de aplicações que usem a biblioteca GtkGLArea
91 Group:          X11/Development/Libraries
92 Requires:       %{name}-devel = %{version}-%{release}
93
94 %description static
95 GtkGLArea (OpenGL for GTK+) static libraries.
96
97 %description static -l pl.UTF-8
98 Statyczne biblioteki GtkGLArea (OpenGL dla GTK+).
99
100 %description static -l pt_BR.UTF-8
101 Bibliotecas estáticas para desenvolvimento de aplicações que usem a
102 biblioteca GtkGLArea.
103
104 %prep
105 %setup -q
106 %patch0 -p1
107
108 %build
109 %{__libtoolize}
110 %{__aclocal}
111 %{__autoconf}
112 %{__autoheader}
113 %{__automake}
114 %configure
115
116 # lib doesn't use libGLU
117 %{__make} -C gtkgl \
118         GL_LIBS="-lGL"
119
120 # but examples do
121 %{__make}
122
123 %install
124 rm -rf $RPM_BUILD_ROOT
125
126 %{__make} install \
127         DESTDIR=$RPM_BUILD_ROOT
128
129 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtkgl-2.0.la
130
131 %clean
132 rm -rf $RPM_BUILD_ROOT
133
134 %post   -p /sbin/ldconfig
135 %postun -p /sbin/ldconfig
136
137 %files
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_libdir}/libgtkgl-2.0.so.*.*.*
140 %attr(755,root,root) %ghost %{_libdir}/libgtkgl-2.0.so.1
141
142 %files devel
143 %defattr(644,root,root,755)
144 %doc AUTHORS ChangeLog NEWS README docs/*.txt
145 %attr(755,root,root) %{_libdir}/libgtkgl-2.0.so
146 %{_includedir}/gtkgl-2.0
147 %{_pkgconfigdir}/gtkgl-2.0.pc
148
149 %files static
150 %defattr(644,root,root,755)
151 %{_libdir}/libgtkgl-2.0.a
This page took 0.963432 seconds and 3 git commands to generate.