This commit is contained in:
2026-04-02 14:20:34 +08:00
parent 6846c5394e
commit e3a8fcab57
8 changed files with 62 additions and 41 deletions

View File

@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: (C) 2026 Institute of Software, Chinese Academy of Sciences (ISCAS)
# SPDX-FileCopyrightText: (C) 2026 openRuyi Project Contributors
# SPDX-FileContributor: jingyupu <pujingyu@iscas.ac.cn>
#
# SPDX-License-Identifier: MulanPSL-2.0
%define qt6_version 6.8.0
@@ -7,10 +12,12 @@
Name: kf6-kpty
Version: 6.22.0
Release: 0
Release: %autorelease
Summary: Primitives to interface with pseudo terminal devices
License: LGPL-2.1-or-later
URL: https://www.kde.org
VCS: git:https://github.com/KDE/kpty.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes
@@ -28,12 +35,12 @@ This library provides primitives to interface with pseudo terminal devices
as well as a KProcess derived class for running child processes and
communicating with them using a pty.
%package devel
%package devel
Summary: Development files for kpty, a pseudo terminal device interface
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(Qt6Core) >= %{qt6_version}
%description devel
%description devel
This library provides primitives to interface with pseudo terminal devices
as well as a KProcess derived class for running child processes and
communicating with them using a pty.
@@ -58,8 +65,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
%fdupes %{buildroot}
%files
%license LICENSES/*
%{_kf6_debugdir}/kpty.categories
@@ -71,3 +76,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
%{_kf6_libdir}/libKF6Pty.so
%changelog
%{?autochangelog}