1 | #define __libtoolize: |
---|
2 | Summary: GtkGLExt is an OpenGL extension to GTK+ 2.0 or later. |
---|
3 | Summary(ja): GTK+ 2.0 以降の OpenGL 拡張 |
---|
4 | Name: gtkglext |
---|
5 | Version: 1.2.0 |
---|
6 | Release: 3%{?_dist_release} |
---|
7 | License: LGPL |
---|
8 | Group: System Environment/Libraries |
---|
9 | Source: %{name}-%{version}.tar.bz2 |
---|
10 | URL: http://gtkglext.sourceforge.net/ |
---|
11 | |
---|
12 | BuildRequires: gtk2-devel |
---|
13 | BuildRequires: xorg-x11-devel mesa-libGL-devel |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | Requires: gtk2 |
---|
17 | Requires: mesa-libGL |
---|
18 | |
---|
19 | |
---|
20 | %description |
---|
21 | GtkGLExt provides additional GDK objects which support OpenGL rendering in GTK+, and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable. |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development tools for GtkGLExt |
---|
25 | Summary(ja): GtkGLExt の開発ファイル類 |
---|
26 | Group: Development/Libraries |
---|
27 | Requires: %{name} = %{version} |
---|
28 | Requires: gtk2-devel |
---|
29 | Requires: mesa-libGL |
---|
30 | |
---|
31 | %description devel |
---|
32 | The gtkglext-devel package contains the header files and developer |
---|
33 | docs for the GtkGLExt. |
---|
34 | |
---|
35 | %prep |
---|
36 | %setup -q |
---|
37 | |
---|
38 | %build |
---|
39 | |
---|
40 | %configure |
---|
41 | make |
---|
42 | |
---|
43 | %install |
---|
44 | rm -rf $RPM_BUILD_ROOT |
---|
45 | %makeinstall |
---|
46 | ## remove unuse files |
---|
47 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
48 | |
---|
49 | |
---|
50 | %clean |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | |
---|
53 | %post -p /sbin/ldconfig |
---|
54 | |
---|
55 | %postun -p /sbin/ldconfig |
---|
56 | |
---|
57 | %files |
---|
58 | %defattr(-, root, root) |
---|
59 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
60 | %doc examples/ |
---|
61 | %{_libdir}/libgdkglext-x11-1.0.so.* |
---|
62 | %{_libdir}/libgtkglext-x11-1.0.so.* |
---|
63 | |
---|
64 | %files devel |
---|
65 | %defattr(-, root, root) |
---|
66 | %{_includedir}/gtkglext-1.0 |
---|
67 | %{_libdir}/gtkglext-1.0 |
---|
68 | %{_libdir}/libgdkglext-x11-1.0.a |
---|
69 | #%{_libdir}/libgdkglext-x11-1.0.la |
---|
70 | %{_libdir}/libgdkglext-x11-1.0.so |
---|
71 | %{_libdir}/libgtkglext-x11-1.0.a |
---|
72 | #%{_libdir}/libgtkglext-x11-1.0.la |
---|
73 | %{_libdir}/libgtkglext-x11-1.0.so |
---|
74 | %{_libdir}/pkgconfig/*.pc |
---|
75 | %{_datadir}/aclocal/gtkglext* |
---|
76 | %{_datadir}/gtk-doc/html/gtkglext |
---|
77 | |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-3vl5 |
---|
81 | - removed *.la |
---|
82 | - spec in utf-8 |
---|
83 | |
---|
84 | * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2vl5 |
---|
85 | - rebuilt with xorg-x11-devel |
---|
86 | |
---|
87 | * Mon Apr 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1vl5 |
---|
88 | - updated to 1.2.0 |
---|
89 | - added %%post and %%postun section |
---|
90 | |
---|
91 | * Sun Sep 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.6-0vl2 |
---|
92 | - not to run libtoolize in spec file |
---|
93 | - added Japanese summary |
---|
94 | |
---|
95 | * Fri Mar 26 2004 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> |
---|
96 | - (1.0.6-0vl1) |
---|
97 | - first packaging |
---|