2024-01-06 04:31:27 +01:00
|
|
|
Name: libgtkglext
|
|
|
|
Version: 1.2.0
|
2024-01-06 04:31:27 +01:00
|
|
|
Release: 6mamba
|
2024-01-06 04:31:27 +01:00
|
|
|
Summary: OpenGL extensions for GTK2
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.gnome.org
|
2024-01-06 04:31:27 +01:00
|
|
|
Source: http://downloads.sourceforge.net/sourceforge/gtkglext/gtkglext-%{version}.tar.bz2
|
|
|
|
Patch0: libgtkglext-1.2.0-libgtk-2.20.patch
|
|
|
|
Patch1: libgtkglext-1.2.0-gcc-8.patch
|
|
|
|
Patch2: libgtkglext-1.2.0-kill-pangox.patch
|
2024-01-06 04:31:27 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 04:31:27 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 04:31:27 +01:00
|
|
|
BuildRequires: libGL-devel
|
|
|
|
BuildRequires: libGLU-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXmu-devel
|
2024-01-06 04:31:27 +01:00
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libpango-devel
|
2024-01-06 04:31:27 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: libXcursor-devel >= 1.1.6
|
|
|
|
BuildRequires: libXext-devel >= 1.0.1
|
|
|
|
BuildRequires: libXfixes-devel >= 4.0.1
|
|
|
|
BuildRequires: libXinerama-devel >= 1.0.1
|
|
|
|
BuildRequires: libXrandr-devel >= 1.1.2
|
|
|
|
BuildRequires: libXrender-devel >= 0.9.1
|
|
|
|
BuildRequires: libXxf86vm-devel >= 1.0.1
|
2024-01-06 04:31:27 +01:00
|
|
|
Obsoletes: libpangox
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
2024-01-06 04:31:27 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
OpenGL extensions for GTK2.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
2024-01-06 04:31:27 +01:00
|
|
|
Obsoletes: libpangox-devel
|
2024-01-06 04:31:27 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
OpenGL extensions for GTK2.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 04:31:27 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:31:27 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n gtkglext-%{version}
|
2024-01-06 04:31:27 +01:00
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
|
|
|
|
|
|
|
autoreconf -vi
|
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
2024-01-06 04:31:27 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--with-x \
|
|
|
|
--with-gdktarget=x11
|
|
|
|
|
2024-01-06 04:31:27 +01:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
2024-01-06 04:31:27 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgtkglext*.so.*
|
|
|
|
%{_libdir}/libgdkglext*.so.*
|
|
|
|
%doc AUTHORS COPYING COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libgtkglext*.a
|
|
|
|
%{_libdir}/libgtkglext*.la
|
|
|
|
%{_libdir}/libgtkglext*.so
|
|
|
|
%{_libdir}/libgdkglext*.a
|
|
|
|
%{_libdir}/libgdkglext*.la
|
|
|
|
%{_libdir}/libgdkglext*.so
|
|
|
|
%{_libdir}/gtkglext-1.0/include/gdkglext-config.h
|
|
|
|
%dir %{_includedir}/gtkglext-1.0/gdk/glext
|
|
|
|
%{_includedir}/gtkglext-1.0/gdk/glext/*.h
|
|
|
|
%dir %{_includedir}/gtkglext-1.0/gdk
|
|
|
|
%{_includedir}/gtkglext-1.0/gdk/*.h
|
|
|
|
%dir %{_includedir}/gtkglext-1.0/gdk/x11
|
|
|
|
%{_includedir}/gtkglext-1.0/gdk/x11/*.h
|
|
|
|
%dir %{_includedir}/gtkglext-1.0/gtk
|
|
|
|
%{_includedir}/gtkglext-1.0/gtk/*.h
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_datadir}/aclocal/gtkglext-1.0.m4
|
|
|
|
%{_datadir}/gtk-doc/html/gtkglext/*
|
|
|
|
%doc TODO ChangeLog ChangeLog.pre-1-0 README README.win32
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:31:27 +01:00
|
|
|
* Tue May 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-6mamba
|
|
|
|
- remove link against obsoleted libpangox
|
|
|
|
|
|
|
|
* Tue May 26 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-5mamba
|
|
|
|
- rebuilt with current libgtk
|
|
|
|
|
2024-01-06 04:31:27 +01:00
|
|
|
* Mon Nov 26 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-4mamba
|
|
|
|
- rebuilt to remove libGL.la requirement from .la file
|
|
|
|
|
|
|
|
* Mon Jul 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-3mamba
|
|
|
|
- rebuilt to clean .la file
|
|
|
|
|
|
|
|
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Feb 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-1qilnx
|
|
|
|
- update to version 1.2.0 by autospec
|
|
|
|
|
|
|
|
* Mon Feb 05 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.6-2qilnx
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Nov 09 2005 Silvan Calarco <silvan.calarco@qilinux.it> 1.0.6-1qilnx
|
|
|
|
- package created by autospec
|