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