2024-01-06 04:30:58 +01:00
|
|
|
%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
|
2024-01-06 04:30:59 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 04:30:58 +01:00
|
|
|
Summary: Theme engines for GTK+ %{gtk_api_ver}
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
2024-01-06 04:30:59 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 04:30:58 +01:00
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgtk-devel
|
2024-01-06 04:30:59 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 04:30:58 +01:00
|
|
|
BuildRequires: libpango-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 04:30:59 +01:00
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: intltool
|
2024-01-06 04:30:58 +01:00
|
|
|
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}.
|
2024-01-06 04:30:59 +01:00
|
|
|
This package contains libraries and header files needed for development.
|
2024-01-06 04:30:58 +01:00
|
|
|
|
|
|
|
%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}.
|
2024-01-06 04:30:59 +01:00
|
|
|
This package contains static libraries needed for development.
|
2024-01-06 04:30:58 +01:00
|
|
|
|
2024-01-06 04:30:59 +01:00
|
|
|
%debug_package
|
2024-01-06 04:30:58 +01:00
|
|
|
|
2024-01-06 04:30:59 +01:00
|
|
|
%prep
|
2024-01-06 04:30:58 +01:00
|
|
|
%setup -q -n gtk-engines-%{version}
|
2024-01-06 04:30:59 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
2024-01-06 04:30:58 +01:00
|
|
|
#%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
|
2024-01-06 04:30:59 +01:00
|
|
|
* Fri Dec 18 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.91.1-2mamba
|
|
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
|
2024-01-06 04:30:58 +01:00
|
|
|
* Tue Oct 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.91.1-1mamba
|
|
|
|
- update to 2.91.1
|
|
|
|
|
|
|
|
* Fri Dec 21 2012 Automatic Build System <autodist@mambasoft.it> 2.21.0-1mamba
|
|
|
|
- update to 2.21.0
|
|
|
|
|
|
|
|
* Sun May 22 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.20.2-2mamba
|
|
|
|
- rebuilt in current devel
|
|
|
|
|
|
|
|
* Fri Oct 15 2010 gil <puntogil@libero.it> 2.20.2-1mamba
|
|
|
|
- package created by autospec
|