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