]> git.pld-linux.org Git - packages/gtkglarea.git/blob - gtkglarea.spec
- release 2,
[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.2
5 Release:        2
6 License:        LGPL
7 Group:          X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source0:        http://www.student.oulu.fi/~jlof/gtkglarea/download/%{name}-%{version}.tar.gz
10 BuildRequires:  gtk+-devel => 1.2.0
11 BuildRequires:  OpenGL-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %define         _prefix         /usr/X11R6
15 %define         _datadir        /usr/share
16
17 %description
18 Just as GTK+ is build on top of GDK, GtkGLArea is built on top of
19 gdkgl which is basically wrapper around GLX functions. The widget
20 itself is derived from GtkDrawinigArea widget and adds only few extra
21 functions.
22
23 %description -l pl
24 Podobnie jak GTK+ jest zbudowane na GDK, tak i GtkGLArea powsta³o na
25 bazie gdkgl, który jest wrapperem funkcji GLX. Sam widget pochodzi od
26 GtkDrawingArea i posiada jedynie kilka dodatkowych funkcji.
27
28 %package devel
29 Summary:        GtkGLArea OpenGL widget for GTK+.  Development libs and headers
30 Summary(wa):    GtkGLArea est on ahesse po GTK+ - fitchîs *.h èt statikès lîvreyes
31 Group:          X11/Libraries
32 Group(pl):      X11/Biblioteki
33 Requires:       %{name} = %{version}
34 Requires:       OpenGL-devel
35 Requires:       gtk+-devel => 1.2.0
36
37 %description devel
38 Static libraries and header files for development using the GtkGLArea
39 widget.
40
41 %description -l wa devel
42 Ci paket chal a dvins les fitchîs *.h eyèt les statikès lîvreyes k' i
43 gn a mezåjhe po fé des porogrames avou les foncsions di GtkGLArea.
44
45 %package static
46 Summary:        GtkGLArea OpenGL OpenGL for GTK+ static libraries
47 Group:          X11/Libraries
48 Group(pl):      X11/Biblioteki
49 Requires:       %{name}-devel = %{version}
50
51 %description static
52 GtkGLArea OpenGL OpenGL for GTK+ static libraries.
53
54 %prep
55 %setup -q
56
57 %build
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} DESTDIR=$RPM_BUILD_ROOT install
65
66 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
67
68 gzip -9nf AUTHORS ChangeLog NEWS README docs/HOWTO.txt docs/gdkgl.txt \
69         docs/gtkglarea.txt
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %files
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/lib*.so.*.*
80
81 %files devel
82 %defattr(644,root,root,755)
83 %doc *gz docs/*.gz
84
85 %{_includedir}/gtkgl
86 %attr(755,root,root) %{_libdir}/lib*.so
87 %attr(755,root,root) %{_libdir}/lib*.la
88 %{_aclocaldir}/*
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.*a
This page took 0.041437 seconds and 3 git commands to generate.