xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #635: gtkglext.spec

File gtkglext.spec, 5.8 KB (added by Antoine Martin, 7 years ago)

specfile from Fedora for gtkglext

Line 
1%define api_version             1.0
2
3Summary:        OpenGL Extension to GTK
4Name:           gtkglext
5Version:        1.2.0
6Release:        22%{?dist}
7
8License:        LGPLv2+ or GPLv2+
9Group:          System Environment/Libraries
10URL:            http://gtkglext.sourceforge.net/
11Source0:        ftp://ftp.gnome.org/pub/gnome/sources/gtkglext/1.2/gtkglext-%{version}.tar.bz2
12# Upstream changes, addressing BZ 677457
13Patch0:         gtkglext-1.2.0-bz677457.diff
14# config.{sub,guess} from automake-1.13.4, addressing BZ 925512
15Patch1:         gtkglext-1.2.0-config.diff
16
17BuildRequires:  gtk2-devel
18BuildRequires:  libGLU-devel
19BuildRequires:  libGL-devel
20# Conditional build feature
21BuildRequires:  libXmu-devel
22# The configure script checks for X11/Intrinsic.h
23BuildRequires:  libXt-devel
24BuildRequires:  pangox-compat-devel
25
26Requires(postun):       /sbin/ldconfig
27Requires(post):         /sbin/ldconfig
28
29%description
30GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
31which support OpenGL rendering in GTK, and GtkWidget API add-ons to
32make GTK+ widgets OpenGL-capable.
33
34%package libs
35Summary:        OpenGL Extension to GTK
36Group:          System Environment/Libraries
37License:        LGPLv2+
38
39%description libs
40GtkGLExt is an OpenGL extension to GTK. It provides the GDK objects
41which support OpenGL rendering in GTK, and GtkWidget API add-ons to
42make GTK+ widgets OpenGL-capable.
43
44%package devel
45Summary:        Development tools for GTK-based OpenGL applications
46Group:          Development/Libraries
47License:        LGPLv2+
48
49Requires:       %{name}-libs%{?_isa} = %{version}-%{release}
50Requires:       gtk2-devel
51Requires:       libGL-devel
52Requires:       libGLU-devel
53Requires:       libXmu-devel
54
55%description devel
56The gtkglext-devel package contains the header files, static libraries,
57and developer docs for GtkGLExt.
58
59%prep
60%setup -q -n gtkglext-%{version}
61%patch0 -p1
62%patch1 -p1
63
64%build
65%configure --disable-gtk-doc --disable-static
66sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
67sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
68
69make
70
71%install
72make DESTDIR=$RPM_BUILD_ROOT install
73rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
74
75%post libs
76/sbin/ldconfig
77
78%postun libs
79/sbin/ldconfig
80
81%files libs
82%doc AUTHORS COPYING COPYING.LIB ChangeLog README TODO
83%{_libdir}/libgdkglext-x11-%{api_version}.so.*
84%{_libdir}/libgtkglext-x11-%{api_version}.so.*
85
86%files devel
87%{_includedir}/*
88%{_libdir}/gtkglext-%{api_version}
89%{_libdir}/lib*.so
90%{_libdir}/pkgconfig/*
91%{_datadir}/aclocal/*
92%doc %{_datadir}/gtk-doc/html/*
93
94%changelog
95* Wed Aug 28 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.2.0-22
96- Update config.sub|guess from automake-1.13.4 for aarch64
97  (Add gtkglext-1.2.0-config.diff; RHBZ#925512).
98
99* Tue Aug 27 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.2.0-21
100- Add BR: pangox-compat-devel (RHBZ#850813, F19FTBFS RHBZ#914061, F20FTBFS RHBZ#992448).
101- Spec cleanup.
102
103* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-20
104- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
105
106* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-19
107- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
108
109* Mon Jul 23 2012 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.2.0-18
110- Remove hard-coded rpath (BZ 828527).
111- Reflect Source0:-URL having changed.
112
113* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-17
114- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
115
116* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-16
117- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
118
119* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.2.0-15
120- Rebuild for new libpng
121
122* Thu Feb 17 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.2.0-14
123- Apply %%patch0.
124
125* Thu Feb 17 2011 Michael Schwendt <mschwendt@fedoraproject.org> - 1.2.0-13
126- Fix dependency in gtkglext-devel (-> gtkglext-libs).
127
128* Wed Feb 16 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.2.0-12
129- Add gtkglext-1.2.0-bz677457.diff (BZ 677457).
130- Spec file cleanup.
131
132* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-11
133- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
134
135* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-10
136- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
137
138* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-9
139- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
140
141* Sun Dec 07 2008 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 1.2.0-8
142- Rebuild for pkgconfig provides
143
144* Tue Jun 03 2008 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-7
145- Use 0%%{?fedora} conditionals instead of "%%{fedora}" (BZ 449635).
146
147* Sun Feb 10 2008 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-6
148- Rebuild for gcc43.
149
150* Wed Aug 22 2007 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-5
151- Don't install *.la's for fedora >= 8.
152- Update license tags.
153- Split out *-libs.
154
155* Tue Sep 05 2006 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-4
156- Mass rebuild.
157
158* Mon Aug 14 2006 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-3
159- BR: libXmu-devel (Braden McDaniel).
160- *-devel: R: libXmu-devel.
161- *-devel: R: pkgconfig.
162
163* Tue Feb 14 2006 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-2
164- Require: libGLU-devel (PR 181018)
165
166* Mon Feb 06 2006 Ralf Corsépius <rc040203@freenet.de> - 1.2.0-1
167- Upstream update.
168- Spec file cleanup.
169- Disable static libs.
170
171* Thu Jan 05 2006 Ralf Corsepius <ralf@links2linux.de> - 1.0.6-3
172- Add %%dist.
173- Adaptations to modular X .
174- Remove gcc-c++ (Already in default deps).
175
176* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
177- rebuilt
178
179* Mon Jun 07 2004 Ralf Corsepius <ralf@links2linux.de> - 1.0.6-0.fdr.1
180- Spec cleanups.
181
182* Fri Jun 04 2004 Ralf Corsepius <ralf@links2linux.de> - 1.0.6-0.fdr.0
183- Initial fedora rpm spec, loosely derived from the version shipped
184  with gtkglext.