1 Summary: Library implementing the SSH protocol
2 Summary(pl.UTF-8): Biblioteka implementująca protokół SSH
7 License: LGPL v2.1+; parts are BSD-licensed
9 Source0: https://www.libssh.org/files/0.8/%{name}-%{version}.tar.xz
10 # Source0-md5: ae3c5e3ea288a409b45f9664af2ac23a
11 URL: http://www.libssh.org/
12 BuildRequires: cmake >= 3.3.0
13 BuildRequires: heimdal-devel
14 BuildRequires: openssl-devel >= 0.9.8
15 BuildRequires: rpmbuild(macros) >= 1.600
16 BuildRequires: zlib-devel
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 The ssh library was designed to be used by programmers needing a
21 working SSH implementation by the mean of a library. The complete
22 control of the client is made by the programmer. With libssh, you can
23 remotely execute programs, transfer files, use a secure and
24 transparent tunnel for your remote programs. With its Secure FTP
25 implementation, you can play with remote files easily, without
26 third-party programs others than libcrypto (from openssl).
28 %description -l pl.UTF-8
29 Biblioteka ssh została zaprojektowana do używania przez programistów
30 potrzebujących działającej implementacji SSH w postaci biblioteki. Za
31 pomocą libssh można przesyłać pliki, zdalnie uruchamiać programy bądź
32 też tworzyć na ich potrzeby bezpieczne i przezroczyste tunele. Dzięki
33 zawartej implementacji protokołu Secure FTP programista ma możliwość
34 łatwego wykonywania operacji na zdalnych plikach bez konieczności
35 korzystania z dodatkowego zewnętrznego oprogramowania poza biblioteką
36 libcrypto (pakiet openssl).
39 Summary: Header files for libssh library
40 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh
41 Group: Development/Libraries
42 Requires: %{name} = %{epoch}:%{version}-%{release}
45 Header files for libssh library.
47 %description devel -l pl.UTF-8
48 Pliki nagłówkowe biblioteki libssh.
62 rm -rf $RPM_BUILD_ROOT
64 %{__make} -C build install \
65 DESTDIR=$RPM_BUILD_ROOT \
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %doc AUTHORS BSD ChangeLog README
77 %attr(755,root,root) %{_libdir}/libssh.so.*.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libssh.so.4
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libssh.so
84 %{_pkgconfigdir}/libssh.pc
85 %{_libdir}/cmake/libssh