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