]> git.pld-linux.org Git - SPECS.git/blob - gtkglarea1.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / gtkglarea1.spec
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+
8 Name:           gtkglarea1
9 Version:        1.2.3
10 Release:        10
11 License:        LGPL v2+
12 Group:          X11/Libraries
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
22 Requires:       OpenGL
23 Obsoletes:      gtkglarea < 1.99
24 Obsoletes:      libgtkglarea5
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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):   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
67
68 %description devel
69 Header files for development using the GtkGLArea widget.
70
71 %description devel -l pl.UTF-8
72 Pliki nagłówkowe do budowania programów używających widgetu GtkGLArea.
73
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.
77
78 %description devel -l ru.UTF-8
79 Файлы для разработки программ с использованием GtkGLArea.
80
81 %description devel -l uk.UTF-8
82 Файли для розробки програм з використанням GtkGLArea.
83
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.
87
88 %package static
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
95
96 %description static
97 GtkGLArea (OpenGL for GTK+) static libraries.
98
99 %description static -l pl.UTF-8
100 Statyczne biblioteki GtkGLArea (OpenGL dla GTK+).
101
102 %description static -l pt_BR.UTF-8
103 Bibliotecas estáticas para desenvolvimento de aplicações que usem a
104 biblioteca GtkGLArea.
105
106 %prep
107 %setup -q -n gtkglarea-%{version}
108 %patch0 -p1
109 %patch1 -p1
110
111 %build
112 cp /usr/share/automake/config.sub .
113 %configure
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT \
121         m4datadir=%{_aclocaldir}
122
123 %clean
124 rm -rf $RPM_BUILD_ROOT
125
126 %post   -p /sbin/ldconfig
127 %postun -p /sbin/ldconfig
128
129 %files
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
134
135 %files devel
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
140 %{_includedir}/gtkgl
141 %{_aclocaldir}/gtkgl.m4
142
143 %files static
144 %defattr(644,root,root,755)
145 %{_libdir}/libgtkgl.a
This page took 0.045248 seconds and 3 git commands to generate.