]> git.pld-linux.org Git - packages/kp5-ksshaskpass.git/blame - kp5-ksshaskpass.spec
rebuild with qt5-5.15.6
[packages/kp5-ksshaskpass.git] / kp5-ksshaskpass.spec
CommitLineData
6afe6a79
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
545b9ae9 4%define kdeplasmaver 5.25.5
9cf1c1b3 5%define qtver 5.15.2
1a5f1d0b
AM
6%define kpname ksshaskpass
7Summary: ssh-add helper that uses kwallet and kpassworddialog
8Name: kp5-%{kpname}
545b9ae9 9Version: 5.25.5
9ce0356a 10Release: 2
1a5f1d0b
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
ddad229d 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
545b9ae9 14# Source0-md5: 9b4981303dabc8c5d07f41e87e869218
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.187492 seconds and 4 git commands to generate.