format spec
This commit is contained in:
parent
330a85d149
commit
1e88890002
@ -1,13 +1,13 @@
|
|||||||
%global framework kservice
|
%global framework kservice
|
||||||
|
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection
|
Summary: KDE Frameworks 5 Tier 3 solution for advanced plugin and service introspection
|
||||||
Version: 5.55.0
|
Version: 5.55.0
|
||||||
Release: 1
|
Release: 1
|
||||||
|
|
||||||
# mixture of LGPLv2 and LGPLv2+ (mostly the latter)
|
# mixture of LGPLv2 and LGPLv2+ (mostly the latter)
|
||||||
License: LGPLv2
|
License: LGPLv2
|
||||||
URL: https://cgit.kde.org/%{framework}.git
|
URL: https://cgit.kde.org/%{framework}.git
|
||||||
|
|
||||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||||
%global revision %(echo %{version} | cut -d. -f3)
|
%global revision %(echo %{version} | cut -d. -f3)
|
||||||
@ -16,9 +16,7 @@ URL: https://cgit.kde.org/%{framework}.git
|
|||||||
%else
|
%else
|
||||||
%global stable stable
|
%global stable stable
|
||||||
%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
|
||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user