Accepting request 304206 from KDE:Applications
Update to KDE Applications 15.04. OBS-URL: https://build.opensuse.org/request/show/304206 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kig?expand=0&rev=54
This commit is contained in:
committed by
Git OBS Bridge
parent
a6bcfdfa8d
commit
7648cc0b57
70
kig.spec
70
kig.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package kig
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX 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,7 +17,7 @@
|
||||
|
||||
|
||||
Name: kig
|
||||
Version: 4.14.3
|
||||
Version: 15.04.0
|
||||
Release: 0
|
||||
Summary: Interactive Geometry
|
||||
License: GPL-2.0+
|
||||
@@ -25,13 +25,26 @@ Group: Productivity/Scientific/Math
|
||||
Url: http://edu.kde.org
|
||||
Source0: %{name}-%{version}.tar.xz
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: libkde4-devel
|
||||
BuildRequires: karchive-devel
|
||||
BuildRequires: kconfigwidgets-devel
|
||||
BuildRequires: kdelibs4support-devel
|
||||
BuildRequires: kdoctools-devel
|
||||
BuildRequires: kemoticons-devel
|
||||
BuildRequires: kf5-filesystem
|
||||
BuildRequires: ki18n-devel
|
||||
BuildRequires: kiconthemes-devel
|
||||
BuildRequires: kitemmodels-devel
|
||||
BuildRequires: kparts-devel
|
||||
BuildRequires: ktexteditor-devel
|
||||
BuildRequires: kxmlgui-devel
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: xz
|
||||
Provides: kde4-kig = 4.3.0
|
||||
Obsoletes: kde4-kig < 4.3.0
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Svg) >= 5.2.0
|
||||
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
|
||||
Obsoletes: %{name}5 < %{version}
|
||||
Provides: %{name}5 = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%kde4_runtime_requires
|
||||
%py_requires
|
||||
|
||||
%description
|
||||
@@ -41,38 +54,31 @@ figures and concepts using the computer. Serve as a WYSIWYG tool for
|
||||
drawing mathematical figures and including them in other documents.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%ifarch ppc ppc64
|
||||
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
|
||||
%endif
|
||||
%cmake_kde4 -d build
|
||||
%cmake_kf5 -d build
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%kde4_makeinstall -C build
|
||||
%kde_post_install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING* ChangeLog FEATURES
|
||||
%dir %{_kde4_datadir}/appdata
|
||||
%{_kde4_applicationsdir}/kig.desktop
|
||||
%{_kde4_appsdir}/kig/
|
||||
%{_kde4_bindir}/kig
|
||||
%{_kde4_bindir}/pykig.py
|
||||
%{_kde4_datadir}/appdata/kig.appdata.xml
|
||||
%{_kde4_htmldir}/en/kig/
|
||||
%{_kde4_iconsdir}/hicolor/*/apps/kig.*
|
||||
%{_kde4_iconsdir}/hicolor/*/mimetypes/application-x-kig.*
|
||||
%{_kde4_mandir}/man1/kig.1.gz
|
||||
%{_kde4_modulesdir}/kigpart.so
|
||||
%{_kde4_servicesdir}/kig_part.desktop
|
||||
%if %{suse_version} > 1230
|
||||
%dir %{_kde4_appsdir}/katepart
|
||||
%dir %{_kde4_appsdir}/katepart/syntax
|
||||
%{_kde4_appsdir}/katepart/syntax/python-kig.xml
|
||||
%endif
|
||||
%doc COPYING*
|
||||
%{_kf5_bindir}/kig
|
||||
%{_kf5_bindir}/pykig.py
|
||||
%{_kf5_sharedir}/kig/
|
||||
%{_kf5_sharedir}/katepart/
|
||||
%{_kf5_sharedir}/kxmlgui5/
|
||||
%{_kf5_sharedir}/appdata/
|
||||
%{_kf5_applicationsdir}/kig.desktop
|
||||
%{_kf5_servicesdir}/
|
||||
%{_kf5_iconsdir}/hicolor/*/*/*
|
||||
%dir %{_kf5_htmldir}/en
|
||||
%dir %{_kf5_htmldir}
|
||||
%doc %{_kf5_htmldir}/en/*/
|
||||
%{_kf5_plugindir}/
|
||||
%{_kf5_mandir}/*/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user