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 %define qt6_version 6.8.0
@@ -7,10 +12,12 @@
Name: kf6-kdesu Name: kf6-kdesu
Version: 6.22.0 Version: 6.22.0
Release: 0 Release: %autorelease
Summary: User interface for running shell commands with root privileges Summary: User interface for running shell commands with root privileges
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: https://www.kde.org 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 Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes BuildRequires: fdupes
@@ -32,12 +39,12 @@ libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and (password asking) console mode programs. For example, kdesu and
kdessh use it to interface with su and ssh respectively. kdessh use it to interface with su and ssh respectively.
%package devel %package devel
Summary: User interface for running shell commands with root privileges Summary: User interface for running shell commands with root privileges
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(KF6Pty) >= %{_kf6_version} Requires: cmake(KF6Pty) >= %{_kf6_version}
%description devel %description devel
libkdesu provides functionality for building GUI front ends for libkdesu provides functionality for building GUI front ends for
(password asking) console mode programs. For example, kdesu and (password asking) console mode programs. For example, kdesu and
kdessh use it to interface with su and ssh respectively. 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/*@*
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
# Use langpacks macro to auto-split translations # Use langpacks macro to auto-split translations
%find_lang kdesud6 --all-name --generate-subpackages %find_lang kdesud --all-name --generate-subpackages
%files %files
%license LICENSES/* %license LICENSES/*
@@ -78,3 +84,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
%{_kf6_libdir}/libKF6Su.so %{_kf6_libdir}/libKF6Su.so
%changelog %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 %define qt6_version 6.8.0
@@ -7,10 +12,12 @@
Name: kf6-kpty Name: kf6-kpty
Version: 6.22.0 Version: 6.22.0
Release: 0 Release: %autorelease
Summary: Primitives to interface with pseudo terminal devices Summary: Primitives to interface with pseudo terminal devices
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: https://www.kde.org 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 Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes 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 as well as a KProcess derived class for running child processes and
communicating with them using a pty. communicating with them using a pty.
%package devel %package devel
Summary: Development files for kpty, a pseudo terminal device interface Summary: Development files for kpty, a pseudo terminal device interface
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(Qt6Core) >= %{qt6_version} Requires: cmake(Qt6Core) >= %{qt6_version}
%description devel %description devel
This library provides primitives to interface with pseudo terminal devices This library provides primitives to interface with pseudo terminal devices
as well as a KProcess derived class for running child processes and as well as a KProcess derived class for running child processes and
communicating with them using a pty. communicating with them using a pty.
@@ -58,8 +65,6 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
%fdupes %{buildroot} %fdupes %{buildroot}
%files %files
%license LICENSES/* %license LICENSES/*
%{_kf6_debugdir}/kpty.categories %{_kf6_debugdir}/kpty.categories
@@ -71,3 +76,4 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/en_GB/
%{_kf6_libdir}/libKF6Pty.so %{_kf6_libdir}/libKF6Pty.so
%changelog %changelog
%{?autochangelog}

View File

@@ -16,6 +16,7 @@ Release: %autorelease
Summary: Embeddable text editor component Summary: Embeddable text editor component
License: LGPL-2.1-or-later License: LGPL-2.1-or-later
URL: https://www.kde.org URL: https://www.kde.org
VCS: git:https://github.com/KDE/ktexteditor.git
#!RemoteAsset #!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz 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 %define qt6_version 6.8.0
@@ -8,10 +13,11 @@
Name: kf6-kuserfeedback Name: kf6-kuserfeedback
Version: 6.22.0 Version: 6.22.0
Release: 0 Release: %autorelease
Summary: Framework for collecting feedback from application users Summary: Framework for collecting feedback from application users
License: MIT License: MIT
URL: https://www.kde.org URL: https://www.kde.org
#!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: bison 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 telemetry and feedback surveys. It is designed to be compliant with the
KDE Telemetry Policy, which forbids the usage of unique identification. KDE Telemetry Policy, which forbids the usage of unique identification.
%package server %package server
Summary: Server component of kf6-kuserfeedback Summary: Server component of kf6-kuserfeedback
Requires: (php-sqlite or php-mysql or php-pgsql) Requires: (php-sqlite or php-mysql or php-pgsql)
Requires: kf6-kuserfeedback >= %{version} Requires: kf6-kuserfeedback >= %{version}
Requires: php Requires: php
Conflicts: kuserfeedback-server Conflicts: kuserfeedback-server
%description server %description server
KUserFeedback is a framework which allows applications to collect user KUserFeedback is a framework which allows applications to collect user
telemetry and feedback surveys. This package provides a server component telemetry and feedback surveys. This package provides a server component
used to collect telemetry and feedback. used to collect telemetry and feedback.
%package devel %package devel
Summary: Development files for kf6-kuserfeedback Summary: Development files for kf6-kuserfeedback
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Conflicts: kuserfeedback-devel Conflicts: kuserfeedback-devel
%description devel %description devel
Development files for kf6-kuserfeedback, a framework for collecting feedback from Development files for kf6-kuserfeedback, a framework for collecting feedback from
application users via telemetry and targeted surveys. application users via telemetry and targeted surveys.
@@ -89,8 +95,6 @@ rm %{buildroot}%{_kf6_sharedir}/php/kuserfeedback6/CMakeLists.txt
%fdupes %{buildroot} %fdupes %{buildroot}
%files %files
%license LICENSES/* %license LICENSES/*
%doc README.md %doc README.md
@@ -118,3 +122,4 @@ rm %{buildroot}%{_kf6_sharedir}/php/kuserfeedback6/CMakeLists.txt
%{_kf6_mkspecsdir}/qt_KF6UserFeedbackWidgets.pri %{_kf6_mkspecsdir}/qt_KF6UserFeedbackWidgets.pri
%changelog %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 %define qt6_version 6.8.0
@@ -7,10 +12,12 @@
Name: kf6-prison Name: kf6-prison
Version: 6.22.0 Version: 6.22.0
Release: 0 Release: %autorelease
Summary: Barcode abstraction layer library Summary: Barcode abstraction layer library
License: MIT License: MIT
URL: https://www.kde.org 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 Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz
BuildRequires: fdupes BuildRequires: fdupes
@@ -32,12 +39,12 @@ BuildRequires: qt6-linguist
Prison is a barcode abstraction layer library providing Prison is a barcode abstraction layer library providing
uniform access to generation of barcodes with data. uniform access to generation of barcodes with data.
%package devel %package devel
Summary: Development files Prison, a barcode abstraction library Summary: Development files Prison, a barcode abstraction library
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: cmake(Qt6Gui) >= %{qt6_version} Requires: cmake(Qt6Gui) >= %{qt6_version}
%description devel %description devel
Development files for prison, a barcode abstraction layer library providing Development files for prison, a barcode abstraction layer library providing
uniform access to generation of barcodes with data. uniform access to generation of barcodes with data.
@@ -54,8 +61,6 @@ uniform access to generation of barcodes with data.
%fdupes %{buildroot} %fdupes %{buildroot}
%files %files
%license LICENSES/* %license LICENSES/*
%doc README.md %doc README.md
@@ -73,3 +78,4 @@ uniform access to generation of barcodes with data.
%{_kf6_libdir}/libKF6PrisonScanner.so %{_kf6_libdir}/libKF6PrisonScanner.so
%changelog %changelog
%{?autochangelog}

View File

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

View File

@@ -16,6 +16,7 @@ Release: %autorelease
Summary: Syntax highlighting engine and library 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 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 URL: https://www.kde.org
VCS: git:https://github.com/KDE/syntax-highlighting.git
#!RemoteAsset #!RemoteAsset
Source: https://download.kde.org/stable/frameworks/6.22/%{rname}-%{version}.tar.xz 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 # Use langpacks macro to auto-split translations
%find_lang %{name} --with-qt --all-name --generate-subpackages %find_lang %{name} --with-qt --all-name --generate-subpackages
%files %files
%license LICENSES/* %license LICENSES/*
%doc README.md %doc README.md