]> git.pld-linux.org Git - packages/kp5-kwallet-pam.git/blame - kp5-kwallet-pam.spec
rebuild with qt5-5.15.6
[packages/kp5-kwallet-pam.git] / kp5-kwallet-pam.spec
CommitLineData
7bf5b313
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
548c4b15 4%define kdeplasmaver 5.25.5
9e0bb800 5%define qtver 5.15.2
b96ec47c
AM
6%define kpname kwallet-pam
7Summary: KWallet PAM integration
8Name: kp5-%{kpname}
548c4b15 9Version: 5.25.5
4613c8e8 10Release: 2
b96ec47c
AM
11License: GPL v2+/LGPL v2.1+
12Group: Base
40e7ef69 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
548c4b15 14# Source0-md5: c0d8babfe65246a713e012149d274a8b
b96ec47c
AM
15URL: http://www.kde.org/
16BuildRequires: cmake >= 2.8.12
17BuildRequires: kf5-extra-cmake-modules >= 1.4.0
18BuildRequires: pam-devel
19BuildRequires: qt5-build >= %{qtver}
20BuildRequires: rpmbuild(macros) >= 1.164
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26KWallet PAM integration.
27
28%prep
29%setup -q -n %{kpname}-%{version}
30
31%build
32install -d build
33cd build
2352eda7 34%cmake -G Ninja \
7bf5b313 35 %{!?with_tests:-DBUILD_TESTING=OFF} \
b96ec47c 36 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
20906155 37 -DCMAKE_INSTALL_LIBDIR:PATH=/%{_lib} \
e856f89e 38 -DHTML_INSTALL_DIR=%{_kdedocdir} \
b96ec47c 39 ..
2352eda7 40%ninja_build
b96ec47c 41
7bf5b313
WF
42%if %{with tests}
43ctest
44%endif
45
b96ec47c
AM
46%install
47rm -rf $RPM_BUILD_ROOT
2352eda7 48%ninja_install -C build
b96ec47c
AM
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
566bc02e 55%attr(755,root,root) /%{_lib}/security/pam_kwallet5.so
ad2c69e2 56/etc/xdg/autostart/pam_kwallet_init.desktop
73a935f9 57%attr(755,root,root) %{_libexecdir}/pam_kwallet_init
bbdbfc77 58%{systemduserunitdir}/plasma-kwallet-pam.service
This page took 0.290452 seconds and 4 git commands to generate.