Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-gtk2
mingw64-gtk2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-gtk2.spec of Package mingw64-gtk2
# # spec file for package mingw64-gtk2 # # 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/ # Name: mingw64-gtk2 Version: 2.24.33 Release: 0 Summary: Library for Creation of Graphical User Interfaces (version 2) License: LGPL-2.1-or-later Group: System/Libraries Url: http://www.gtk.org/ Source: http://download.gnome.org/sources/gtk+/2.24/gtk+-%{version}.tar.xz # Native version for glib-genmarshal BuildRequires: glib2-devel #!BuildIgnore: post-build-checks BuildRequires: mingw64-atk-devel >= 1.29.3 BuildRequires: mingw64-cairo-devel BuildRequires: mingw64-cross-binutils BuildRequires: mingw64-cross-gcc BuildRequires: mingw64-cross-pkg-config BuildRequires: mingw64-filesystem BuildRequires: mingw64-gdk-pixbuf-devel BuildRequires: mingw64-glib2-devel BuildRequires: mingw64-libintl-devel BuildRequires: mingw64-libjasper-devel BuildRequires: mingw64-pango-devel >= 1.20 BuildRequires: mingw64-win_iconv-devel BuildRequires: python BuildRequires: xz Requires: %{name}-lang = %{version} %_mingw64_package_header_debug BuildArch: noarch # Native version for gtk-update-icon-cache %if 0%{?suse_version} >= 1140 BuildRequires: gtk2-tools %else BuildRequires: gtk2 %endif # Native version for gdk-pixbuf-csource %if 0%{?suse_version} >= 1140 BuildRequires: gdk-pixbuf-devel %else BuildRequires: gtk2-devel %endif %description GTK+ is a highly usable, feature rich toolkit for creating graphical user interfaces which boasts cross platform compatibility and an easy to use API. GTK+ was initially developed for and used by the GIMP, the GNU Image Manipulation Program. It is called the "The GIMP ToolKit" so that the origins of the project are remembered. Today it is more commonly known as GTK+ for short and is used by a large number of applications including the GNU project's GNOME desktop. %package tools Summary: GTK+2 GUI library (tools) Group: System/Libraries %description tools GTK+ is a highly usable, feature rich toolkit for creating graphical user interfaces which boasts cross platform compatibility and an easy to use API. %package devel Summary: Development environment for the GTK+2 GUI library Group: Development/Libraries %description devel This package contains all necessary include files, libraries, configuration files and development tools needed to compile and link applications using the GTK+ library. In addition, it contains a large set of demo applications in source code and manual pages for the provided GTK+ development tools. %_mingw64_debug_package %lang_package %prep %setup -q -n gtk+-%{version} %build # Need to run the correct version of glib-mkenums. export PATH="%{_mingw64_bindir}:$PATH" echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw64_cache} MINGW64_CFLAGS="%_mingw64_cflags -fcommon" #cups is pointless for win32 %{_mingw64_configure} \ --disable-cups --with-gdktarget=win32 \ --with-included-immodules=yes rm -f gtk/gtk.def gdk/gdk.def make %{?_smp_mflags} || make %install # Another case where upstream failed to specify the deps for the # install-def target. make DESTDIR=%{buildroot} install %{?_smp_mflags} -j1 chmod -x %{buildroot}%{_mingw64_libdir}/*.def mv %{buildroot}%{_mingw64_bindir}/gtk-update-icon-cache.exe \ %{buildroot}%{_mingw64_bindir}/gtk-update-icon-cache-2.0.exe (echo 'gtk-theme-name = "MS-Windows"' echo 'gtk-fallback-icon-theme = "Tango"') >%{buildroot}%{_mingw64_sysconfdir}/gtk-2.0/gtkrc %find_lang gtk20 %find_lang gtk20-properties gtk20.lang %files %defattr(-,root,root) %{_mingw64_datadir}/themes/* %{_mingw64_bindir}/libgailutil-18.dll %{_mingw64_bindir}/libgdk-win32-2.0-0.dll %{_mingw64_bindir}/libgtk-win32-2.0-0.dll %{_mingw64_libdir}/gtk-2.0/2.10.0/engines/*.dll %{_mingw64_libdir}/gtk-2.0/modules/*.dll %{_mingw64_sysconfdir}/gtk-2.0/ %files tools %defattr(-,root,root) %{_mingw64_bindir}/gtk-query-immodules-2.0.exe %{_mingw64_bindir}/gtk-update-icon-cache-2.0.exe %files lang -f gtk20.lang %defattr(-,root,root) %files devel %defattr(-,root,root) %{_mingw64_bindir}/gtk-builder-convert %exclude %{_mingw64_bindir}/gtk-demo.exe %{_mingw64_libdir}/libgailutil.dll.a %{_mingw64_libdir}/libgdk-win32-2.0.dll.a %{_mingw64_libdir}/libgtk-win32-2.0.dll.a %{_mingw64_libdir}/gdk-win32-2.0.def %{_mingw64_libdir}/gtk-win32-2.0.def %{_mingw64_libdir}/gailutil.def %{_mingw64_libdir}/pkgconfig/gail.pc %{_mingw64_libdir}/pkgconfig/gdk-2.0.pc %{_mingw64_libdir}/pkgconfig/gdk-win32-2.0.pc %{_mingw64_libdir}/pkgconfig/gtk+-2.0.pc %{_mingw64_libdir}/pkgconfig/gtk+-win32-2.0.pc %exclude %{_mingw64_libdir}/gtk-2.0/2.10.0/engines/*.dll.a %exclude %{_mingw64_libdir}/gtk-2.0/modules/*.dll.a %{_mingw64_includedir}/gtk-2.0/ %{_mingw64_libdir}/gtk-2.0/include/ %{_mingw64_includedir}/gail-1.0/ %{_mingw64_datadir}/aclocal/gtk-2.0.m4 %{_mingw64_datadir}/gtk-2.0/ %{_mingw64_datadir}/gtk-doc/html/gail-libgail-util %{_mingw64_datadir}/gtk-doc/html/gdk2 %{_mingw64_datadir}/gtk-doc/html/gtk2 %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