Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win64
mingw64-knewstuff
mingw64-knewstuff.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw64-knewstuff.spec of Package mingw64-knewstuff
# # spec file for package mingw64-knewstuff # # 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 libKF5NewStuff5 %define _tar_path 5.103 # Full KF5 version (e.g. 5.33.0) %{!?_mingw64_kf5_version: %global _mingw64_kf5_version %{version}} # Last major and minor KF5 version (e.g. 5.33) %{!?_mingw64_kf5_bugfix_version: %define _mingw64_kf5_bugfix_version %(echo %{_mingw64_kf5_version} | awk -F. '{print $1"."$2}')} %bcond_without lang %define _name knewstuff Name: mingw64-%{_name} Version: 5.103.0 Release: 0 Summary: Framework for downloading and sharing additional application data License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{_name}-%{version}.tar.xz %if %{with lang} Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{_name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif BuildRequires: cmake >= 3.0 BuildRequires: mingw64-cross-gcc-c++ BuildRequires: mingw64-extra-cmake-modules >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64-kf5-filesystem BuildRequires: mingw64(cmake:KF5Archive) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Attica) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Completion) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Config) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5CoreAddons) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5I18n) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5IconThemes) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5ItemViews) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5KIO) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Package) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5Service) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5TextWidgets) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5WidgetsAddons) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5WindowSystem) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:KF5XmlGui) >= %{_mingw64_kf5_bugfix_version} BuildRequires: mingw64(cmake:Qt5Core) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Qml) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Quick) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Widgets) >= 5.11.0 BuildRequires: mingw64(cmake:Qt5Xml) >= 5.11.0 %_mingw64_package_header_debug BuildArch: noarch %description The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. %package -n mingw64-%{lname} Summary: Framework for downloading and sharing additional application data Group: System/GUI/KDE Requires: %{name} Obsoletes: mingw64-libKF5NewStuff4 < %{version} Provides: mingw64-libKF5NewStuff4 = %{version} %if %{with lang} Recommends: mingw64-%{lname}-lang = %{version} %endif %description -n mingw64-%{lname} The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. %package -n mingw64-libKF5NewStuffCore5 Summary: Framework for downloading and sharing additional application data Group: System/GUI/KDE %description -n mingw64-libKF5NewStuffCore5 The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. %package -n mingw64-libKF5NewStuffWidgets5 Summary: Framework for downloading and sharing additional application data %description -n mingw64-libKF5NewStuffWidgets5 The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. %package imports Summary: Framework for downloading and sharing additional application data Group: System/GUI/KDE # TODO not detected by qmlpluginexports Provides: mingw64(qt5qmlimport:org.kde.newstuff.core.1) %description imports The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. %package core-devel Summary: Framework for downloading and sharing additional application data Group: Development/Libraries/KDE Requires: mingw64-extra-cmake-modules Requires: mingw64-libKF5NewStuffCore5 = %{version} Requires: mingw64(cmake:KF5Attica) >= %{_mingw64_kf5_bugfix_version} %description core-devel The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. Development files. %package quick-devel Summary: Framework for downloading and sharing additional application data Group: Development/Libraries/KDE Requires: %{name}-core-devel = %{version} Requires: %{name}-imports = %{version} Requires: mingw64-extra-cmake-modules %description quick-devel The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. Development files. %package devel Summary: Framework for downloading and sharing additional application data Group: Development/Libraries/KDE Requires: mingw64-%{lname} = %{version} Requires: %{name}-core-devel = %{version} Requires: mingw64-extra-cmake-modules Requires: mingw64-libKF5NewStuffCore5 = %{version} Requires: mingw64-libKF5NewStuffWidgets5 = %{version} Requires: mingw64(cmake:KF5Service) >= %{_mingw64_kf5_bugfix_version} Requires: mingw64(cmake:KF5XmlGui) >= %{_mingw64_kf5_bugfix_version} Requires: mingw64(cmake:Qt5Widgets) >= 5.11.0 # Required by KF5NewStuffConfig.cmake Requires: mingw64(cmake:KF5NewStuffQuick) >= %{_mingw64_kf5_bugfix_version} %description devel The KNewStuff library implements collaborative data sharing for applications. It uses libattica to support the Open Collaboration Services specification. Development files. %lang_package -n mingw64-%{lname} %_mingw64_debug_package %prep %setup -q -n %{_name}-%{version} %build %_mingw64_cmake_kf5 -d build %_mingw64_cmake_build %install %_mingw64_kf5_makeinstall -C build # mingw64-knewstuff.noarch: W: script-without-shebang chmod a-x %{buildroot}%{_mingw64_kf5_datadir}/kmoretools/presets-kmoretools/*.desktop %if %{with lang} %_mingw64_find_lang %{_name}5 %endif %if %{with lang} %files -n mingw64-%{lname}-lang -f %{_name}5.lang %endif %files %license LICENSES/* %doc README* %{_mingw64_kf5_applicationsdir}/org.kde.knewstuff-dialog.desktop %{_mingw64_kf5_bindir}/knewstuff-dialog.exe %{_mingw64_kf5_datadir}/kmoretools/ %{_mingw64_kf5_debugdir}/knewstuff.categories %{_mingw64_kf5_debugdir}/*.renamecategories %files -n mingw64-%{lname} %license LICENSES/* %doc README* %{_mingw64_kf5_bindir}/libKF5NewStuff.dll %files -n mingw64-libKF5NewStuffCore5 %license LICENSES/* %doc README* %{_mingw64_kf5_bindir}/libKF5NewStuffCore.dll %files -n mingw64-libKF5NewStuffWidgets5 %license LICENSES/* %doc README* %{_mingw64_kf5_bindir}/libKF5NewStuffWidgets.dll %files imports %license LICENSES/* %doc README* %{_mingw64_kf5_qmldir}/ %exclude %{_mingw64_kf5_qmldir}/org/kde/newstuff/*.debug %files core-devel %license LICENSES/* %doc README* %{_mingw64_kf5_libdir}/libKF5NewStuffCore.dll.a %{_mingw64_kf5_libdir}/cmake/KF5NewStuffCore/ %{_mingw64_kf5_includedir}/KNewStuff3/knewstuffcore_version.h %dir %{_mingw64_kf5_includedir}/KNewStuff3 %{_mingw64_kf5_includedir}/KNewStuff3/KNSCore/ %{_mingw64_kf5_includedir}/KNewStuff3/knscore/ %{_mingw64_kf5_mkspecsdir}/qt_KNewStuffCore.pri %files quick-devel %license LICENSES/* %doc README* %{_mingw64_kf5_libdir}/cmake/KF5NewStuffQuick/ %{_mingw64_kf5_includedir}/KNewStuff3/knewstuffquick_version.h %files devel %license LICENSES/* %doc README* %{_mingw64_kf5_libdir}/libKF5NewStuff.dll.a %{_mingw64_kf5_libdir}/libKF5NewStuffWidgets.dll.a %{_mingw64_kf5_libdir}/cmake/KF5NewStuff/ %dir %{_mingw64_kf5_includedir}/KNewStuff3 %{_mingw64_kf5_includedir}/KMoreTools/ %{_mingw64_kf5_includedir}/KNewStuff3/KNS3/ %{_mingw64_kf5_includedir}/KNewStuff3/kns3/ %{_mingw64_kf5_includedir}/KNewStuff3/knewstuff_version.h %{_mingw64_kf5_includedir}/KNewStuff3/knswidgets/ %{_mingw64_kf5_includedir}/KNewStuff3/KNSWidgets/ %{_mingw64_kf5_mkspecsdir}/qt_KNewStuff.pri %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