]> git.pld-linux.org Git - packages/kp5-ksshaskpass.git/blame - kp5-ksshaskpass.spec
- updated to 5.27.11
[packages/kp5-ksshaskpass.git] / kp5-ksshaskpass.spec
CommitLineData
6afe6a79
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
935d394d 4%define kdeplasmaver 5.27.11
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}
935d394d 9Version: 5.27.11
6f69434b 10Release: 1
1a5f1d0b
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
6f69434b 13Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
935d394d 14# Source0-md5: 1ec8950b3862eef5af68597bfcb6391b
1a5f1d0b 15URL: http://www.kde.org/
6f69434b 16BuildRequires: Qt5Core-devel >= %{qtver}
d538f0be 17BuildRequires: cmake >= 3.16.0
6f69434b
WF
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
6f69434b 24BuildRequires: qt5-build >= %{qtver}
1a5f1d0b
AM
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
d538f0be
WF
37%cmake -B build \
38 -G Ninja \
6afe6a79 39 %{!?with_tests:-DBUILD_TESTING=OFF} \
1a5f1d0b 40 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
d538f0be
WF
41 -DHTML_INSTALL_DIR=%{_kdedocdir}
42%ninja_build -C build
1a5f1d0b 43
6afe6a79
WF
44%if %{with tests}
45ctest
46%endif
47
1a5f1d0b
AM
48%install
49rm -rf $RPM_BUILD_ROOT
38f87e30 50%ninja_install -C build
1a5f1d0b 51
f587d8f6 52%find_lang %{kpname} --all-name --with-kde
1a5f1d0b
AM
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%post -p /sbin/ldconfig
58%postun -p /sbin/ldconfig
59
60%files -f %{kpname}.lang
61%defattr(644,root,root,755)
62%attr(755,root,root) %{_bindir}/ksshaskpass
1a5f1d0b
AM
63%{_mandir}/man1/ksshaskpass.1*
64
This page took 0.55567 seconds and 4 git commands to generate.