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