SHA256
1
0
forked from pool/rocs

Accepting request 443471 from home:luca_b:test_KA

KDE Applications - please review

OBS-URL: https://build.opensuse.org/request/show/443471
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/rocs?expand=0&rev=47
This commit is contained in:
Raymond Wooninck
2016-12-03 12:16:08 +00:00
committed by Git OBS Bridge
parent 146d125054
commit 7eeb07432f
5 changed files with 45 additions and 11 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package rocs
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 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,28 +17,33 @@
Name: rocs
Version: 16.08.3
Version: 16.11.80
Release: 0
%define kf5_version 5.26.0
# Latest stable Applications (e.g. 16.08 in KA, but 16.11.80 in KUA)
%{!?_kapp_version: %global _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
Summary: Graph Theory IDE
License: GPL-3.0+
Group: Amusements/Teaching/Mathematics
Url: http://edu.kde.org
Source0: %{name}-%{version}.tar.xz
Patch1: fix_build_leap.diff
BuildRequires: boost-devel
BuildRequires: extra-cmake-modules >= 1.7.0
BuildRequires: fdupes
BuildRequires: grantlee5-devel
BuildRequires: kconfig-devel
BuildRequires: karchive-devel
BuildRequires: kconfig-devel
BuildRequires: kcoreaddons-devel
BuildRequires: kcrash-devel
BuildRequires: kdeclarative-devel
BuildRequires: kdoctools-devel
BuildRequires: ki18n-devel
BuildRequires: kservice-devel
BuildRequires: ktexteditor-devel
BuildRequires: kxmlgui-devel
BuildRequires: pkgconfig
BuildRequires: python-devel
BuildRequires: kcrash-devel
BuildRequires: update-desktop-files
BuildRequires: xz
BuildRequires: pkgconfig(Qt5Concurrent)
@@ -78,14 +83,14 @@ to build software using rocs.
%prep
%setup -q
%if 0%{?suse_version} < 1330
%patch1 -p1
%endif
%build
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
%if 0%{?suse_version} == 1320
export CXXFLAGS="$CXXFLAGS -fext-numeric-literals"
%endif
%cmake_kf5 -d build
%make_jobs
@@ -95,7 +100,6 @@ export CXXFLAGS="$CXXFLAGS -fext-numeric-literals"
%fdupes -s %{buildroot}
%post -n librocsgraphtheory0 -p /sbin/ldconfig
%postun -n librocsgraphtheory0 -p /sbin/ldconfig
%files