]> git.pld-linux.org Git - packages/ka5-kqtquickcharts.git/blame - ka5-kqtquickcharts.spec
- updated to 21.12.0
[packages/ka5-kqtquickcharts.git] / ka5-kqtquickcharts.spec
CommitLineData
82afd673 1%define kdeappsver 21.12.0
41c3b84e 2%define kframever 5.56.0
35364fed
WF
3%define qtver 5.9.0
4%define kaname kqtquickcharts
5Summary: kqtquickcharts
6Name: ka5-%{kaname}
82afd673 7Version: 21.12.0
35364fed
WF
8Release: 1
9License: GPL v2+/LGPL v2.1+
10Group: X11/Applications
8989515b 11Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
82afd673 12# Source0-md5: f05e9c108814ef39e4f881d33bdb13a6
35364fed
WF
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: Qt5Gui-devel
16BuildRequires: Qt5Network-devel >= 5.11.1
17BuildRequires: Qt5Qml-devel
18BuildRequires: Qt5Quick-devel
19BuildRequires: cmake >= 2.8.12
41c3b84e 20BuildRequires: kf5-extra-cmake-modules >= %{kframever}
c28ca402 21BuildRequires: ninja
35364fed
WF
22BuildRequires: qt5-build >= %{qtver}
23BuildRequires: rpmbuild(macros) >= 1.164
24BuildRequires: tar >= 1:1.22
25BuildRequires: xz
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Qt Quick plugin for beautiful and interactive charts.
30
19e89ec4
WF
31%description -l pl.UTF-8
32Wtyczka do Qt Quick do tworzenia pięknych i interaktywnych wykresów.
33
35364fed
WF
34%package devel
35Summary: Header files for %{kaname} development
36Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
37Group: X11/Development/Libraries
38Requires: %{name} = %{version}-%{release}
39
40%description devel
41Header files for %{kaname} development.
42
43%description devel -l pl.UTF-8
44Pliki nagłówkowe dla programistów używających %{kaname}.
45
46%prep
47%setup -q -n %{kaname}-%{version}
48
49%build
50install -d build
51cd build
52%cmake \
c28ca402 53 -G Ninja \
41c3b84e 54 -DHTML_INSTALL_DIR=%{_kdedocdir} \
35364fed
WF
55 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
56 ..
c28ca402 57%ninja_build
35364fed
WF
58
59%install
60rm -rf $RPM_BUILD_ROOT
c28ca402 61%ninja_install -C build
35364fed
WF
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files
67%defattr(644,root,root,755)
68%dir %{_libdir}/qt5/qml/org/kde/charts
69%{_libdir}/qt5/qml/org/kde/charts/BarChart.qml
70%{_libdir}/qt5/qml/org/kde/charts/Label.qml
71%{_libdir}/qt5/qml/org/kde/charts/LegendItem.qml
72%{_libdir}/qt5/qml/org/kde/charts/LineChart.qml
73%{_libdir}/qt5/qml/org/kde/charts/LineLabel.qml
74%{_libdir}/qt5/qml/org/kde/charts/XYChart.qml
75%attr(755,root,root) %{_libdir}/qt5/qml/org/kde/charts/libkqtquickcharts.so
76%{_libdir}/qt5/qml/org/kde/charts/qmldir
77
78%files devel
79%defattr(644,root,root,755)
80%{_includedir}/KF5/kqtquickcharts_version.h
81%{_libdir}/cmake/KQtQuickCharts
This page took 0.133721 seconds and 4 git commands to generate.