]> git.pld-linux.org Git - packages/kp5-kwallet-pam.git/blob - kp5-kwallet-pam.spec
- updated to 5.24.2
[packages/kp5-kwallet-pam.git] / kp5-kwallet-pam.spec
1 %define         kdeplasmaver    5.24.2
2 %define         qtver           5.9.0
3 %define         kpname          kwallet-pam
4 Summary:        KWallet PAM integration
5 Name:           kp5-%{kpname}
6 Version:        5.24.2
7 Release:        1
8 License:        GPL v2+/LGPL v2.1+
9 Group:          Base
10 Source0:        http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
11 # Source0-md5:  a0145a9e12031087512dc9e306b9c8b7
12 URL:            http://www.kde.org/
13 BuildRequires:  cmake >= 2.8.12
14 BuildRequires:  kf5-extra-cmake-modules >= 1.4.0
15 BuildRequires:  pam-devel
16 BuildRequires:  qt5-build >= %{qtver}
17 BuildRequires:  rpmbuild(macros) >= 1.164
18 BuildRequires:  tar >= 1:1.22
19 BuildRequires:  xz
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 KWallet PAM integration.
24
25 %prep
26 %setup -q -n %{kpname}-%{version}
27
28 %build
29 install -d build
30 cd build
31 %cmake -G Ninja \
32         -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
33         -DCMAKE_INSTALL_LIBDIR:PATH=/%{_lib} \
34         -DHTML_INSTALL_DIR=%{_kdedocdir} \
35         ..
36 %ninja_build
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 %ninja_install -C build
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %attr(755,root,root) /%{_lib}/security/pam_kwallet5.so
48 /etc/xdg/autostart/pam_kwallet_init.desktop
49 %attr(755,root,root) %{_libexecdir}/pam_kwallet_init
50 %{systemduserunitdir}/plasma-kwallet-pam.service
This page took 0.07793 seconds and 3 git commands to generate.