[521] | 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 |
---|
[6890] | 6 | Release: 6%{?_dist_release} |
---|
[521] | 7 | License: LGPL |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | Source: %{name}-%{version}.tar.bz2 |
---|
[5701] | 10 | # Upstream changes, addressing BZ 677457 |
---|
| 11 | Patch0: gtkglext-1.2.0-bz677457.diff |
---|
[6890] | 12 | Patch1: gtkglext-1.2.0-pangox-compat.patch |
---|
[521] | 13 | URL: http://gtkglext.sourceforge.net/ |
---|
| 14 | |
---|
| 15 | BuildRequires: gtk2-devel |
---|
[5701] | 16 | BuildRequires: xorg-x11-devel |
---|
| 17 | BuildRequires: mesa-libGL-devel |
---|
| 18 | BuildRequires: mesa-libGLU-devel |
---|
[6890] | 19 | BuildRequires: pangox-compat-devel |
---|
[521] | 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
| 22 | Requires: gtk2 |
---|
| 23 | Requires: mesa-libGL |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | GtkGLExt provides additional GDK objects which support OpenGL rendering in GTK+, and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable. |
---|
| 28 | |
---|
| 29 | %package devel |
---|
| 30 | Summary: Development tools for GtkGLExt |
---|
| 31 | Summary(ja): GtkGLExt の開発ファイル類 |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name} = %{version} |
---|
| 34 | Requires: gtk2-devel |
---|
[5701] | 35 | Requires: libXmu-devel |
---|
| 36 | Requires: mesa-libGL-devel |
---|
| 37 | Requires: mesa-libGLU-devel |
---|
[521] | 38 | |
---|
| 39 | %description devel |
---|
| 40 | The gtkglext-devel package contains the header files and developer |
---|
| 41 | docs for the GtkGLExt. |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
[5701] | 45 | %patch0 -p1 |
---|
[6890] | 46 | %patch1 -p1 -b .pangox-compat |
---|
[521] | 47 | |
---|
| 48 | %build |
---|
| 49 | |
---|
| 50 | %configure |
---|
| 51 | make |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | rm -rf $RPM_BUILD_ROOT |
---|
| 55 | %makeinstall |
---|
| 56 | ## remove unuse files |
---|
| 57 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | rm -rf $RPM_BUILD_ROOT |
---|
| 62 | |
---|
| 63 | %post -p /sbin/ldconfig |
---|
| 64 | |
---|
| 65 | %postun -p /sbin/ldconfig |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %defattr(-, root, root) |
---|
| 69 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 70 | %doc examples/ |
---|
| 71 | %{_libdir}/libgdkglext-x11-1.0.so.* |
---|
| 72 | %{_libdir}/libgtkglext-x11-1.0.so.* |
---|
| 73 | |
---|
| 74 | %files devel |
---|
| 75 | %defattr(-, root, root) |
---|
| 76 | %{_includedir}/gtkglext-1.0 |
---|
| 77 | %{_libdir}/gtkglext-1.0 |
---|
| 78 | %{_libdir}/libgdkglext-x11-1.0.a |
---|
| 79 | #%{_libdir}/libgdkglext-x11-1.0.la |
---|
| 80 | %{_libdir}/libgdkglext-x11-1.0.so |
---|
| 81 | %{_libdir}/libgtkglext-x11-1.0.a |
---|
| 82 | #%{_libdir}/libgtkglext-x11-1.0.la |
---|
| 83 | %{_libdir}/libgtkglext-x11-1.0.so |
---|
| 84 | %{_libdir}/pkgconfig/*.pc |
---|
| 85 | %{_datadir}/aclocal/gtkglext* |
---|
| 86 | %{_datadir}/gtk-doc/html/gtkglext |
---|
| 87 | |
---|
| 88 | |
---|
| 89 | %changelog |
---|
[6890] | 90 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-6 |
---|
| 91 | - add BuildRequires: pangox-compat-devel |
---|
| 92 | - add Patch1 (gtkglext-1.2.0-pangox-compat.patch) |
---|
| 93 | |
---|
[5701] | 94 | * Sat Feb 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-5 |
---|
| 95 | - add Patch0 (gtkglext-1.2.0-bz677457.diff) |
---|
| 96 | - add BuildRequires: mesa-libGLU-devel |
---|
| 97 | - add Requires: libXmu-devel, mesa-libGL-devel, mesa-libGLU-devel (-devel package) |
---|
| 98 | |
---|
[1989] | 99 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0-4 |
---|
| 100 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 101 | |
---|
[521] | 102 | * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-3vl5 |
---|
| 103 | - removed *.la |
---|
| 104 | - spec in utf-8 |
---|
| 105 | |
---|
| 106 | * Wed Jul 23 2008 Shu KONNO <owa@bg.wakwak.com> 1.2.0-2vl5 |
---|
| 107 | - rebuilt with xorg-x11-devel |
---|
| 108 | |
---|
| 109 | * Mon Apr 21 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.2.0-1vl5 |
---|
| 110 | - updated to 1.2.0 |
---|
| 111 | - added %%post and %%postun section |
---|
| 112 | |
---|
| 113 | * Sun Sep 4 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.6-0vl2 |
---|
| 114 | - not to run libtoolize in spec file |
---|
| 115 | - added Japanese summary |
---|
| 116 | |
---|
| 117 | * Fri Mar 26 2004 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp> |
---|
| 118 | - (1.0.6-0vl1) |
---|
| 119 | - first packaging |
---|