2011-07-25 12:46:25 +02:00
|
|
|
#
|
2011-07-25 12:46:37 +02:00
|
|
|
# spec file for package kig
|
2011-07-25 12:46:25 +02:00
|
|
|
#
|
2013-01-07 11:02:53 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-07-25 12:46:25 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-13 09:33:57 +01:00
|
|
|
|
2011-07-25 12:46:25 +02:00
|
|
|
Name: kig
|
2013-04-18 10:27:39 +02:00
|
|
|
Version: 4.10.2
|
2011-12-08 12:11:04 +01:00
|
|
|
Release: 0
|
2011-07-25 12:46:25 +02:00
|
|
|
Summary: Interactive Geometry
|
2011-12-08 12:11:04 +01:00
|
|
|
License: GPL-2.0+
|
2011-07-27 17:25:48 +02:00
|
|
|
Group: Productivity/Scientific/Math
|
2011-12-08 12:11:04 +01:00
|
|
|
Url: http://edu.kde.org
|
2012-04-12 09:33:47 +02:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
2013-01-07 11:02:53 +01:00
|
|
|
BuildRequires: boost-devel
|
|
|
|
BuildRequires: libkde4-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: xz
|
2011-07-25 12:46:25 +02:00
|
|
|
Provides: kde4-kig = 4.3.0
|
|
|
|
Obsoletes: kde4-kig < 4.3.0
|
2011-07-27 17:25:48 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%kde4_runtime_requires
|
2013-01-07 11:02:53 +01:00
|
|
|
%py_requires
|
2011-07-25 12:46:25 +02:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kig is an application for Interactive Geometry. It's intended to serve
|
|
|
|
two purposes: Allow students to interactively explore mathematical
|
|
|
|
figures and concepts using the computer. Serve as a WYSIWYG tool for
|
|
|
|
drawing mathematical figures and including them in other documents.
|
|
|
|
|
|
|
|
%prep
|
2011-07-27 17:25:48 +02:00
|
|
|
%setup -q
|
2011-07-25 12:46:25 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
%ifarch ppc ppc64
|
2011-07-27 17:25:48 +02:00
|
|
|
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
2011-07-25 12:46:25 +02:00
|
|
|
%endif
|
|
|
|
%cmake_kde4 -d build
|
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2013-01-07 11:02:53 +01:00
|
|
|
%kde4_makeinstall -C build
|
2011-07-25 12:46:25 +02:00
|
|
|
%kde_post_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%_kde4_bindir/kig
|
|
|
|
%_kde4_bindir/pykig.py
|
|
|
|
%_kde4_modulesdir/kigpart.so
|
|
|
|
%_kde4_applicationsdir/kig.desktop
|
|
|
|
%_kde4_htmldir/en/kig/
|
|
|
|
%_kde4_iconsdir/hicolor/*/apps/kig.*
|
|
|
|
%_kde4_iconsdir/hicolor/*/mimetypes/application-x-kig.*
|
|
|
|
%_kde4_appsdir/kig/
|
|
|
|
%_kde4_servicesdir/kig_part.desktop
|
|
|
|
%_kde4_mandir/man1/kig.1.gz
|
2013-01-07 11:02:53 +01:00
|
|
|
%dir %_kde4_appsdir/katepart
|
|
|
|
%dir %_kde4_appsdir/katepart/syntax
|
2011-07-25 12:46:25 +02:00
|
|
|
%_kde4_appsdir/katepart/syntax/python-kig.xml
|
|
|
|
|
|
|
|
%changelog
|