SHA256
1
0
forked from pool/kig

Accepting request 147035 from KDE:Distro:Factory

Update KDE to KDE 4.10 RC2

OBS-URL: https://build.opensuse.org/request/show/147035
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kig?expand=0&rev=22
This commit is contained in:
Stephan Kulow
2013-01-07 10:02:53 +00:00
committed by Git OBS Bridge
parent 2375c5db91
commit a1bc5c034a
4 changed files with 25 additions and 44 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package kig
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,47 +17,22 @@
Name: kig
BuildRequires: boost-devel
BuildRequires: freeglut-devel
BuildRequires: gsl-devel
BuildRequires: kdebase4-workspace-devel
BuildRequires: libeigen2-devel
BuildRequires: libgmm++-devel
BuildRequires: libkdeedu4-devel
BuildRequires: libopenbabel-devel
BuildRequires: libqalculate-devel
BuildRequires: libspectre-devel
BuildRequires: python-qt4-devel
BuildRequires: readline-devel
BuildRequires: xz
%if 0%{?sles_version} == 0
BuildRequires: python
BuildRequires: python-devel
%if 0%{?suse_version} > 1120
BuildRequires: avogadro-devel
%endif
%py_requires
%endif
# currently in DOESNOTBUILD (2008-07-03)
%ifnarch ppc ppc64 s390 s390x
BuildRequires: ocaml
BuildRequires: ocaml-facile
%endif
Version: 4.9.95
Version: 4.9.97
Release: 0
Summary: Interactive Geometry
License: GPL-2.0+
Group: Productivity/Scientific/Math
Url: http://edu.kde.org
Source0: %{name}-%{version}.tar.xz
BuildRequires: fdupes
Requires: libkeduvocdocument4
Suggests: libkeduvocdocument4
BuildRequires: boost-devel
BuildRequires: libkde4-devel
BuildRequires: python-devel
BuildRequires: xz
Provides: kde4-kig = 4.3.0
Obsoletes: kde4-kig < 4.3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%py_requires
%description
Kig is an application for Interactive Geometry. It's intended to serve
@@ -76,17 +51,9 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%make_jobs
%install
cd build
%kde4_makeinstall
%kde4_makeinstall -C build
%suse_update_desktop_file %{name} Education Math
%kde_post_install
%if 0%{?suse_version} > 1020
%fdupes -s %{buildroot}
%endif
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
@@ -100,6 +67,8 @@ export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%_kde4_appsdir/kig/
%_kde4_servicesdir/kig_part.desktop
%_kde4_mandir/man1/kig.1.gz
%dir %_kde4_appsdir/katepart
%dir %_kde4_appsdir/katepart/syntax
%_kde4_appsdir/katepart/syntax/python-kig.xml
%changelog