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