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