[packages/kf5-kquickcharts] - Initial version of the package. I used ka5-kqtquickcharts as a base.

lmasko lmasko at pld-linux.org
Sat Jan 9 20:44:24 CET 2021


commit f02422696e4182c62ceeb4c2b28165cc756c8e11
Author: Łukasz Maśko <lmasko at pld-linux.org>
Date:   Sat Jan 9 20:43:31 2021 +0100

    - Initial version of the package. I used ka5-kqtquickcharts as a base.

 kf5-kquickcharts.spec | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 83 insertions(+)
---
diff --git a/kf5-kquickcharts.spec b/kf5-kquickcharts.spec
new file mode 100644
index 0000000..d97da7f
--- /dev/null
+++ b/kf5-kquickcharts.spec
@@ -0,0 +1,83 @@
+%define		kdeframever	5.77
+%define		qtver		5.15.0
+%define		kfname		kquickcharts
+
+Summary:	Plugin for beautiful and interactive charts.
+Name:		kf5-%{kfname}
+Version:	5.77.0
+Release:	1
+License:	GPL v2+/LGPL v2.1+
+Group:		X11/Libraries
+Source0:	http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5:	b52e8fa1def1211a041f73b4af1ecf55
+URL:		http://www.kde.org/
+BuildRequires:	Qt5Core-devel >= %{qtver}
+BuildRequires:	Qt5Gui-devel
+BuildRequires:	Qt5Network-devel >= 5.11.1
+BuildRequires:	Qt5Qml-devel
+BuildRequires:	Qt5Quick-devel
+BuildRequires:	cmake >= 2.8.12
+BuildRequires:	kf5-extra-cmake-modules >= %{kframever}
+BuildRequires:	ninja
+BuildRequires:	qt5-build >= %{qtver}
+BuildRequires:	rpmbuild(macros) >= 1.164
+BuildRequires:	tar >= 1:1.22
+BuildRequires:	xz
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Qt Quick plugin for beautiful and interactive charts.
+
+%package devel
+Summary:	Header files for %{kaname} development
+Summary(pl.UTF-8):	Pliki nagłówkowe dla programistów używających %{kaname}
+Group:		X11/Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+	-G Ninja \
+	-DHTML_INSTALL_DIR=%{_kdedocdir} \
+	-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+	..
+%ninja_build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{_libdir}/qt5/qml/org/kde/quickcharts
+%dir %{_libdir}/qt5/qml/org/kde/quickcharts/controls
+%dir %{_libdir}/qt5/qml/org/kde/quickcharts/controls/styles
+%dir %{_libdir}/qt5/qml/org/kde/quickcharts/controls/styles/org.kde.desktop
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/libchartscontrolsplugin.so
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/styles/org.kde.desktop/Theme.qml
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/qmldir
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/Theme.qml
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/PieChartControl.qml
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/LegendDelegate.qml
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/LineChartControl.qml
+%{_libdir}/qt5/qml/org/kde/quickcharts/controls/Legend.qml
+%attr(755,root,root) %{_libdir}/qt5/qml/org/kde/quickcharts/libQuickCharts.so
+%{_libdir}/qt5/qml/org/kde/quickcharts/qmldir
+
+%files devel
+%defattr(644,root,root,755)
+# %{_includedir}/KF5/kqtquickcharts_version.h
+%{_libdir}/cmake/KF5QuickCharts
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kf5-kquickcharts.git/commitdiff/f02422696e4182c62ceeb4c2b28165cc756c8e11



More information about the pld-cvs-commit mailing list