format spec
This commit is contained in:
parent
b322b093eb
commit
2ef65593f3
@ -7,13 +7,12 @@
|
|||||||
%global tests 1
|
%global tests 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: kf5-%{framework}
|
Name: kf5-%{framework}
|
||||||
Version: 5.55.0
|
Version: 5.55.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications
|
Summary: KDE Frameworks 5 Tier 2 solution with abstraction for system notifications
|
||||||
|
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)
|
||||||
@ -22,43 +21,23 @@ 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
|
||||||
|
|
||||||
|
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
|
||||||
## 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
|
|
||||||
|
|
||||||
%if 0%{?tests}
|
%if 0%{?tests}
|
||||||
BuildRequires: dbus-x11
|
BuildRequires: dbus-x11 time xorg-x11-server-Xvfb
|
||||||
BuildRequires: time
|
|
||||||
BuildRequires: xorg-x11-server-Xvfb
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
KDE Frameworks 5 Tier 3 solution with abstraction for system
|
KDE Frameworks 5 Tier 3 solution with abstraction for system
|
||||||
notifications.
|
notifications.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release} qt5-qtbase-devel
|
||||||
Requires: qt5-qtbase-devel
|
|
||||||
%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}.
|
||||||
@ -117,3 +96,4 @@ time make test -C %{_target_platform} ARGS="--output-on-failure --timeout 300" |
|
|||||||
%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