Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
windows:mingw:win32
mingw32-kdiagram
mingw32-kdiagram.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-kdiagram.spec of Package mingw32-kdiagram
# # spec file for package mingw32-kdiagram # # Copyright (c) 2016 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/ # %bcond_without lang %define _name kdiagram Name: mingw32-%{_name} Version: 2.8.0 Release: 0 Summary: Powerful libraries (KChart, KGantt) for creating business diagrams License: GPL-2.0+ Group: System/GUI/KDE Url: http://www.kde.org/ Source: %{_name}-%{version}.tar.xz Patch0: gcc-8-compile-fix.patch BuildRequires: mingw32-cross-cmake BuildRequires: mingw32-cross-gcc-c++ BuildRequires: mingw32-extra-cmake-modules # fix have choice for mingw32(dbghelp.dll) needed by mingw32-libdbus-1-3: mingw32-cross-wine mingw32-filesystem BuildRequires: mingw32-filesystem BuildRequires: mingw32-kf5-filesystem #BuildRequires: mingw32-libqt5-linguist-devel >= 5.6.0 BuildRequires: mingw32-cross-libqt5-qmake >= 5.6.0 BuildRequires: mingw32-libqt5-qtbase-devel >= 5.6.0 # FIXME obsolate - should be a dependency of the related development package BuildRequires: mingw32-libqt5-qtsvg >= 5.6.0 BuildRequires: mingw32-libqt5-qtsvg-devel >= 5.6.0 # FIXME obsolate - should be a dependency of the related package BuildRequires: mingw32-cross-libqt5-qttools >= 5.6.0 BuildRequires: mingw32-libqt5-qttools >= 5.6.0 BuildRequires: mingw32-zlib-devel %_mingw32_package_header_debug BuildArch: noarch %description %{summary} %package -n mingw32-libKChart2 Summary: KChart library for kdiagram Group: System/Libraries %if %{with lang} Recommends: mingw32-libkchart-lang = %{version} %endif %description -n mingw32-libKChart2 This package contains the KChart libraries from the kdiagram package. %package -n mingw32-libKGantt2 Summary: Gantt chart implementation for kdiagram Group: System/Libraries %if %{with lang} Recommends: mingw32-libkgantt-lang = %{version} %endif %description -n mingw32-libKGantt2 This package contains the KGantt libraries from the kdiagram package. %package -n mingw32-libkgantt-lang Summary: Translation for the KGantt library Group: System/Localization Requires: mingw32-libKGantt2 = %{version} Provides: mingw32-libkgantt-lang-all = %{version} #Supplements: packageand(bundle-lang-other:libKGantt2) BuildArch: noarch %description -n mingw32-libkgantt-lang Translatons for the KGantt library %package -n mingw32-libkchart-lang Summary: Translation for the KChart library Group: System/Localization Requires: mingw32-libKChart2 = %{version} Provides: mingw32-libkchart-lang-all = %{version} #Supplements: packageand(bundle-lang-other:libKChart2) BuildArch: noarch %description -n mingw32-libkchart-lang Translatons for the KChart library %package devel Summary: Development package for the KDiagram libraries Group: System/Libraries/KDE Requires: mingw32-libKChart2 = %{version} Requires: mingw32-libKGantt2 = %{version} Requires: mingw32-libqt5-qtbase-devel >= 5.2.0 %description devel Development package for the KDiagram libraries %lang_package %_mingw32_debug_package %prep %setup -q -n %{_name}-%{version} %patch -P 0 -p1 %build %_mingw32_cmake_kf5 -d build %_mingw32_cmake_build %install %_mingw32_kf5_makeinstall -C build %_mingw32_find_lang kgantt_qt --with-qt --without-mo --all-name %_mingw32_find_lang kchart_qt --with-qt --without-mo --all-name %files -n mingw32-libKChart2 %defattr(-,root,root) %{_mingw32_bindir}/libKChart*.dll %files -n mingw32-libKGantt2 %defattr(-,root,root) %{_mingw32_bindir}/libKGantt*.dll %files -n mingw32-libkchart-lang -f kchart_qt.lang %defattr(-,root,root) %exclude %{_mingw32_datadir}/locale/*/LC_MESSAGES/kgantt_qt.qm %files -n mingw32-libkgantt-lang -f kgantt_qt.lang %defattr(-,root,root) %exclude %{_mingw32_datadir}/locale/*/LC_MESSAGES/kchart_qt.qm %files devel %defattr(-,root,root) %{_mingw32_includedir}/KChart/ %{_mingw32_includedir}/kchart_version.h %{_mingw32_includedir}/KGantt/ %{_mingw32_includedir}/kgantt_version.h %{_mingw32_libdir}/libKChart.dll.a %{_mingw32_libdir}/libKGantt.dll.a %{_mingw32_datadir}/qt5/mkspecs/modules/qt_KChart.pri %{_mingw32_datadir}/qt5/mkspecs/modules/qt_KGantt.pri %{_mingw32_libdir}/cmake/KChart/ %{_mingw32_libdir}/cmake/KGantt/ %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