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-kdesu
Version: 6.22.0
Release: 0
Release: %autorelease
Summary: User interface for running shell commands with root privileges
License: LGPL-2.1-or-later
URL: https://www.kde.org
VCS: git:https://github.com/KDE/kdesu.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes
@@ -32,12 +39,12 @@ libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and
kdessh use it to interface with su and ssh respectively.
%package devel
%package devel
Summary: User interface for running shell commands with root privileges
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(KF6Pty) >= %{_kf6_version}
%description devel
%description devel
libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and
kdessh use it to interface with su and ssh respectively.
@@ -61,8 +68,7 @@ Development files.
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/*@*
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
# Use langpacks macro to auto-split translations
%find_lang kdesud6 --all-name --generate-subpackages
%find_lang kdesud --all-name --generate-subpackages
%files
%license LICENSES/*
@@ -78,3 +84,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
%{_kf6_libdir}/libKF6Su.so
%changelog
%{?autochangelog}

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}

View File

@@ -16,6 +16,7 @@ Release: %autorelease
Summary: Embeddable text editor component
License: LGPL-2.1-or-later
URL: https://www.kde.org
VCS: git:https://github.com/KDE/ktexteditor.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz

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
@@ -8,10 +13,11 @@
Name: kf6-kuserfeedback
Version: 6.22.0
Release: 0
Release: %autorelease
Summary: Framework for collecting feedback from application users
License: MIT
URL: https://www.kde.org
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: bison
@@ -38,24 +44,24 @@ KUserFeedback is a framework which allows applications to collect user
telemetry and feedback surveys. It is designed to be compliant with the
KDE Telemetry Policy, which forbids the usage of unique identification.
%package server
%package server
Summary: Server component of kf6-kuserfeedback
Requires: (php-sqlite or php-mysql or php-pgsql)
Requires: kf6-kuserfeedback >= %{version}
Requires: php
Conflicts: kuserfeedback-server
%description server
%description server
KUserFeedback is a framework which allows applications to collect user
telemetry and feedback surveys. This package provides a server component
used to collect telemetry and feedback.
%package devel
%package devel
Summary: Development files for kf6-kuserfeedback
Requires: %{name}%{?_isa} = %{version}-%{release}
Conflicts: kuserfeedback-devel
%description devel
%description devel
Development files for kf6-kuserfeedback, a framework for collecting feedback from
application users via telemetry and targeted surveys.
@@ -89,8 +95,6 @@ rm %{buildroot}%{_kf6_sharedir}/php/kuserfeedback6/CMakeLists.txt
%fdupes %{buildroot}
%files
%license LICENSES/*
%doc README.md
@@ -118,3 +122,4 @@ rm %{buildroot}%{_kf6_sharedir}/php/kuserfeedback6/CMakeLists.txt
%{_kf6_mkspecsdir}/qt_KF6UserFeedbackWidgets.pri
%changelog
%{?autochangelog}

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-prison
Version: 6.22.0
Release: 0
Release: %autorelease
Summary: Barcode abstraction layer library
License: MIT
URL: https://www.kde.org
VCS: git:https://github.com/KDE/prison.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes
@@ -32,12 +39,12 @@ BuildRequires: qt6-linguist
Prison is a barcode abstraction layer library providing
uniform access to generation of barcodes with data.
%package devel
%package devel
Summary: Development files Prison, a barcode abstraction library
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(Qt6Gui) >= %{qt6_version}
%description devel
%description devel
Development files for prison, a barcode abstraction layer library providing
uniform access to generation of barcodes with data.
@@ -54,8 +61,6 @@ uniform access to generation of barcodes with data.
%fdupes %{buildroot}
%files
%license LICENSES/*
%doc README.md
@@ -73,3 +78,4 @@ uniform access to generation of barcodes with data.
%{_kf6_libdir}/libKF6PrisonScanner.so
%changelog
%{?autochangelog}

View File

@@ -19,6 +19,7 @@ Release: %autorelease
Summary: Framework to integrate services and actions in applications
License: LGPL-2.1-or-later
URL: https://www.kde.org
VCS: git:https://github.com/KDE/purpose.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz

View File

@@ -1,4 +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
@@ -8,11 +12,14 @@
Name: kf6-syndication
Version: 6.22.0
Release: 0
Release: %autorelease
Summary: RSS/Atom parsing library
License: LGPL-2.1-or-later
URL: https://www.kde.org
VCS: git:https://github.com/KDE/syndication.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
BuildRequires: cmake(KF6Codecs) >= %{_kf6_version}
BuildRequires: cmake(Qt6Network) >= %{qt6_version}
@@ -26,20 +33,11 @@ BuildRequires: qt6-linguist
KF6Syndication is an RSS/Atom parsing library by KDE, which
also provides an API to fetch feeds from the network.
%package -n libKF6Syndication6
Summary: RSS/Atom parsing library
Requires: kf6-syndication >= %{version}
%description -n libKF6Syndication6
KF6Syndication is an RSS/Atom parsing library, which
also provides an API to fetch feeds from the network.
This package contains the base library.
%package devel
%package devel
Summary: RSS/Atom parsing library - development headers
Requires: libKF6Syndication6 = %{version}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
%description devel
KF6Syndication is an RSS/Atom parsing library, which
also provides an API to fetch feeds from the network. This
package contains development headers.
@@ -55,13 +53,9 @@ package contains development headers.
%install
%kf6_install
%files
%{_kf6_debugdir}/syndication.categories
%{_kf6_debugdir}/syndication.renamecategories
%files -n libKF6Syndication6
%license LICENSES/*
%doc README.md
%{_kf6_libdir}/libKF6Syndication.so.*
@@ -72,3 +66,4 @@ package contains development headers.
%{_kf6_libdir}/libKF6Syndication.so
%changelog
%{?autochangelog}

View File

@@ -16,6 +16,7 @@ Release: %autorelease
Summary: Syntax highlighting engine and library
License: LGPL-2.1-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND MIT AND BSD-3-Clause AND Artistic-1.0
URL: https://www.kde.org
VCS: git:https://github.com/KDE/syntax-highlighting.git
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
@@ -71,7 +72,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
# Use langpacks macro to auto-split translations
%find_lang %{name} --with-qt --all-name --generate-subpackages
%files
%license LICENSES/*
%doc README.md