- updated to 18.12.1; ninja
[packages/ka5-cantor.git] / ka5-cantor.spec
CommitLineData
ccf030a0 1%define kdeappsver 18.12.1
fd17d32c 2%define qtver 5.9.0
e6a4ac90
WF
3%define kaname cantor
4Summary: Cantor
5Name: ka5-%{kaname}
ccf030a0 6Version: 18.12.1
e6a4ac90
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
ccf030a0 11# Source0-md5: d8dd65e5256f1c9e3dbb74bde0d95593
e6a4ac90
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
fd17d32c
WF
14BuildRequires: Qt5Gui-devel
15BuildRequires: Qt5Network-devel >= 5.11.1
16BuildRequires: Qt5PrintSupport-devel
17BuildRequires: Qt5Svg-devel
18BuildRequires: Qt5Test-devel
19BuildRequires: Qt5Widgets-devel
20BuildRequires: Qt5Xml-devel
21BuildRequires: Qt5XmlPatterns-devel
e6a4ac90 22BuildRequires: cmake >= 2.8.12
fd17d32c
WF
23BuildRequires: gettext-devel
24BuildRequires: kf5-extra-cmake-modules >= 5.53.0
25BuildRequires: kf5-karchive-devel >= 5.49.0
26BuildRequires: kf5-kcompletion-devel >= 5.49.0
27BuildRequires: kf5-kconfig-devel >= 5.49.0
28BuildRequires: kf5-kcoreaddons-devel >= 5.49.0
29BuildRequires: kf5-kcrash-devel >= 5.49.0
30BuildRequires: kf5-kdoctools-devel >= 5.49.0
31BuildRequires: kf5-ki18n-devel >= 5.49.0
32BuildRequires: kf5-kiconthemes-devel >= 5.49.0
33BuildRequires: kf5-kio-devel >= 5.49.0
34BuildRequires: kf5-knewstuff-devel >= 5.49.0
35BuildRequires: kf5-kparts-devel >= 5.49.0
36BuildRequires: kf5-kpty-devel >= 5.49.0
37BuildRequires: kf5-ktexteditor-devel >= 5.49.0
38BuildRequires: kf5-ktextwidgets-devel >= 5.49.0
39BuildRequires: kf5-kxmlgui-devel >= 5.49.0
40BuildRequires: kf5-syntax-highlighting-devel >= 5.49.0
41BuildRequires: libqalculate-devel >= 2.8.2
ccf030a0 42BuildRequires: ninja
e6a4ac90
WF
43BuildRequires: qt5-build >= %{qtver}
44BuildRequires: rpmbuild(macros) >= 1.164
45BuildRequires: shared-mime-info
46BuildRequires: tar >= 1:1.22
47BuildRequires: xz
48BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
49
50%description
51Cantor is a KDE Application aimed to provide a nice Interface for
52doing Mathematics and Scientific Computing. It doesn't implement its
53own Computation Logic, but instead is built around different Backends.
54
55Available Backends
56- Julia Programming Language: http://julialang.org/
57- KAlgebra for Calculation and Plotting: http://edu.kde.org/kalgebra/
58- Lua Programming Language: http://lua.org/
59- Maxima Computer Algebra System: http://maxima.sourceforge.net/
60- Octave for Numerical Computation: https://gnu.org/software/octave/
61- Python 2 Programming Language: http://python.org/
62- Python 3 Programming Language: http://python.org/
63- Qalculate Desktop Calculator: http://qalculate.sourceforge.net/
64- R Project for Statistical Computing: http://r-project.org/
65- Sage Mathematics Software: http://sagemath.org/
66- Scilab for Numerical Computation: http://scilab.org/
67
68%package devel
69Summary: Header files for %{kaname} development
70Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
71Group: X11/Development/Libraries
72Requires: %{name} = %{version}-%{release}
73
74%description devel
75Header files for %{kaname} development.
76
77%description devel -l pl.UTF-8
78Pliki nagłówkowe dla programistów używających %{kaname}.
79
80%prep
81%setup -q -n %{kaname}-%{version}
82
83%build
84install -d build
85cd build
86%cmake \
ccf030a0 87 -G Ninja \
e6a4ac90
WF
88 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
89 ..
ccf030a0 90%ninja_build
e6a4ac90
WF
91
92%install
93rm -rf $RPM_BUILD_ROOT
ccf030a0 94%ninja_install -C build
e6a4ac90
WF
95
96%find_lang %{kaname} --all-name --with-kde
97
98%clean
99rm -rf $RPM_BUILD_ROOT
100
101%post -p /sbin/ldconfig
102%postun -p /sbin/ldconfig
103
104%files -f %{kaname}.lang
105%defattr(644,root,root,755)
106/etc/xdg/cantor.knsrc
107/etc/xdg/cantor_kalgebra.knsrc
108/etc/xdg/cantor_maxima.knsrc
109/etc/xdg/cantor_octave.knsrc
110/etc/xdg/cantor_python2.knsrc
111/etc/xdg/cantor_python3.knsrc
112/etc/xdg/cantor_qalculate.knsrc
113/etc/xdg/cantor_r.knsrc
114/etc/xdg/cantor_sage.knsrc
115/etc/xdg/cantor_scilab.knsrc
116%attr(755,root,root) %{_bindir}/cantor
fd17d32c 117%attr(755,root,root) %{_bindir}/cantor_python2server
e6a4ac90
WF
118%attr(755,root,root) %{_bindir}/cantor_python3server
119%attr(755,root,root) %{_bindir}/cantor_rserver
fd17d32c 120%attr(755,root,root) %{_bindir}/cantor_scripteditor
e6a4ac90
WF
121%attr(755,root,root) %{_libdir}/libcantor_config.so
122%attr(755,root,root) %{_libdir}/libcantor_pythonbackend.so
fd17d32c 123%attr(755,root,root) %ghost %{_libdir}/libcantorlibs.so.20
e6a4ac90
WF
124%attr(755,root,root) %{_libdir}/libcantorlibs.so.*.*.*
125%dir %{_libdir}/qt5/plugins/cantor
126%dir %{_libdir}/qt5/plugins/cantor/assistants
127%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_advancedplotassistant.so
128%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_creatematrixassistant.so
129%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_differentiateassistant.so
130%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_eigenvaluesassistant.so
131%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_eigenvectorsassistant.so
132%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_importpackageassistant.so
133%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_integrateassistant.so
134%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_invertmatrixassistant.so
135%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_plot2dassistant.so
136%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_plot3dassistant.so
137%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_qalculateplotassistant.so
138%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_runscriptassistant.so
139%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_solveassistant.so
140%dir %{_libdir}/qt5/plugins/cantor/backends
141%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_kalgebrabackend.so
142%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_maximabackend.so
143%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_nullbackend.so
144%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_octavebackend.so
145%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_python2backend.so
146%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_python3backend.so
147%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_qalculatebackend.so
148%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_rbackend.so
149%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_sagebackend.so
150%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_scilabbackend.so
151%dir %{_libdir}/qt5/plugins/cantor/panels
152%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/panels/cantor_helppanelplugin.so
153%attr(755,root,root) %{_libdir}/qt5/plugins/cantor/panels/cantor_variablemanagerplugin.so
154%attr(755,root,root) %{_libdir}/qt5/plugins/libcantorpart.so
155%{_desktopdir}/org.kde.cantor.desktop
156%{_datadir}/cantor
157%{_datadir}/config.kcfg/cantor.kcfg
158%{_datadir}/config.kcfg/cantor_libs.kcfg
159%{_datadir}/config.kcfg/kalgebrabackend.kcfg
160%{_datadir}/config.kcfg/maximabackend.kcfg
161%{_datadir}/config.kcfg/octavebackend.kcfg
162%{_datadir}/config.kcfg/python2backend.kcfg
163%{_datadir}/config.kcfg/python3backend.kcfg
164%{_datadir}/config.kcfg/qalculatebackend.kcfg
165%{_datadir}/config.kcfg/rserver.kcfg
166%{_datadir}/config.kcfg/sagebackend.kcfg
167%{_datadir}/config.kcfg/scilabbackend.kcfg
168%{_iconsdir}/hicolor/128x128/apps/cantor.png
169%{_iconsdir}/hicolor/16x16/apps/cantor.png
170%{_iconsdir}/hicolor/22x22/apps/cantor.png
171%{_iconsdir}/hicolor/32x32/apps/cantor.png
172%{_iconsdir}/hicolor/48x48/apps/cantor.png
173%{_iconsdir}/hicolor/48x48/apps/juliabackend.png
174%{_iconsdir}/hicolor/48x48/apps/kalgebrabackend.png
175%{_iconsdir}/hicolor/48x48/apps/luabackend.png
176%{_iconsdir}/hicolor/48x48/apps/maximabackend.png
177%{_iconsdir}/hicolor/48x48/apps/octavebackend.png
178%{_iconsdir}/hicolor/48x48/apps/pythonbackend.png
179%{_iconsdir}/hicolor/48x48/apps/qalculatebackend.png
180%{_iconsdir}/hicolor/48x48/apps/rbackend.png
181%{_iconsdir}/hicolor/48x48/apps/sagebackend.png
182%{_iconsdir}/hicolor/48x48/apps/scilabbackend.png
183%{_iconsdir}/hicolor/64x64/apps/cantor.png
184%dir %{_datadir}/kxmlgui5/cantor
185%{_datadir}/kxmlgui5/cantor/cantor_part.rc
186%{_datadir}/kxmlgui5/cantor/cantor_scripteditor.rc
187%{_datadir}/kxmlgui5/cantor/cantor_shell.rc
fd17d32c
WF
188%{_datadir}/kxmlgui5/cantor/cantor_advancedplot_assistant.rc
189%{_datadir}/kxmlgui5/cantor/cantor_create_matrix_assistant.rc
190%{_datadir}/kxmlgui5/cantor/cantor_differentiate_assistant.rc
191%{_datadir}/kxmlgui5/cantor/cantor_eigenvalues_assistant.rc
192%{_datadir}/kxmlgui5/cantor/cantor_eigenvectors_assistant.rc
193%{_datadir}/kxmlgui5/cantor/cantor_import_package_assistant.rc
194%{_datadir}/kxmlgui5/cantor/cantor_integrate_assistant.rc
195%{_datadir}/kxmlgui5/cantor/cantor_invert_matrix_assistant.rc
196%{_datadir}/kxmlgui5/cantor/cantor_plot2d_assistant.rc
197%{_datadir}/kxmlgui5/cantor/cantor_plot3d_assistant.rc
198%{_datadir}/kxmlgui5/cantor/cantor_qalculateplotassistant.rc
199%{_datadir}/kxmlgui5/cantor/cantor_runscript_assistant.rc
200%{_datadir}/kxmlgui5/cantor/cantor_solve_assistant.rc
e6a4ac90
WF
201%{_datadir}/metainfo/org.kde.cantor.appdata.xml
202
203%files devel
204%defattr(644,root,root,755)
205%{_includedir}/cantor
206%attr(755,root,root) %{_libdir}/libcantorlibs.so
207
This page took 0.098615 seconds and 4 git commands to generate.