2015-08-07 09:56:56 +02:00
|
|
|
#
|
|
|
|
# spec file for package kross-interpreters
|
|
|
|
#
|
2021-01-06 15:52:14 +01:00
|
|
|
# Copyright (c) 2021 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
|
|
|
#
|
|
|
|
|
|
|
|
|
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}')}
|
2022-01-06 13:44:57 +01:00
|
|
|
%bcond_without released
|
2018-11-25 00:45:10 +01:00
|
|
|
Name: kross-interpreters
|
2022-06-09 21:28:53 +02:00
|
|
|
Version: 22.04.2
|
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
|
2022-04-21 10:21:33 +02:00
|
|
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
2022-01-06 13:44:57 +01:00
|
|
|
%if %{with released}
|
2022-04-21 10:21:33 +02:00
|
|
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
|
2021-04-19 15:31:06 +02:00
|
|
|
Source2: applications.keyring
|
|
|
|
%endif
|
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)
|
2021-03-28 09:27:35 +02:00
|
|
|
BuildRequires: cmake(KF5Kross)
|
2019-11-29 12:40:11 +01:00
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Gui)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
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
|
2021-04-19 15:31:06 +02:00
|
|
|
%autosetup -p1
|
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
|