format spec
This commit is contained in:
parent
b322b093eb
commit
2ef65593f3
@ -7,13 +7,12 @@
|
||||
%global tests 1
|
||||
%endif
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 5.55.0
|
||||
Release: 1
|
||||
Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications
|
||||
|
||||
License: LGPLv2+
|
||||
URL: https://cgit.kde.org/%{framework}.git
|
||||
Name: kf5-%{framework}
|
||||
Version: 5.55.0
|
||||
Release: 1
|
||||
Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications
|
||||
License: LGPLv2+
|
||||
URL: https://cgit.kde.org/%{framework}.git
|
||||
|
||||
%global majmin %(echo %{version} | cut -d. -f1-2)
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
@ -22,43 +21,23 @@ URL: https://cgit.kde.org/%{framework}.git
|
||||
%else
|
||||
%global stable stable
|
||||
%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
|
||||
|
||||
BuildRequires: dbusmenu-qt5-devel
|
||||
BuildRequires: extra-cmake-modules >= %{majmin}
|
||||
BuildRequires: kf5-kcodecs-devel >= %{majmin}
|
||||
BuildRequires: kf5-kconfig-devel >= %{majmin}
|
||||
BuildRequires: kf5-kcoreaddons-devel >= %{majmin}
|
||||
BuildRequires: kf5-kwindowsystem-devel >= %{majmin}
|
||||
BuildRequires: kf5-rpm-macros
|
||||
|
||||
BuildRequires: phonon-qt5-devel
|
||||
BuildRequires: pkgconfig(libcanberra)
|
||||
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
BuildRequires: qt5-qttools-devel
|
||||
BuildRequires: qt5-qtx11extras-devel
|
||||
|
||||
%if !0%{?bootstrap}
|
||||
%endif
|
||||
BuildRequires: dbusmenu-qt5-devel extra-cmake-modules >= %{majmin} kf5-kcodecs-devel >= %{majmin} kf5-kconfig-devel >= %{majmin} kf5-kcoreaddons-devel >= %{majmin} kf5-kwindowsystem-devel >= %{majmin} kf5-rpm-macros phonon-qt5-devel pkgconfig(libcanberra) qt5-qtbase-devel qt5-qttools-devel qt5-qtx11extras-devel
|
||||
|
||||
%if 0%{?tests}
|
||||
BuildRequires: dbus-x11
|
||||
BuildRequires: time
|
||||
BuildRequires: xorg-x11-server-Xvfb
|
||||
BuildRequires: dbus-x11 time xorg-x11-server-Xvfb
|
||||
%endif
|
||||
|
||||
|
||||
%description
|
||||
KDE Frameworks 5 Tier 3 solution with abstraction for system
|
||||
notifications.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: qt5-qtbase-devel
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release} qt5-qtbase-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
@ -117,3 +96,4 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" |
|
||||
%changelog
|
||||
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1
|
||||
- Initial release for OpenEuler
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user