Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
opt-kf5-kquickcharts
> _service:tar_git:kf5-kquickcharts.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:kf5-kquickcharts.spec of Package opt-kf5-kquickcharts
%global kf5_version 5.108.0 Name: opt-kf5-kquickcharts Summary: A QtQuick module providing high-performance charts Version: 5.108.0 Release: 1%{?dist} # libs are LGPL, tools are GPL # KDE e.V. may determine that future LGPL/GPL versions are accepted License: LGPLv2+ URL: https://invent.kde.org/frameworks/kquickcharts Source0: %{name}-%{version}.tar.bz2 %{?opt_kf5_default_filter} BuildRequires: gcc-c++ BuildRequires: opt-extra-cmake-modules >= %{kf5_version} BuildRequires: opt-kf5-rpm-macros >= %{kf5_version} BuildRequires: opt-qt5-qtdeclarative-devel BuildRequires: opt-qt5-qtquickcontrols2-devel BuildRequires: make %{?_opt_qt5:Requires: %{_opt_qt5}%{?_isa} = %{_opt_qt5_version}} Requires: opt-qt5-qtdeclarative Requires: opt-qt5-qtquickcontrols2 %description The Quick Charts module provides a set of charts that can be used from QtQuick applications. They are intended to be used for both simple display of data as well as continuous display of high-volume data (often referred to as plotters). The charts use a system called distance fields for their accelerated rendering, which provides ways of using the GPU for rendering 2D shapes without loss of quality. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{name}-%{version}/upstream -p1 %build export QTDIR=%{_opt_qt5_prefix} touch .git mkdir -p build pushd build %_opt_cmake_kf5 ../ %make_build popd %install pushd build make DESTDIR=%{buildroot} install popd %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc README.md %license LICENSES/*.txt %{_opt_kf5_datadir}/qlogging-categories5/kquickcharts.* %{_opt_kf5_qmldir}/org/kde/quickcharts/ %files devel %{_opt_kf5_libdir}/cmake/KF5QuickCharts/