source: projects/specs/trunk/g/gtkglext/gtkglext-vl.spec @ 7660

Revision 7660, 3.1 KB checked in by daisuke, 11 years ago (diff)

fix to build on Vine6

Line 
1#define __libtoolize:
2Summary: GtkGLExt is an OpenGL extension to GTK+ 2.0 or later.
3Summary(ja): GTK+ 2.0 以降の OpenGL 拡張
4Name: gtkglext
5Version: 1.2.0
6Release: 7%{?_dist_release}
7License: LGPL
8Group: System Environment/Libraries
9Source: %{name}-%{version}.tar.bz2
10# Upstream changes, addressing BZ 677457
11Patch0:         gtkglext-1.2.0-bz677457.diff
12Patch1:         gtkglext-1.2.0-pangox-compat.patch
13URL: http://gtkglext.sourceforge.net/
14
15BuildRoot: %{_tmppath}/%{name}-%{version}-root
16BuildRequires: gtk2-devel
17BuildRequires: xorg-x11-devel
18BuildRequires: mesa-libGL-devel
19BuildRequires: mesa-libGLU-devel
20%if "%{_dist_release}" >= "vl7"
21BuildRequires: pangox-compat-devel
22%endif
23
24Requires: gtk2
25Requires: mesa-libGL
26
27
28%description
29GtkGLExt 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
32Summary: Development tools for GtkGLExt
33Summary(ja): GtkGLExt の開発ファイル類
34Group: Development/Libraries
35Requires: %{name} = %{version}
36Requires: gtk2-devel
37Requires: libXmu-devel
38Requires: mesa-libGL-devel
39Requires: mesa-libGLU-devel
40
41%description devel
42The gtkglext-devel package contains the header files and developer
43docs for the GtkGLExt.
44
45%prep
46%setup -q
47%patch0 -p1
48%if "%{_dist_release}" >= "vl7"
49%patch1 -p1 -b .pangox-compat
50%endif
51
52%build
53
54%configure
55make
56
57%install
58rm -rf $RPM_BUILD_ROOT
59%makeinstall
60## remove unuse files
61rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
62
63
64%clean
65rm -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
94* Tue Apr 23 2013 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-7
95- do not apply patch1
96
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
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
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
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
Note: See TracBrowser for help on using the repository browser.