- updated to 18.12.1; ninja
[packages/ka5-kalgebra.git] / ka5-kalgebra.spec
CommitLineData
35b701f6 1%define kdeappsver 18.12.1
f851455e
WF
2%define qtver 5.9.0
3%define kaname kalgebra
4Summary: Kalgebra
5Name: ka5-%{kaname}
35b701f6 6Version: 18.12.1
f851455e
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
10Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
35b701f6 11# Source0-md5: 236cf6afae6c15a1ba4fff48dcfb9447
f851455e
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: Qt5Gui-devel >= 5.11.1
16BuildRequires: Qt5Network-devel >= 5.11.1
17BuildRequires: Qt5PrintSupport-devel
18BuildRequires: Qt5Qml-devel
19BuildRequires: Qt5Quick-devel
20BuildRequires: Qt5Svg-devel
21BuildRequires: Qt5Test-devel
22BuildRequires: Qt5Widgets-devel >= 5.11.1
23BuildRequires: Qt5Xml-devel
24BuildRequires: cmake >= 2.8.12
25BuildRequires: gettext-devel
26BuildRequires: ka5-analitza-devel
27BuildRequires: kf5-extra-cmake-modules >= 5.53.0
28BuildRequires: kf5-kcoreaddons-devel
29BuildRequires: kf5-ki18n-devel
35b701f6 30BuildRequires: ninja
f851455e
WF
31BuildRequires: qt5-build >= %{qtver}
32BuildRequires: rpmbuild(macros) >= 1.164
33BuildRequires: shared-mime-info
34BuildRequires: tar >= 1:1.22
35BuildRequires: xz
36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39KAlgebra is a fully featured calculator that lets you plot different
40types of 2D and 3D functions and to calculate easy (and not so easy)
41calculations, such as addition, trigonometric functions or
42derivatives.
43
44The application has been thought to be progressively understood for
45students, so that starting to use it doesn't get in the way. The
46language is deeply integrated with the UI, providing a dictionary with
47representations for all the available operations, code highlighting
48and code completion.
49
50%prep
51%setup -q -n %{kaname}-%{version}
52
53%build
54install -d build
55cd build
56%cmake \
35b701f6 57 -G Ninja \
f851455e
WF
58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
59 ..
35b701f6 60%ninja_build
f851455e
WF
61
62%install
63rm -rf $RPM_BUILD_ROOT
35b701f6 64%ninja_install -C build
f851455e
WF
65
66%find_lang %{kaname} --all-name --with-kde
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%files -f %{kaname}.lang
72%defattr(644,root,root,755)
73%attr(755,root,root) %{_bindir}/calgebra
74%attr(755,root,root) %{_bindir}/kalgebra
75%attr(755,root,root) %{_bindir}/kalgebramobile
76%{_desktopdir}/org.kde.kalgebra.desktop
77%{_desktopdir}/org.kde.kalgebramobile.desktop
78%{_iconsdir}/hicolor/64x64/apps/kalgebra.png
79%{_iconsdir}/hicolor/scalable/apps/kalgebra.svgz
80%dir %{_datadir}/kalgebramobile
81%dir %{_datadir}/kalgebramobile/plugins
82%{_datadir}/kalgebramobile/plugins/About.qml
83%{_datadir}/kalgebramobile/plugins/Console.qml
84%{_datadir}/kalgebramobile/plugins/Dictionary.qml
85%{_datadir}/kalgebramobile/plugins/Plot2D.qml
86%{_datadir}/kalgebramobile/plugins/Plot3D.qml
87%{_datadir}/kalgebramobile/plugins/Tables.qml
88%{_datadir}/kalgebramobile/plugins/VariablesView.qml
89%{_datadir}/kalgebramobile/plugins/kalgebraabout.json
90%{_datadir}/kalgebramobile/plugins/kalgebraconsole.json
91%{_datadir}/kalgebramobile/plugins/kalgebradictionary.json
92%{_datadir}/kalgebramobile/plugins/kalgebraplot2d.json
93%{_datadir}/kalgebramobile/plugins/kalgebraplot3d.json
94%{_datadir}/kalgebramobile/plugins/kalgebratables.json
95%{_datadir}/kalgebramobile/plugins/kalgebravariables.json
96%dir %{_datadir}/kalgebramobile/plugins/widgets
97%{_datadir}/kalgebramobile/plugins/widgets/Action.qml
98%{_datadir}/kalgebramobile/plugins/widgets/AddButton.qml
99%{_datadir}/kalgebramobile/plugins/widgets/Button.qml
100%{_datadir}/kalgebramobile/plugins/widgets/CalcButton.qml
101%{_datadir}/kalgebramobile/plugins/widgets/ComboBox.qml
102%{_datadir}/kalgebramobile/plugins/widgets/Dialog.qml
103%{_datadir}/kalgebramobile/plugins/widgets/ExpressionInput.qml
104%{_datadir}/kalgebramobile/plugins/widgets/KAlgebraMobile.qml
105%{_datadir}/kalgebramobile/plugins/widgets/KAlgebraPage.qml
106%{_datadir}/kalgebramobile/plugins/widgets/Label.qml
107%{_datadir}/kalgebramobile/plugins/widgets/RealInput.qml
108%{_datadir}/kalgebramobile/plugins/widgets/SimpleListView.qml
109%{_datadir}/kalgebramobile/plugins/widgets/qmldir
110%{_datadir}/katepart5/syntax/kalgebra.xml
111%{_datadir}/kservices5/graphsplasmoid.desktop
112%{_datadir}/metainfo/org.kde.kalgebra.appdata.xml
113%{_datadir}/metainfo/org.kde.kalgebramobile.appdata.xml
114%dir %{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid
115%dir %{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents
116%dir %{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui
117%{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
118%{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
119%{_datadir}/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop
This page took 0.108657 seconds and 4 git commands to generate.