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