]> git.pld-linux.org Git - packages/ka5-cantor.git/blob - ka5-cantor.spec
- updated to 17.08.2
[packages/ka5-cantor.git] / ka5-cantor.spec
1 %define         kdeappsver      17.08.2
2 %define         qtver           5.3.2
3 %define         kaname          cantor
4 Summary:        Cantor
5 Name:           ka5-%{kaname}
6 Version:        17.08.2
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          X11/Libraries
10 Source0:        http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5:  b94d96c56c6e0622d8167e64ddf3902a
12 URL:            http://www.kde.org/
13 BuildRequires:  Qt5Core-devel >= %{qtver}
14 BuildRequires:  cmake >= 2.8.12
15 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
16 BuildRequires:  qt5-build >= %{qtver}
17 BuildRequires:  rpmbuild(macros) >= 1.164
18 BuildRequires:  shared-mime-info
19 BuildRequires:  tar >= 1:1.22
20 BuildRequires:  xz
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Cantor is a KDE Application aimed to provide a nice Interface for
25 doing Mathematics and Scientific Computing. It doesn't implement its
26 own Computation Logic, but instead is built around different Backends.
27
28 Available Backends
29 - Julia Programming Language: http://julialang.org/
30 - KAlgebra for Calculation and Plotting: http://edu.kde.org/kalgebra/
31 - Lua Programming Language: http://lua.org/
32 - Maxima Computer Algebra System: http://maxima.sourceforge.net/
33 - Octave for Numerical Computation: https://gnu.org/software/octave/
34 - Python 2 Programming Language: http://python.org/
35 - Python 3 Programming Language: http://python.org/
36 - Qalculate Desktop Calculator: http://qalculate.sourceforge.net/
37 - R Project for Statistical Computing: http://r-project.org/
38 - Sage Mathematics Software: http://sagemath.org/
39 - Scilab for Numerical Computation: http://scilab.org/
40
41 %package devel
42 Summary:        Header files for %{kaname} development
43 Summary(pl.UTF-8):      Pliki nagłówkowe dla programistów używających %{kpname}
44 Group:          X11/Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46
47 %description devel
48 Header files for %{kaname} development.
49
50 %description devel -l pl.UTF-8
51 Pliki nagłówkowe dla programistów używających %{kaname}.
52
53 %prep
54 %setup -q -n %{kaname}-%{version}
55
56 %build
57 install -d build
58 cd build
59 %cmake \
60         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
61         ..
62 %{__make}
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66 %{__make} -C build install \
67         DESTDIR=$RPM_BUILD_ROOT
68
69 %find_lang %{kaname} --all-name --with-kde
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files -f %{kaname}.lang
78 %defattr(644,root,root,755)
79 /etc/xdg/cantor.knsrc
80 /etc/xdg/cantor_kalgebra.knsrc
81 /etc/xdg/cantor_maxima.knsrc
82 /etc/xdg/cantor_octave.knsrc
83 /etc/xdg/cantor_python2.knsrc
84 /etc/xdg/cantor_python3.knsrc
85 /etc/xdg/cantor_qalculate.knsrc
86 /etc/xdg/cantor_r.knsrc
87 /etc/xdg/cantor_sage.knsrc
88 /etc/xdg/cantor_scilab.knsrc
89 %attr(755,root,root) %{_bindir}/cantor
90 %attr(755,root,root) %{_bindir}/cantor_python3server
91 %attr(755,root,root) %{_bindir}/cantor_rserver
92 %attr(755,root,root) %{_libdir}/libcantor_config.so
93 %attr(755,root,root) %{_libdir}/libcantor_pythonbackend.so
94 %attr(755,root,root) %ghost %{_libdir}/libcantorlibs.so.17
95 %attr(755,root,root) %{_libdir}/libcantorlibs.so.*.*.*
96 %dir %{_libdir}/qt5/plugins/cantor
97 %dir %{_libdir}/qt5/plugins/cantor/assistants
98 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_advancedplotassistant.so
99 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_creatematrixassistant.so
100 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_differentiateassistant.so
101 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_eigenvaluesassistant.so
102 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_eigenvectorsassistant.so
103 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_importpackageassistant.so
104 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_integrateassistant.so
105 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_invertmatrixassistant.so
106 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_plot2dassistant.so
107 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_plot3dassistant.so
108 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_qalculateplotassistant.so
109 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_runscriptassistant.so
110 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/assistants/cantor_solveassistant.so
111 %dir %{_libdir}/qt5/plugins/cantor/backends
112 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_kalgebrabackend.so
113 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_maximabackend.so
114 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_nullbackend.so
115 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_octavebackend.so
116 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_python2backend.so
117 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_python3backend.so
118 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_qalculatebackend.so
119 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_rbackend.so
120 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_sagebackend.so
121 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/backends/cantor_scilabbackend.so
122 %dir %{_libdir}/qt5/plugins/cantor/panels
123 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/panels/cantor_helppanelplugin.so
124 %attr(755,root,root) %{_libdir}/qt5/plugins/cantor/panels/cantor_variablemanagerplugin.so
125 %attr(755,root,root) %{_libdir}/qt5/plugins/libcantorpart.so
126 %{_desktopdir}/org.kde.cantor.desktop
127 %{_datadir}/cantor
128 %{_datadir}/config.kcfg/cantor.kcfg
129 %{_datadir}/config.kcfg/cantor_libs.kcfg
130 %{_datadir}/config.kcfg/kalgebrabackend.kcfg
131 %{_datadir}/config.kcfg/maximabackend.kcfg
132 %{_datadir}/config.kcfg/octavebackend.kcfg
133 %{_datadir}/config.kcfg/python2backend.kcfg
134 %{_datadir}/config.kcfg/python3backend.kcfg
135 %{_datadir}/config.kcfg/qalculatebackend.kcfg
136 %{_datadir}/config.kcfg/rserver.kcfg
137 %{_datadir}/config.kcfg/sagebackend.kcfg
138 %{_datadir}/config.kcfg/scilabbackend.kcfg
139 %{_iconsdir}/hicolor/128x128/apps/cantor.png
140 %{_iconsdir}/hicolor/16x16/apps/cantor.png
141 %{_iconsdir}/hicolor/22x22/apps/cantor.png
142 %{_iconsdir}/hicolor/32x32/apps/cantor.png
143 %{_iconsdir}/hicolor/48x48/apps/cantor.png
144 %{_iconsdir}/hicolor/48x48/apps/juliabackend.png
145 %{_iconsdir}/hicolor/48x48/apps/kalgebrabackend.png
146 %{_iconsdir}/hicolor/48x48/apps/luabackend.png
147 %{_iconsdir}/hicolor/48x48/apps/maximabackend.png
148 %{_iconsdir}/hicolor/48x48/apps/octavebackend.png
149 %{_iconsdir}/hicolor/48x48/apps/pythonbackend.png
150 %{_iconsdir}/hicolor/48x48/apps/qalculatebackend.png
151 %{_iconsdir}/hicolor/48x48/apps/rbackend.png
152 %{_iconsdir}/hicolor/48x48/apps/sagebackend.png
153 %{_iconsdir}/hicolor/48x48/apps/scilabbackend.png
154 %{_iconsdir}/hicolor/64x64/apps/cantor.png
155 %dir %{_datadir}/kxmlgui5/cantor
156 %{_datadir}/kxmlgui5/cantor/cantor_part.rc
157 %{_datadir}/kxmlgui5/cantor/cantor_scripteditor.rc
158 %{_datadir}/kxmlgui5/cantor/cantor_shell.rc
159 %{_datadir}/metainfo/org.kde.cantor.appdata.xml
160
161 %files devel
162 %defattr(644,root,root,755)
163 %{_includedir}/cantor
164 %attr(755,root,root) %{_libdir}/libcantorlibs.so
165
This page took 0.110066 seconds and 3 git commands to generate.