]> git.pld-linux.org Git - packages/kp5-kwallet-pam.git/blame - kp5-kwallet-pam.spec
- updated to 5.24.5
[packages/kp5-kwallet-pam.git] / kp5-kwallet-pam.spec
CommitLineData
7bf5b313
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
67a28ea5 4%define kdeplasmaver 5.24.5
cbba9b62 5%define qtver 5.9.0
b96ec47c
AM
6%define kpname kwallet-pam
7Summary: KWallet PAM integration
8Name: kp5-%{kpname}
67a28ea5 9Version: 5.24.5
377808d3 10Release: 1
b96ec47c
AM
11License: GPL v2+/LGPL v2.1+
12Group: Base
13Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
67a28ea5 14# Source0-md5: 0ee9d2bcc73d974fb06d0ac4a0e96e11
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.092743 seconds and 4 git commands to generate.