]>
Commit | Line | Data |
---|---|---|
4d925ff3 AM |
1 | %define _state stable |
2 | %define orgname kig | |
3 | ||
4 | Summary: K Desktop Environment - Interactive Geometry | |
5 | Summary(pl_PL.UTF8): K Desktop Environment - Interaktywna geometria | |
6 | Name: kig | |
04e5fbfb AM |
7 | Version: 4.7.3 |
8 | Release: 1 | |
4d925ff3 AM |
9 | License: GPL |
10 | Group: X11/Applications/Science | |
11 | Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.bz2 | |
04e5fbfb | 12 | # Source0-md5: d470977abb051c738bd2cf7d54b50553 |
4d925ff3 AM |
13 | URL: http://www.kde.org/ |
14 | BuildRequires: boost-python-devel | |
15 | BuildRequires: kde4-kdelibs-devel | |
1f1c42bc | 16 | Obsoletes: kde4-kdeedu-kig < 4.6.99 |
4d925ff3 AM |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | Kig is an application for Interactive Geometry. It's intended to serve | |
21 | two purposes: | |
22 | - allow students to interactively explore mathematical figures and | |
23 | concepts using the computer. | |
24 | - serve as a WYSIWYG tool for drawing mathematical figures and | |
25 | including them in other documents. | |
26 | ||
27 | %description -l pl.UTF-8 | |
28 | Kig to aplikacja do interaktywnej geometrii. Ma służyć dwóm celom: | |
29 | - umożliwić uczniom interaktywnie przeglądanie figur i pojęć | |
30 | matematycznych przy użyciu komputera | |
31 | - służyć jako narzędzie WYSIWYG do rysowania figur matematycznych i | |
32 | włączania ich do innych dokumentów. | |
33 | ||
34 | %prep | |
35 | %setup -q -n %{orgname}-%{version} | |
36 | ||
37 | %build | |
38 | install -d build | |
39 | cd build | |
40 | %cmake \ | |
41 | .. | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} -C build/ install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT \ | |
49 | kde_htmldir=%{_kdedocdir} | |
50 | ||
51 | %find_lang %{name} --with-kde | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files -f %{name}.lang | |
57 | %defattr(644,root,root,755) | |
58 | %attr(755,root,root) %{_bindir}/pykig.py | |
59 | %attr(755,root,root) %{_libdir}/kde4/kigpart.so | |
60 | %attr(755,root,root) %{_bindir}/kig | |
61 | %{_desktopdir}/kde4/kig.desktop | |
62 | %{_datadir}/kde4/services/kig_part.desktop | |
63 | %{_datadir}/apps/kig | |
64 | %{_iconsdir}/hicolor/*x*/apps/kig.png | |
65 | %{_iconsdir}/hicolor/scalable/apps/kig.svgz | |
66 | %{_iconsdir}/hicolor/*x*/mimetypes/application-x-kig.png | |
67 | %{_iconsdir}/hicolor/scalable/mimetypes/application-x-kig.svgz | |
68 | %{_mandir}/man1/kig.1* | |
69 | ||
70 | # subpackage? | |
71 | %{_datadir}/apps/katepart/syntax/python-kig.xml |