[packages/kp5-ksshaskpass] - initial
arekm
arekm at pld-linux.org
Sun Sep 6 19:41:19 CEST 2015
commit 1a5f1d0b40010e8e412f056d850115db4347ce89
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun Sep 6 19:41:05 2015 +0200
- initial
kp5-ksshaskpass.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
---
diff --git a/kp5-ksshaskpass.spec b/kp5-ksshaskpass.spec
new file mode 100644
index 0000000..4da6aa4
--- /dev/null
+++ b/kp5-ksshaskpass.spec
@@ -0,0 +1,58 @@
+%define kdeplasmaver 5.4.0
+%define qtver 5.3.2
+%define kpname ksshaskpass
+Summary: ssh-add helper that uses kwallet and kpassworddialog
+Name: kp5-%{kpname}
+Version: 5.4.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: http://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 977d67b867ecfe35dc9932f243d6d0f1
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: kf5-kcoreaddons-devel
+BuildRequires: kf5-ki18n-devel
+BuildRequires: kf5-kwallet-devel
+BuildRequires: kf5-kwidgetsaddons-devel
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ssh-add helper that uses kwallet and kpassworddialog.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} -C build install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{kpname} --all-name
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/ksshaskpass
+%{_desktopdir}/org.kde.ksshaskpass.desktop
+%{_mandir}/man1/ksshaskpass.1*
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp5-ksshaskpass.git/commitdiff/1a5f1d0b40010e8e412f056d850115db4347ce89
More information about the pld-cvs-commit
mailing list