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