%define majver %(echo %version | cut -d. -f1-2) %define gtk_api_ver 3.0 %define api_ver 3.0.0 Name: libgtk-engines Version: 2.91.1 Release: 2mamba Summary: Theme engines for GTK+ %{gtk_api_ver} Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/%{majver}/gtk-engines-%{version}.tar.bz2 # from fedora # http://bugzilla.gnome.org/show_bug.cgi?id=593030 Patch0: gtk-engines-2.18.2-change-bullet.patch # turn on new tooltips look Patch1: gtk-engines-2.18.4-tooltips.patch # enable automatic mnemonics Patch2: gtk-engines-2.19.0-auto-mnemonics.patch # allow dragging on empty areas in menubars Patch3: gtk-engines-2.19.0-window-dragging.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libharfbuzz-devel BuildRequires: libpango-devel ## AUTOBUILDREQ-END BuildRequires: gettext BuildRequires: intltool BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The gtk-engines package contains shared objects and configuration files that implement a number of GTK+ theme engines. Theme engines provide different looks for GTK+, some of which resemble other toolkits or operating systems. %package devel Summary: Devel package for %{name} Group: Development/Libraries Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel Theme engines for GTK+ %{gtk_api_ver}. This package contains libraries and header files needed for development. %package static Summary: Static libraries for %{name} Group: Development/Libraries Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release} %description static Theme engines for GTK+ %{gtk_api_ver}. This package contains static libraries needed for development. %debug_package %prep %setup -q -n gtk-engines-%{version} sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub #%patch0 -p1 -b .bullet #%patch1 -p1 -b .tooltips #%patch2 -p1 -b .mnemonics #%patch3 -p1 -b .window-dragging %build %configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang gtk3-engines %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f gtk3-engines.lang %defattr(-,root,root) %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libclearlooks.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libcrux-engine.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libglide.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libhcengine.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libindustrial.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libmist.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libredmond95.so %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libthinice.so %dir %{_datadir}/gtk-engines %dir %{_datadir}/gtk-engines/%{gtk_api_ver} %{_datadir}/gtk-engines/%{gtk_api_ver}/clearlooks.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/crux-engine.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/glide.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/hcengine.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/industrial.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/mist.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/redmond95.xml %{_datadir}/gtk-engines/%{gtk_api_ver}/thinice.xml %dir %{_datadir}/themes/Clearlooks/gtk-%{gtk_api_ver} %{_datadir}/themes/Clearlooks/gtk-%{gtk_api_ver}/* %{_datadir}/themes/Crux/gtk-%{gtk_api_ver}/gtkrc %dir %{_datadir}/themes/GNOME3 %dir %{_datadir}/themes/GNOME3/gtk-%{gtk_api_ver} %{_datadir}/themes/GNOME3/gtk-%{gtk_api_ver}/gtkrc %dir %{_datadir}/themes/GNOME3/metacity-1 %{_datadir}/themes/GNOME3/metacity-1/* %{_datadir}/themes/Industrial/gtk-%{gtk_api_ver}/gtkrc %{_datadir}/themes/Mist/gtk-%{gtk_api_ver}/gtkrc %{_datadir}/themes/Redmond/gtk-%{gtk_api_ver}/gtkrc %{_datadir}/themes/ThinIce/gtk-%{gtk_api_ver}/gtkrc %doc AUTHORS COPYING ChangeLog NEWS README %files devel %defattr(-,root,root) %{_libdir}/pkgconfig/gtk-engines-3.pc %files static %defattr(-,root,root) %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libclearlooks.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libcrux-engine.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libglide.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libhcengine.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libindustrial.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libmist.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libredmond95.la %{_libdir}/gtk-%{gtk_api_ver}/%{api_ver}/engines/libthinice.la %changelog * Fri Dec 18 2020 Silvan Calarco 2.91.1-2mamba - rebuilt with debug package and aarch64 build fix * Tue Oct 29 2013 Silvan Calarco 2.91.1-1mamba - update to 2.91.1 * Fri Dec 21 2012 Automatic Build System 2.21.0-1mamba - update to 2.21.0 * Sun May 22 2011 Silvan Calarco 2.20.2-2mamba - rebuilt in current devel * Fri Oct 15 2010 gil 2.20.2-1mamba - package created by autospec