summaryrefslogtreecommitdiff
path: root/signon-kwallet-extension.spec
blob: 26d5fcec231139bdabf9c5e4736735695eb7e7c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
%undefine __cmake_in_source_build

Name:    signon-kwallet-extension
Version: 23.04.3
Release: 1
Summary: KWallet integration for Sign-on framework

License: GPLv2+
URL:     https://cgit.kde.org/%{name}.git

%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0:        http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz

BuildRequires:  extra-cmake-modules
BuildRequires:  kf5-rpm-macros
BuildRequires:  kf5-kwallet-devel
BuildRequires:  qt5-qtbase-devel
BuildRequires:  signon-devel

%description
%{summary}.


%prep
%autosetup -p1


%build
%{cmake_kf5}
%cmake_build


%install
%cmake_install


%files
%license COPYING
%{_libdir}/signon/extensions/libkeyring-kwallet.so


%changelog
* Fri Jul 21 2023 lichaoran <pkwarcraft@hotmail.com> - 23.04.3-1
- Init package