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