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