]>
Commit | Line | Data |
---|---|---|
60af8cba AM |
1 | %define _state stable |
2 | %define orgname cantor | |
3 | ||
4 | Summary: K Desktop Environment - Frontend to Mathematical Software | |
5 | Name: cantor | |
6b43c065 AM |
6 | Version: 4.7.3 |
7 | Release: 1 | |
60af8cba AM |
8 | License: GPL |
9 | Group: X11/Applications/Graphics | |
10 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 | |
6b43c065 | 11 | # Source0-md5: 910a2e814df1a61d77f0be06c6a9f1ab |
60af8cba AM |
12 | URL: http://www.kde.org/ |
13 | BuildRequires: R | |
14 | BuildRequires: kde4-kdelibs-devel | |
15 | BuildRequires: libspectre-devel | |
12bc741d | 16 | Obsoletes: kde4-kdeedu-cantor < 4.6.99 |
60af8cba AM |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | a front-end to powerful mathematics and statistics packages. Cantor | |
21 | integrates them into the KDE Platform and provides a nice, | |
22 | worksheet-based, graphical user interface. | |
23 | ||
24 | %package devel | |
25 | Summary: cantor development files | |
26 | Summary(pl.UTF-8): Pliki dla programistów cantor | |
27 | Group: X11/Development/Libraries | |
28 | Requires: %{name} = %{version}-%{release} | |
29 | ||
30 | %description devel | |
31 | cantor development files. | |
32 | ||
33 | %description devel -l pl.UTF-8 | |
34 | Pliki dla programistów cantor. | |
35 | ||
36 | %prep | |
37 | %setup -q -n %{orgname}-%{version} | |
38 | ||
39 | %build | |
40 | install -d build | |
41 | cd build | |
42 | %cmake \ | |
43 | .. | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} -C build/ install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT \ | |
51 | kde_htmldir=%{_kdedocdir} | |
52 | ||
53 | %find_lang %{name} --with-kde | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post -p /sbin/ldconfig | |
59 | %postun -p /sbin/ldconfig | |
60 | ||
61 | %files -f %{name}.lang | |
62 | %defattr(644,root,root,755) | |
63 | %attr(755,root,root) %{_bindir}/cantor | |
64 | %attr(755,root,root) %{_bindir}/cantor_rserver | |
65 | %attr(755,root,root) %{_libdir}/kde4/cantor_creatematrixassistant.so | |
66 | %attr(755,root,root) %{_libdir}/kde4/cantor_differentiateassistant.so | |
67 | %attr(755,root,root) %{_libdir}/kde4/cantor_eigenvaluesassistant.so | |
68 | %attr(755,root,root) %{_libdir}/kde4/cantor_eigenvectorsassistant.so | |
69 | %attr(755,root,root) %{_libdir}/kde4/cantor_integrateassistant.so | |
70 | %attr(755,root,root) %{_libdir}/kde4/cantor_invertmatrixassistant.so | |
71 | %attr(755,root,root) %{_libdir}/kde4/cantor_maximabackend.so | |
72 | %attr(755,root,root) %{_libdir}/kde4/cantor_nullbackend.so | |
73 | %attr(755,root,root) %{_libdir}/kde4/cantor_plot2dassistant.so | |
74 | %attr(755,root,root) %{_libdir}/kde4/cantor_plot3dassistant.so | |
75 | %attr(755,root,root) %{_libdir}/kde4/cantor_rbackend.so | |
76 | %attr(755,root,root) %{_libdir}/kde4/cantor_runscriptassistant.so | |
77 | %attr(755,root,root) %{_libdir}/kde4/cantor_sagebackend.so | |
78 | %attr(755,root,root) %{_libdir}/kde4/cantor_solveassistant.so | |
79 | %attr(755,root,root) %{_libdir}/kde4/cantor_advancedplotassistant.so | |
80 | %attr(755,root,root) %{_libdir}/kde4/cantor_helppanelplugin.so | |
81 | %attr(755,root,root) %{_libdir}/kde4/cantor_octavebackend.so | |
82 | %attr(755,root,root) %{_libdir}/kde4/cantor_variablemanagerplugin.so | |
83 | %attr(755,root,root) %{_libdir}/kde4/libcantorpart.so | |
84 | %attr(755,root,root) %{_libdir}/libcantorlibs.so.*.*.* | |
85 | %attr(755,root,root) %ghost %{_libdir}/libcantorlibs.so.? | |
86 | %attr(755,root,root) %{_libdir}/libcantor_config.so | |
87 | %{_desktopdir}/kde4/cantor.desktop | |
88 | %{_datadir}/apps/cantor | |
89 | %{_datadir}/config.kcfg/cantor.kcfg | |
90 | %{_datadir}/config.kcfg/cantor_libs.kcfg | |
91 | %{_datadir}/config.kcfg/maximabackend.kcfg | |
92 | %{_datadir}/config.kcfg/sagebackend.kcfg | |
93 | %{_datadir}/config.kcfg/rserver.kcfg | |
94 | %{_datadir}/config/cantor*.knsrc | |
95 | %{_iconsdir}/hicolor/16x16/apps/cantor.png | |
96 | %{_iconsdir}/hicolor/32x32/apps/cantor.png | |
97 | %{_iconsdir}/hicolor/48x48/apps/cantor.png | |
98 | %{_iconsdir}/hicolor/48x48/apps/maximabackend.png | |
99 | %{_iconsdir}/hicolor/48x48/apps/rbackend.png | |
100 | %{_iconsdir}/hicolor/48x48/apps/sagebackend.png | |
101 | %{_iconsdir}/hicolor/*x*/apps/octavebackend.png | |
102 | %dir %{_datadir}/kde4/services/cantor | |
103 | %{_datadir}/kde4/services/cantor/cantor_part.desktop | |
104 | %{_datadir}/kde4/services/cantor/creatematrixassistant.desktop | |
105 | %{_datadir}/kde4/services/cantor/differentiateassistant.desktop | |
106 | %{_datadir}/kde4/services/cantor/eigenvaluesassistant.desktop | |
107 | %{_datadir}/kde4/services/cantor/eigenvectorsassistant.desktop | |
108 | %{_datadir}/kde4/services/cantor/integrateassistant.desktop | |
109 | %{_datadir}/kde4/services/cantor/invertmatrixassistant.desktop | |
110 | %{_datadir}/kde4/services/cantor/maximabackend.desktop | |
111 | %{_datadir}/kde4/services/cantor/nullbackend.desktop | |
112 | %{_datadir}/kde4/services/cantor/plot2dassistant.desktop | |
113 | %{_datadir}/kde4/services/cantor/plot3dassistant.desktop | |
114 | %{_datadir}/kde4/services/cantor/rbackend.desktop | |
115 | %{_datadir}/kde4/services/cantor/runscriptassistant.desktop | |
116 | %{_datadir}/kde4/services/cantor/sagebackend.desktop | |
117 | %{_datadir}/kde4/services/cantor/solveassistant.desktop | |
118 | %{_datadir}/kde4/servicetypes/cantor_assistant.desktop | |
119 | %{_datadir}/kde4/servicetypes/cantor_backend.desktop | |
120 | %{_datadir}/kde4/services/cantor/advancedplotassistant.desktop | |
121 | %{_datadir}/kde4/services/cantor/helppanelplugin.desktop | |
122 | %{_datadir}/kde4/services/cantor/octavebackend.desktop | |
123 | %{_datadir}/kde4/services/cantor/variablemanagerplugin.desktop | |
124 | %{_datadir}/kde4/servicetypes/cantor_panelplugin.desktop | |
125 | %{_datadir}/config.kcfg/octavebackend.kcfg | |
126 | ||
127 | %files devel | |
128 | %defattr(644,root,root,755) | |
129 | %{_includedir}/cantor | |
130 | %attr(755,root,root) %{_libdir}/libcantorlibs.so |