]> git.pld-linux.org Git - packages/gtkglarea.git/blob - gtkglarea.spec
40366d37de6c3bc23b9ab91ab87c4dbe134f0ad3
[packages/gtkglarea.git] / gtkglarea.spec
1 Summary:        GtkGLArea OpenGL widget for GTK+
2 Summary(wa):    GtkGLArea est on ahesse pol toolkit grafike GTK+
3 Name:           gtkglarea
4 Version:        1.2.3
5 Release:        3
6 License:        LGPL
7 Group:          X11/Libraries
8 Group(de):      X11/Libraries
9 Group(es):      X11/Bibliotecas
10 Group(fr):      X11/Librairies
11 Group(pl):      X11/Biblioteki
12 Group(pt_BR):   X11/Bibliotecas
13 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
14 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
15 Source0:        http://www.student.oulu.fi/~jlof/gtkglarea/download/%{name}-%{version}.tar.gz
16 Requires:       OpenGL
17 BuildRequires:  OpenGL-devel
18 BuildRequires:  gtk+-devel => 1.2.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Obsoletes:      libgtkglarea5
21
22 %define         _noautoreqdep   libGL.so.1 libGLU.so.1
23 %define         _prefix         /usr/X11R6
24 %define         _datadir        /usr/share
25
26 %description
27 Just as GTK+ is build on top of GDK, GtkGLArea is built on top of
28 gdkgl which is basically wrapper around GLX functions. The widget
29 itself is derived from GtkDrawinigArea widget and adds only few extra
30 functions.
31
32 %description -l pl
33 Podobnie jak GTK+ jest zbudowane na GDK, tak i GtkGLArea powsta³o na
34 bazie gdkgl, który jest wrapperem funkcji GLX. Sam widget pochodzi od
35 GtkDrawingArea i posiada jedynie kilka dodatkowych funkcji.
36
37 %package devel
38 Summary:        GtkGLArea OpenGL widget for GTK+.  Development libs and headers
39 Summary(wa):    GtkGLArea est on ahesse po GTK+ - fitchîs *.h èt statikès lîvreyes
40 Group:          X11/Libraries
41 Group(de):      X11/Libraries
42 Group(es):      X11/Bibliotecas
43 Group(fr):      X11/Librairies
44 Group(pl):      X11/Biblioteki
45 Group(pt_BR):   X11/Bibliotecas
46 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
47 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
48 Requires:       %{name} = %{version}
49 Requires:       OpenGL-devel
50 Requires:       gtk+-devel => 1.2.0
51 Obsoletes:      libgtkglarea5-devel
52
53 %description devel
54 Header files for development using the GtkGLArea widget.
55
56 %description devel -l pl
57 Pliki nag³ówkowe do budowania programów u¿ywaj±cych widgetu GtkGLArea.
58
59 %description devel -l wa
60 Ci paket chal a dvins les fitchîs *.h eyèt les statikès lîvreyes k' i
61 gn a mezåjhe po fé des porogrames avou les foncsions di GtkGLArea.
62
63 %package static
64 Summary:        GtkGLArea static libraries
65 Summary(pl):    Statyczne biblioteki GtkGLArea
66 Group:          X11/Libraries
67 Group(de):      X11/Libraries
68 Group(es):      X11/Bibliotecas
69 Group(fr):      X11/Librairies
70 Group(pl):      X11/Biblioteki
71 Group(pt_BR):   X11/Bibliotecas
72 Group(ru):      X11/âÉÂÌÉÏÔÅËÉ
73 Group(uk):      X11/â¦Â̦ÏÔÅËÉ
74 Requires:       %{name}-devel = %{version}
75
76 %description static
77 GtkGLArea (OpenGL for GTK+) static libraries.
78
79 %description static -l pl
80 Statyczne biblioteki GtkGLArea (OpenGL dla GTK+).
81
82 %prep
83 %setup -q
84
85 %build
86 %configure
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install \
93         DESTDIR=$RPM_BUILD_ROOT \
94         m4datadir=%{_aclocaldir}
95
96 gzip -9nf AUTHORS ChangeLog NEWS README docs/HOWTO.txt docs/gdkgl.txt \
97         docs/gtkglarea.txt
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %post   -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
104
105 %files
106 %defattr(644,root,root,755)
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108
109 %files devel
110 %defattr(644,root,root,755)
111 %doc *gz docs/*.gz
112 %{_includedir}/gtkgl
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %attr(755,root,root) %{_libdir}/lib*.la
115 %{_aclocaldir}/*
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/lib*.*a
This page took 0.023523 seconds and 2 git commands to generate.