libgtkglext/libgtkglext.spec

128 lines
3.6 KiB
RPMSpec

Name: libgtkglext
Version: 1.2.0
Release: 6mamba
Summary: OpenGL extensions for GTK2
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnome.org
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
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libX11-devel
BuildRequires: libXmu-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
## 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
Obsoletes: libpangox
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OpenGL extensions for GTK2.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
Obsoletes: libpangox-devel
%description devel
OpenGL extensions for GTK2.
This package contains static libraries and header files need for development.
%debug_package
%prep
%setup -q -n gtkglext-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
autoreconf -vi
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%configure \
--with-x \
--with-gdktarget=x11
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
%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
* 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
* 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