format spec

This commit is contained in:
weidong 2020-08-21 17:07:48 +08:00
parent afdddb89b9
commit 0cbbaa37f7

View File

@ -1,10 +1,10 @@
Name: kscreenlocker
Version: 5.15.4
Release: 1
Summary: Library and components for secure lock screen architecture
Name: kscreenlocker
Version: 5.15.4
Release: 1
Summary: Library and components for secure lock screen architecture
License: GPLv2+
URL: https://cgit.kde.org/%{name}.git
License: GPLv2+
URL: https://cgit.kde.org/%{name}.git
%global plasmaver %(echo %{version} | cut -d. -f1,2,3)
%global revision %(echo %{version} | cut -d. -f3)
@ -13,19 +13,17 @@ URL: https://cgit.kde.org/%{name}.git
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{plasmaver}/%{name}-%{version}.tar.xz
Source0: http://download.kde.org/%{stable}/plasma/%{plasmaver}/%{name}-%{version}.tar.xz
# help upgrades, split from plasma-workspace since 5.5
Conflicts: plasma-workspace < 5.5
## upstream patches
Conflicts: plasma-workspace < 5.5
BuildRequires: perl-generators qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtx11extras-devel kf5-rpm-macros extra-cmake-modules kf5-plasma-devel kf5-kcmutils-devel kf5-kdeclarative-devel kf5-kidletime-devel kf5-kdelibs4support-devel kf5-kcrash-devel kf5-kglobalaccel-devel kf5-kwayland-devel libX11-devel xcb-util-keysyms-devel wayland-devel pkgconfig(xi) libXcursor-devel pam-devel
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Provides: kf5-kscreen-devel = %{version}-%{release}
Provides: kf5-kscreen-devel%{?_isa} = %{version}-%{release}