update
This commit is contained in:
84
kf6-ktextwidgets/kf6-ktextwidgets.spec
Normal file
84
kf6-ktextwidgets/kf6-ktextwidgets.spec
Normal file
@@ -0,0 +1,84 @@
|
||||
|
||||
%define qt6_version 6.8.0
|
||||
|
||||
%define rname ktextwidgets
|
||||
# Full KF6 version (e.g. 6.22.0)
|
||||
%{!?_kf6_version: %global _kf6_version %{version}}
|
||||
|
||||
Name: kf6-ktextwidgets
|
||||
Version: 6.20.0
|
||||
Release: 0
|
||||
Summary: KDE Text editing widgets
|
||||
License: LGPL-2.1-or-later
|
||||
URL: https://www.kde.org
|
||||
Source: https://ftp.ntu.edu.tw/pub/kde/stable/frameworks/6.20/%{rname}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Completion) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Config) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6ConfigWidgets) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6I18n) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6Sonnet) >= %{_kf6_version}
|
||||
BuildRequires: cmake(KF6WidgetsAddons) >= %{_kf6_version}
|
||||
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6TextToSpeech) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6ToolsTools) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6UiPlugin) >= %{qt6_version}
|
||||
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
|
||||
%description
|
||||
KTextWidgets provides widgets for displaying and editing text. It supports
|
||||
rich text as well as plain text.
|
||||
|
||||
%package -n libKF6TextWidgets6
|
||||
Summary: KDE Text editing widgets
|
||||
|
||||
%description -n libKF6TextWidgets6
|
||||
KTextWidgets provides widgets for displaying and editing text. It supports
|
||||
rich text as well as plain text.
|
||||
|
||||
%package devel
|
||||
Summary: KDE Text editing widgets: Build Environment
|
||||
Requires: kf6-extra-cmake-modules
|
||||
Requires: libKF6TextWidgets6 = %{version}
|
||||
Requires: cmake(KF6I18n) >= %{_kf6_version}
|
||||
Requires: cmake(KF6Sonnet) >= %{_kf6_version}
|
||||
Requires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
|
||||
%description devel
|
||||
KTextWidgets provides widgets for displaying and editing text. It supports
|
||||
rich text as well as plain text. Development files.
|
||||
|
||||
%lang_package -n libKF6TextWidgets6
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%find_lang ktextwidgets6
|
||||
|
||||
%ldconfig_scriptlets -n libKF6TextWidgets6
|
||||
|
||||
%files -n libKF6TextWidgets6
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_kf6_libdir}/libKF6TextWidgets.so.*
|
||||
|
||||
%files devel
|
||||
%{_kf6_libdir}/libKF6TextWidgets.so
|
||||
%{_kf6_cmakedir}/KF6TextWidgets/
|
||||
%{_kf6_includedir}/KTextWidgets/
|
||||
%{_kf6_plugindir}/designer/ktextwidgets6widgets.so
|
||||
|
||||
%files -n libKF6TextWidgets6-lang -f ktextwidgets6.lang
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user