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