format spec

This commit is contained in:
yeqinglong 2020-08-22 11:24:51 +08:00
parent 330a85d149
commit 1e88890002

View File

@ -18,8 +18,6 @@ URL: https://cgit.kde.org/%{framework}.git
%endif %endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
## upstream patches
## downstream patches ## downstream patches
# adds the Administration menu from redhat-menus which equals System + Settings # adds the Administration menu from redhat-menus which equals System + Settings
# This prevents the stuff getting listed twice, under both System and Settings. # This prevents the stuff getting listed twice, under both System and Settings.
@ -30,19 +28,7 @@ Patch100: kservice-5.15.0-xdg-menu.patch
# hide that by default, make it qCDebug instead (of qCWarning) # hide that by default, make it qCDebug instead (of qCWarning)
Patch101: kservice-5.17.0-vfolder_spam.patch Patch101: kservice-5.17.0-vfolder_spam.patch
BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: extra-cmake-modules >= %{majmin} kf5-kconfig-devel >= %{majmin} kf5-kcoreaddons-devel >= %{majmin} kf5-kcrash-devel >= %{majmin} kf5-kdbusaddons-devel >= %{majmin} kf5-kdoctools-devel >= %{majmin} kf5-ki18n-devel >= %{majmin} kf5-rpm-macros qt5-qtbase-devel flex bison
BuildRequires: kf5-kconfig-devel >= %{majmin}
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
BuildRequires: kf5-kcrash-devel >= %{majmin}
BuildRequires: kf5-kdbusaddons-devel >= %{majmin}
BuildRequires: kf5-kdoctools-devel >= %{majmin}
BuildRequires: kf5-ki18n-devel >= %{majmin}
BuildRequires: kf5-rpm-macros
BuildRequires: qt5-qtbase-devel
BuildRequires: flex
BuildRequires: bison
# for the Administration category # for the Administration category
Requires: redhat-menus Requires: redhat-menus
@ -52,9 +38,8 @@ introspection.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release} kf5-kconfig-devel >= %{majmin} kf5-kcoreaddons-devel >= %{majmin}
Requires: kf5-kconfig-devel >= %{majmin}
Requires: kf5-kcoreaddons-devel >= %{majmin}
%description devel %description devel
The %{name}-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use %{name}. developing applications that use %{name}.
@ -110,3 +95,4 @@ mkdir -p %{buildroot}%{_kf5_datadir}/kservicetypes5
%changelog %changelog
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1 * Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
- Initial release for OpenEuler - Initial release for OpenEuler