Update baloo-widgets.spec
This commit is contained in:
@@ -16,7 +16,6 @@ URL: https://www.kde.org
|
||||
VCS: git:https://invent.kde.org/libraries/baloo-widgets.git
|
||||
#!RemoteAsset: sha256:0b03fc0adfeda46deeb53fb5e22bb9108715ebc1d8f5b19ca4e5c2216332c711
|
||||
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
|
||||
BuildSystem: cmake
|
||||
|
||||
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
|
||||
BuildRequires: cmake(KF6Baloo) >= %{kf6_version}
|
||||
@@ -41,15 +40,25 @@ Requires: cmake(Qt6Widgets) >= %{qt6_version}
|
||||
%description devel
|
||||
Development package for baloo-widgets
|
||||
|
||||
%install -a
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf6
|
||||
|
||||
%kf6_build
|
||||
|
||||
%install
|
||||
%kf6_install
|
||||
|
||||
# todo: fix the name error.
|
||||
# Avoid illegal package names
|
||||
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 %{name} --with-qt --all-name --generate-subpackages
|
||||
|
||||
%files -f %{name}.lang
|
||||
%files
|
||||
%license LICENSES/*
|
||||
%{_kf6_bindir}/baloo_filemetadata_temp_extractor
|
||||
%{_kf6_debugdir}/baloo-widgets.categories
|
||||
|
||||
Reference in New Issue
Block a user