]> git.pld-linux.org Git - packages/kp5-ksshaskpass.git/blame - kp5-ksshaskpass.spec
- updated to 5.24.5
[packages/kp5-ksshaskpass.git] / kp5-ksshaskpass.spec
CommitLineData
6afe6a79
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
30462ee4 4%define kdeplasmaver 5.24.5
83161b7a 5%define qtver 5.9.0
1a5f1d0b
AM
6%define kpname ksshaskpass
7Summary: ssh-add helper that uses kwallet and kpassworddialog
8Name: kp5-%{kpname}
30462ee4 9Version: 5.24.5
1a5f1d0b
AM
10Release: 1
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
13Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
30462ee4 14# Source0-md5: d3e087db5fdc3e5a98efbfbc4a874aa4
1a5f1d0b
AM
15URL: http://www.kde.org/
16BuildRequires: Qt5Core-devel >= %{qtver}
17BuildRequires: cmake >= 2.8.12
18BuildRequires: kf5-extra-cmake-modules >= 1.4.0
19BuildRequires: kf5-kcoreaddons-devel
20BuildRequires: kf5-ki18n-devel
21BuildRequires: kf5-kwallet-devel
22BuildRequires: kf5-kwidgetsaddons-devel
38f87e30 23BuildRequires: ninja
1a5f1d0b
AM
24BuildRequires: qt5-build >= %{qtver}
25BuildRequires: rpmbuild(macros) >= 1.164
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
31Ssh-add helper that uses kwallet and kpassworddialog.
32
33%prep
34%setup -q -n %{kpname}-%{version}
35
36%build
37install -d build
38cd build
38f87e30 39%cmake -G Ninja \
6afe6a79 40 %{!?with_tests:-DBUILD_TESTING=OFF} \
1a5f1d0b 41 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
9ef4081a 42 -DHTML_INSTALL_DIR=%{_kdedocdir} \
1a5f1d0b 43 ..
38f87e30 44%ninja_build
1a5f1d0b 45
6afe6a79
WF
46%if %{with tests}
47ctest
48%endif
49
1a5f1d0b
AM
50%install
51rm -rf $RPM_BUILD_ROOT
38f87e30 52%ninja_install -C build
1a5f1d0b 53
f587d8f6 54%find_lang %{kpname} --all-name --with-kde
1a5f1d0b
AM
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%post -p /sbin/ldconfig
60%postun -p /sbin/ldconfig
61
62%files -f %{kpname}.lang
63%defattr(644,root,root,755)
64%attr(755,root,root) %{_bindir}/ksshaskpass
1a5f1d0b
AM
65%{_mandir}/man1/ksshaskpass.1*
66
This page took 0.162985 seconds and 4 git commands to generate.