Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdelibs4support
mingw32-kdelibs4support.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-kdelibs4support.spec of Package mingw32-kdelibs4support
# # spec file for package mingw32-kdelibs4support # # Copyright (c) 2019 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define lname libKF5KDELibs4Support5 %define _tar_path 5.103 # Full KF5 version (e.g. 5.33.0) %{!?_mingw32_kf5_version: %global _mingw32_kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_mingw32_kf5_bugfix_version: %define _mingw32_kf5_bugfix_version %(echo %{_mingw32_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang %define _name kdelibs4support Name: mingw32-%{_name} Version: 5.103.0 Release: 0 Summary: Code and utilities to ease the transition to KDE Frameworks 5 License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/frameworks/%{_tar_path}/portingAids/%{_name}-%{version}.tar.xz %if %{with lang} Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/portingAids/%{_name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif Patch0: 0001-Use-system-FindGettext.cmake.patch Patch1: 0001-kf5-config-Add-support-for-printing-all-QLibraryInfo.patch Patch2: 0001-Fix-bug-not-been-not-find-able-to-find-inet_xxx-func.patch Patch3: kdelibs4support-5.103.0-fix-mingw-build.patch # BuildRequires: mingw32-NetworkManager-devel BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-cross-wine BuildRequires: mingw32-extra-cmake-modules >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32-kdewin-devel BuildRequires: mingw32-kf5-filesystem BuildRequires: perl-URI BuildRequires: mingw32(cmake:KDED) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Bookmarks) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Completion) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Config) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5ConfigWidgets) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Crash) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5DBusAddons) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5DesignerPlugin) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5DocTools) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Emoticons) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5GlobalAccel) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5GuiAddons) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5I18n) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5IconThemes) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5ItemViews) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5KIO) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Notifications) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Parts) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5Service) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5TextWidgets) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5UnitConversion) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5WidgetsAddons) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5WindowSystem) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:KF5XmlGui) >= %{_mingw32_kf5_bugfix_version} BuildRequires: mingw32(cmake:Qt5Concurrent) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Core) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5DBus) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Designer) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Network) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5PrintSupport) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Svg) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Test) >= 5.11.0 BuildRequires: mingw32(cmake:Qt5Widgets) >= 5.11.0 # BuildRequires: cmake(Qt5X11Extras) >= 5.11.0 BuildRequires: mingw32(pkg:openssl) # BuildRequires: pkgconfig(sm) # BuildRequires: pkgconfig(x11) Recommends: %{name}-lang = %{version} Provides: mingw32-kde4support = %{version} Obsoletes: mingw32-kde4support < %{version} %_mingw32_package_header_debug BuildArch: noarch %description This package includes CMake macros and C++ classes whose functionality has been replaced by code in CMake, Qt and other frameworks. Code should aim to port away from this framework eventually. The API documentation of the classes in this framework and the notes at <https://community.kde.org/Frameworks/Porting_Notes> should help with this. Note that some of the classes in this framework, especially KStandardDirs, may not work correctly unless any libraries and other software using the KDE4 Support framework are installed to the same location as KDELibs4Support, although it may be sufficient to set the KDEDIRS environment variable correctly. %package -n mingw32-kssl Summary: Code and utilities to ease the transition to KDE Frameworks 5 License: GPL-2.0-or-later Group: System/GUI/KDE %description -n mingw32-kssl This package includes CMake macros and C++ classes whose functionality has been replaced by code in CMake, Qt and other frameworks. Code should aim to port away from this framework eventually. The API documentation of the classes in this framework and the notes at <https://community.kde.org/Frameworks/Porting_Notes> should help with this. Note that some of the classes in this framework, especially KStandardDirs, may not work correctly unless any libraries and other software using the KDE4 Support framework are installed to the same location as KDELibs4Support, although it may be sufficient to set the KDEDIRS environment variable correctly. %package -n mingw32-%{lname} Summary: Code and utilities to ease the transition to KDE Frameworks 5 License: LGPL-2.1-or-later Group: System/GUI/KDE Requires: mingw32-kded >= %{_mingw32_kf5_bugfix_version} %description -n mingw32-%{lname} This package includes CMake macros and C++ classes whose functionality has been replaced by code in CMake, Qt and other frameworks. Code should aim to port away from this framework eventually. The API documentation of the classes in this framework and the notes at <https://community.kde.org/Frameworks/Porting_Notes> should help with this. Note that some of the classes in this framework, especially KStandardDirs, may not work correctly unless any libraries and other software using the KDE4 Support framework are installed to the same location as KDELibs4Support, although it may be sufficient to set the KDEDIRS environment variable correctly. %package devel Summary: Code and utilities to ease the transition to KDE Frameworks 5 License: LGPL-2.1-or-later Group: Development/Libraries/KDE Requires: mingw32-%{lname} = %{version} Requires: %{name} = %{version} Requires: mingw32-extra-cmake-modules Requires: mingw32(cmake:KF5Archive) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5Auth) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5ConfigWidgets) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5CoreAddons) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5Crash) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5DBusAddons) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5DesignerPlugin) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5DocTools) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5Emoticons) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5GuiAddons) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5IconThemes) >= %{_mingw32_kf5_bugfix_version} #Requires: mingw32(cmake:KF5Init) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5ItemModels) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5Notifications) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5Parts) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5TextWidgets) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5UnitConversion) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:KF5WindowSystem) >= %{_mingw32_kf5_bugfix_version} Requires: mingw32(cmake:Qt5Core) >= 5.11.0 Requires: mingw32(cmake:Qt5DBus) >= 5.11.0 Requires: mingw32(cmake:Qt5PrintSupport) >= 5.11.0 Requires: mingw32(cmake:Qt5Xml) >= 5.11.0 Provides: mingw32-kde4support-devel = %{version} Requires: mingw32-kdewin-devel Obsoletes: mingw32-kde4support-devel < %{version} %description devel This package includes CMake macros and C++ classes whose functionality has been replaced by code in CMake, Qt and other frameworks. Code should aim to port away from this framework eventually. The API documentation of the classes in this framework and the notes at <https://community.kde.org/Frameworks/Porting_Notes> should help with this. Note that some of the classes in this framework, especially KStandardDirs, may not work correctly unless any libraries and other software using the KDE4 Support framework are installed to the same location as KDELibs4Support, although it may be sufficient to set the KDEDIRS environment variable correctly. Development files. %lang_package %_mingw32_debug_package %prep %autosetup -p1 -n %{_name}-%{version} %build %_mingw32_cmake_kf5 -d build -- %_mingw32_cmake_build %install %_mingw32_kf5_makeinstall -C build %if %{with lang} %_mingw32_find_lang %{_name} --with-man --all-name %_mingw32_kf5_find_htmldocs %{_name} %endif %if %{with lang} %files lang -f %{_name}.lang %endif %files %license COPYING* %doc README* %{_mingw32_kf5_bindir}/kdebugdialog5.exe %{_mingw32_kf5_bindir}/kf5-config.exe %{_mingw32_kf5_configdir}/colors/ %{_mingw32_kf5_configdir}/kdebug.areas %{_mingw32_kf5_configdir}/kdebugrc %if 0 %{_mingw32_kf5_libexecdir}/filesharelist.exe %{_mingw32_kf5_libexecdir}/fileshareset.exe %endif %{_mingw32_kf5_plugindir} # within kssl package %exclude %{_mingw32_kf5_plugindir}/kcm_ssl.dll %exclude %{_mingw32_kf5_plugindir}/*.debug %exclude %{_mingw32_kf5_plugindir}/*/*.debug %exclude %{_mingw32_kf5_plugindir}/*/*/*.debug %{_mingw32_kf5_servicesdir}/ %exclude %{_mingw32_kf5_servicesdir}/kcm_ssl.desktop %{_mingw32_kf5_servicetypesdir}/ %{_mingw32_kf5_datadir}/kdeui %{_mingw32_kf5_datadir}/kdoctools/ %{_mingw32_kf5_datadir}/widgets/ %{_mingw32_kf5_sharedir}/locale/kf5_all_languages %{_mingw32_kf5_datadir}/locale/ %doc %lang(en) %{_mingw32_kf5_mandir}/*/kf5-config.* %dir %{_mingw32_kf5_htmldir}/en %dir %{_mingw32_kf5_htmldir} %doc %lang(en) %{_mingw32_kf5_htmldir}/en/*/ %files -n mingw32-kssl %license COPYING* %doc README* %{_mingw32_kf5_configdir}/ksslcalist %{_mingw32_kf5_plugindir}/kcm_ssl.dll %{_mingw32_kf5_servicesdir}/kcm_ssl.desktop %{_mingw32_kf5_datadir}/kssl/ %files -n mingw32-%{lname} %license COPYING* %doc README* %{_mingw32_kf5_bindir}/libKF5KDELibs4Support.dll %files devel %{_mingw32_kf5_libdir}/libKF5KDELibs4Support.dll.a %{_mingw32_kf5_libdir}/cmake/KF5KDELibs4Support/ %{_mingw32_kf5_libdir}/cmake/KF5KDE4Support/ %{_mingw32_kf5_libdir}/cmake/KDELibs4/ %{_mingw32_kf5_includedir}/KDELibs4Support/ %{_mingw32_kf5_sharedir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.Inhibit.xml %{_mingw32_kf5_sharedir}/dbus-1/interfaces/kf5_org.freedesktop.PowerManagement.xml %{_mingw32_kf5_sharedir}/dbus-1/interfaces/kf5_org.kde.Solid.Networking.Client.xml %{_mingw32_kf5_sharedir}/dbus-1/interfaces/kf5_org.kde.Solid.PowerManagement.PolicyAgent.xml %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