]>
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 | |
06e1829c AM |
6 | Name: kde4-kig |
7 | Version: 4.8.0 | |
a96b35d2 | 8 | Release: 2 |
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 | |
06e1829c | 12 | # Source0-md5: 2798cb1881a1fefbdc0f051db99cd2b5 |
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 |
06e1829c | 17 | Obsoletes: kig <= 4.8.0 |
4d925ff3 AM |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
21 | Kig is an application for Interactive Geometry. It's intended to serve | |
22 | two purposes: | |
23 | - allow students to interactively explore mathematical figures and | |
24 | concepts using the computer. | |
25 | - serve as a WYSIWYG tool for drawing mathematical figures and | |
26 | including them in other documents. | |
27 | ||
28 | %description -l pl.UTF-8 | |
29 | Kig to aplikacja do interaktywnej geometrii. Ma służyć dwóm celom: | |
30 | - umożliwić uczniom interaktywnie przeglądanie figur i pojęć | |
31 | matematycznych przy użyciu komputera | |
32 | - służyć jako narzędzie WYSIWYG do rysowania figur matematycznych i | |
33 | włączania ich do innych dokumentów. | |
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 | ||
06e1829c | 52 | %find_lang %{orgname} --with-kde |
4d925ff3 AM |
53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
06e1829c | 57 | %files -f %{orgname}.lang |
4d925ff3 AM |
58 | %defattr(644,root,root,755) |
59 | %attr(755,root,root) %{_bindir}/pykig.py | |
60 | %attr(755,root,root) %{_libdir}/kde4/kigpart.so | |
61 | %attr(755,root,root) %{_bindir}/kig | |
62 | %{_desktopdir}/kde4/kig.desktop | |
63 | %{_datadir}/kde4/services/kig_part.desktop | |
64 | %{_datadir}/apps/kig | |
65 | %{_iconsdir}/hicolor/*x*/apps/kig.png | |
66 | %{_iconsdir}/hicolor/scalable/apps/kig.svgz | |
67 | %{_iconsdir}/hicolor/*x*/mimetypes/application-x-kig.png | |
68 | %{_iconsdir}/hicolor/scalable/mimetypes/application-x-kig.svgz | |
69 | %{_mandir}/man1/kig.1* | |
70 | ||
71 | # subpackage? | |
72 | %{_datadir}/apps/katepart/syntax/python-kig.xml |