Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-gtk3
mingw32-gtk3.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-gtk3.spec of Package mingw32-gtk3
# # spec file for package mingw32-gtk3 # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global _mingw32_find_requires_exclude hid.dll %{nil} %define doc 0 Name: mingw32-gtk3 Version: 3.24.34 Release: 0 Summary: The GTK+ toolkit library (version 3) License: LGPL-2.0-or-later Group: Development/Libraries/GNOME Url: http://www.gtk.org/ Source: http://download.gnome.org/sources/gtk+/3.24/gtk+-%{version}.tar.xz #Patch0: 0001-Save-Windows-XP-compatibility.patch #!BuildIgnore: post-build-checks # Native one for msgfmt BuildRequires: gettext-tools # Native one for glib-genmarshal BuildRequires: glib2-devel BuildRequires: gobject-introspection BuildRequires: gtk-doc # Native one for gtk-update-icon-cache BuildRequires: gtk2 BuildRequires: mingw32-atk-devel >= 2.7.5 BuildRequires: mingw32-cairo-devel >= 1.12.0 BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-meson BuildRequires: mingw32-gdk-pixbuf-devel >= 2.27.1 BuildRequires: mingw32-glib2-devel >= 2.45.8 BuildRequires: mingw32-libepoxy-devel BuildRequires: mingw32-libintl-devel BuildRequires: mingw32-libjasper-devel BuildRequires: mingw32-pango-devel >= 1.37.3 BuildRequires: mingw32-win_iconv-devel %if 0%{?suse_version} >= 1500 BuildRequires: python2-xml %endif BuildRequires: xz %_mingw32_package_header_debug BuildArch: noarch # Native one for gdk-pixbuf-csource %if 0%{?suse_version} >= 1140 BuildRequires: gdk-pixbuf-devel %else BuildRequires: gtk2-devel %endif %description GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. %package -n mingw32-libgtk-3-0 Summary: The GTK+ toolkit library (version 3) License: LGPL-2.0-or-later Group: System/Libraries Requires: %{name}-data >= %{version} Requires: %{name}-lang = %{version}-%{release} Obsoletes: mingw32-gtk3 < %{version}-%{release} Provides: mingw32-gtk3 = %{version}-%{release} %description -n mingw32-libgtk-3-0 GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. %package tools Summary: The GTK+ toolkit library (version 3) -- Tools License: LGPL-2.1-or-later Group: System/Libraries %description tools GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. %package data Summary: The GTK+ toolkit library (version 3) -- Data Files License: LGPL-2.1-or-later Group: System/Libraries %description data GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. %package devel Summary: The GTK+ toolkit library (version 3) -- Development Files License: LGPL-2.0-or-later Group: Development/Libraries/GNOME %description devel GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. This package contains the development files for GTK+ 3.x. %package -n mingw32-gettext-its-gtk3 Summary: International Tag Set for GTK+ 4 License: LGPL-2.1-or-later Group: System/Libraries %description -n mingw32-gettext-its-gtk3 GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites. This package enhances gettext with an International Tag Set for GTK+ 3.x. %_mingw32_debug_package %lang_package -n %{name} -r mingw32-libgtk-3-0 %prep %setup -q -n gtk+-%{version} %build export PATH="%{_mingw32_bindir}:$PATH" %_mingw32_meson -Dintrospection=false %_mingw32_meson_build %install %_mingw32_meson_install # Some little fixups %if 0 rm -f %{buildroot}%{_mingw32_libdir}/charset.alias rm -f %{buildroot}%{_mingw32_libdir}/libgtkreftestprivate.a rm -f %{buildroot}%{_mingw32_libdir}/libgtkreftestprivate.dll.a rm -f %{buildroot}%{_mingw32_bindir}/libgtkreftestprivate*.dll %endif mv %{buildroot}%{_mingw32_bindir}/gtk-update-icon-cache.exe \ %{buildroot}%{_mingw32_bindir}/gtk-update-icon-cache-3.0.exe (echo 'gtk-theme-name = "MS-Windows"' echo 'gtk-fallback-icon-theme = "Tango"') >%{buildroot}%{_mingw32_sysconfdir}/gtk-3.0/gtkrc %find_lang gtk30 %find_lang gtk30-properties gtk30.lang %files -n mingw32-libgtk-3-0 %defattr(-,root,root) %{_mingw32_bindir}/libgailutil-3-0.dll %{_mingw32_bindir}/libgdk-3-0.dll %{_mingw32_bindir}/libgtk-3-0.dll %{_mingw32_sysconfdir}/gtk-3.0/ %files lang -f gtk30.lang %defattr(-,root,root) %files tools %defattr(-,root,root) %{_mingw32_bindir}/gtk3-icon-browser.exe %{_mingw32_bindir}/gtk-builder-tool.exe %{_mingw32_bindir}/gtk-encode-symbolic-svg.exe %{_mingw32_bindir}/gtk-launch.exe %{_mingw32_bindir}/gtk-query-immodules-3.0.exe %{_mingw32_bindir}/gtk-query-settings.exe %{_mingw32_bindir}/gtk-update-icon-cache-3.0.exe %{_mingw32_datadir}/applications/gtk3-icon-browser.desktop %if %doc %{_mingw32_mandir}/man1/gtk3-icon-browser.1* %{_mingw32_mandir}/man1/gtk-builder-tool.1* %{_mingw32_mandir}/man1/gtk-encode-symbolic-svg.1* %{_mingw32_mandir}/man1/broadwayd.1.gz %{_mingw32_mandir}/man1/gtk-launch.1* %{_mingw32_mandir}/man1/gtk-query-immodules-3.0*.1* %{_mingw32_mandir}/man1/gtk-query-settings.1* %{_mingw32_mandir}/man1/gtk-update-icon-cache.1* %endif %files data %defattr(-,root,root) %{_mingw32_datadir}/glib-2.0/schemas/org.gtk.Settings.ColorChooser.gschema.xml %{_mingw32_datadir}/glib-2.0/schemas/org.gtk.Settings.Debug.gschema.xml %{_mingw32_datadir}/glib-2.0/schemas/org.gtk.Settings.EmojiChooser.gschema.xml %{_mingw32_datadir}/glib-2.0/schemas/org.gtk.Settings.FileChooser.gschema.xml %{_mingw32_datadir}/glib-2.0/schemas/org.gtk.exampleapp.gschema.xml %{_mingw32_datadir}/themes/Default/gtk-3.0/gtk-keys.css %{_mingw32_datadir}/themes/Emacs/gtk-3.0/gtk-keys.css %files devel %defattr(-,root,root) %{_mingw32_bindir}/gtk3-demo.exe %{_mingw32_bindir}/gtk3-demo-application.exe %{_mingw32_bindir}/gtk3-widget-factory.exe %if %doc %{_mingw32_mandir}/man1/gtk3-demo.1* %{_mingw32_mandir}/man1/gtk3-demo-application.1* %{_mingw32_mandir}/man1/gtk3-widget-factory.1* %endif %{_mingw32_datadir}/applications/gtk3-demo.desktop %{_mingw32_datadir}/applications/gtk3-widget-factory.desktop %{_mingw32_datadir}/glib-2.0/schemas/org.gtk.Demo.gschema.xml %{_mingw32_datadir}/icons/hicolor/*/apps/gtk3-demo.png %{_mingw32_datadir}/icons/hicolor/*/apps/gtk3-demo-symbolic.symbolic.png %{_mingw32_datadir}/icons/hicolor/*/apps/gtk3-widget-factory.png %{_mingw32_datadir}/icons/hicolor/*/apps/gtk3-widget-factory-symbolic.symbolic.png %if %doc %{_mingw32_datadir}/gtk-doc/html/gail-libgail-util3 %{_mingw32_datadir}/gtk-doc/html/gdk3 %{_mingw32_datadir}/gtk-doc/html/gtk3 %endif %{_mingw32_libdir}/libgailutil-3.dll.a %{_mingw32_libdir}/libgdk-3.dll.a %{_mingw32_libdir}/libgtk-3.dll.a %{_mingw32_libdir}/pkgconfig/gail-3.0.pc %{_mingw32_libdir}/pkgconfig/gdk-3.0.pc %{_mingw32_libdir}/pkgconfig/gdk-win32-3.0.pc %{_mingw32_libdir}/pkgconfig/gtk+-3.0.pc %{_mingw32_libdir}/pkgconfig/gtk+-win32-3.0.pc %{_mingw32_includedir}/gtk-3.0/ %{_mingw32_includedir}/gail-3.0/ %{_mingw32_datadir}/aclocal/gtk-3.0.m4 %{_mingw32_datadir}/gtk-3.0/ %files -n mingw32-gettext-its-gtk3 %dir %{_mingw32_datadir}/gettext/its %{_mingw32_datadir}/gettext/its/gtkbuilder.its %{_mingw32_datadir}/gettext/its/gtkbuilder.loc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor