61 lines
1.9 KiB
RPMSpec
61 lines
1.9 KiB
RPMSpec
|
|
Name: kf5
|
||
|
|
Version: 5.59.0
|
||
|
|
Release: 2
|
||
|
|
Summary: Filesystem and RPM macros of KDE Frameworks 5
|
||
|
|
License: BSD
|
||
|
|
URL: http://www.kde.org
|
||
|
|
|
||
|
|
Source0: macros.kf5
|
||
|
|
|
||
|
|
%description
|
||
|
|
Filesystem and RPM macros of KDE Frameworks 5.
|
||
|
|
|
||
|
|
%package filesystem
|
||
|
|
Summary: Filesystem of KF5
|
||
|
|
Obsoletes: kf5-filesystem < 5.10.0-2
|
||
|
|
%{?_qt5_version:Requires: qt5-qtbase%{?_isa} >= %{_qt5_version}}
|
||
|
|
|
||
|
|
%description filesystem
|
||
|
|
Filesystem of KF5.
|
||
|
|
|
||
|
|
%package rpm-macros
|
||
|
|
Summary: RPM macros of KF5
|
||
|
|
Requires: cmake >= 3 qt5-rpm-macros >= 5.10
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description rpm-macros
|
||
|
|
RPM macros of KF5.
|
||
|
|
|
||
|
|
%install
|
||
|
|
install -d %{buildroot}%{_prefix}/{lib,%{_lib}}/qt5/plugins/kf5/
|
||
|
|
install -d %{buildroot}%{_prefix}/{lib,%{_lib}}/kconf_update_bin
|
||
|
|
install -d %{buildroot}%{_includedir}/KF5
|
||
|
|
install -d %{buildroot}%{_datadir}/{config.kcfg,kconf_update,kf5,kservicetypes5}
|
||
|
|
install -d %{buildroot}%{_datadir}/kpackage/genericqml
|
||
|
|
install -d %{buildroot}%{_datadir}/kpackage/kcms
|
||
|
|
install -d %{buildroot}%{_datadir}/kservices5/ServiceMenus
|
||
|
|
install -d %{buildroot}%{_datadir}/solid/actions
|
||
|
|
install -d %{buildroot}%{_datadir}/solid/devices
|
||
|
|
install -d %{buildroot}%{_libexecdir}/kf5
|
||
|
|
install -d %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/env
|
||
|
|
install -d %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/shutdown
|
||
|
|
install -Dpm644 %{_sourcedir}/macros.kf5 %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5
|
||
|
|
sed -i -e "s|@@KF5_VERSION@@|%{version}|g" %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf5
|
||
|
|
|
||
|
|
%files filesystem
|
||
|
|
%{_sysconfdir}/xdg/plasma-workspace/
|
||
|
|
%{_prefix}/lib/qt5/plugins/kf5/
|
||
|
|
%{_prefix}/%{_lib}/qt5/plugins/kf5/
|
||
|
|
%{_prefix}/lib/kconf_update_bin/
|
||
|
|
%{_prefix}/%{_lib}/kconf_update_bin/
|
||
|
|
%{_includedir}/KF5/
|
||
|
|
%{_libexecdir}/kf5/
|
||
|
|
%{_datadir}/{config.kcfg,kconf_update,kf5,kpackage,kservices5,kservicetypes5,solid}
|
||
|
|
|
||
|
|
%files rpm-macros
|
||
|
|
%{_rpmconfigdir}/macros.d/macros.kf5
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Sat Mar 07 2020 daiqianwen <daiqianwen@huawei.com> - 5.59.0-2
|
||
|
|
- Package init
|