2015-08-07 09:56:56 +02:00
|
|
|
#
|
|
|
|
# spec file for package kross-interpreters
|
|
|
|
#
|
2020-01-09 16:59:04 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2015-08-07 09:56:56 +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.
|
|
|
|
|
2018-10-12 10:46:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-07 09:56:56 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-11-29 12:40:11 +01:00
|
|
|
%define kf5_version 5.60.0
|
2017-08-12 00:58:45 +02:00
|
|
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
2018-07-28 15:42:47 +02:00
|
|
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
2019-08-15 16:00:58 +02:00
|
|
|
%bcond_without lang
|
2018-11-25 00:45:10 +01:00
|
|
|
Name: kross-interpreters
|
2020-08-03 10:30:08 +02:00
|
|
|
Version: 20.07.90
|
2018-11-25 00:45:10 +01:00
|
|
|
Release: 0
|
2016-12-03 14:58:14 +01:00
|
|
|
Summary: Diverse bindings for KROSS
|
2018-03-10 13:11:20 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-03 14:58:14 +01:00
|
|
|
Group: Development/Libraries/KDE
|
2020-07-22 21:32:34 +02:00
|
|
|
Source: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2015-08-07 09:56:56 +02:00
|
|
|
BuildRequires: extra-cmake-modules
|
2020-01-14 20:21:38 +01:00
|
|
|
BuildRequires: ruby-devel
|
2015-08-07 09:56:56 +02:00
|
|
|
BuildRequires: xz
|
2019-11-29 12:40:11 +01:00
|
|
|
BuildRequires: cmake(KF5KDELibs4Support)
|
|
|
|
BuildRequires: cmake(KF5Kross) >= 5.11.0
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
2020-03-28 14:58:07 +01:00
|
|
|
%if %{with lang}
|
2020-07-22 21:32:34 +02:00
|
|
|
Source1: https://download.kde.org/unstable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2020-03-28 14:58:07 +01:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
2015-08-07 09:56:56 +02:00
|
|
|
|
|
|
|
%description
|
2020-01-14 20:21:38 +01:00
|
|
|
The kross interpreter for Ruby
|
2015-08-07 09:56:56 +02:00
|
|
|
|
|
|
|
%package -n kross-ruby
|
|
|
|
Summary: Ruby Bindings for kross
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
|
|
|
|
%description -n kross-ruby
|
|
|
|
The Ruby bindings which can be used with KROSS
|
|
|
|
|
|
|
|
%prep
|
2016-12-03 14:58:14 +01:00
|
|
|
%setup -q
|
2015-08-07 09:56:56 +02:00
|
|
|
|
|
|
|
%build
|
2016-12-03 14:58:14 +01:00
|
|
|
%cmake_kf5 -d build
|
2020-02-07 09:46:45 +01:00
|
|
|
%cmake_build
|
2015-08-07 09:56:56 +02:00
|
|
|
|
|
|
|
%install
|
2015-08-07 11:42:17 +02:00
|
|
|
%kf5_makeinstall -C build
|
2015-08-07 09:56:56 +02:00
|
|
|
|
2020-01-14 20:21:38 +01:00
|
|
|
%files -n kross-ruby
|
2018-11-25 01:02:50 +01:00
|
|
|
%license COPYING
|
2020-01-14 20:21:38 +01:00
|
|
|
%{_kf5_plugindir}/krossruby.so
|
2015-08-07 09:56:56 +02:00
|
|
|
|
|
|
|
%changelog
|