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://red.libssh.org/attachments/download/87/%{name}-%{version}.tar.xz
10 # Source0-md5: 66cf16e77f60913b4d54f18c92cdbf71
11 URL: http://www.libssh.org/
12 BuildRequires: cmake >= 2.6.0
13 BuildRequires: openssl-devel >= 0.9.8
14 BuildRequires: rpmbuild(macros) >= 1.600
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The ssh library was designed to be used by programmers needing a
20 working SSH implementation by the mean of a library. The complete
21 control of the client is made by the programmer. With libssh, you can
22 remotely execute programs, transfer files, use a secure and
23 transparent tunnel for your remote programs. With its Secure FTP
24 implementation, you can play with remote files easily, without
25 third-party programs others than libcrypto (from openssl).
27 %description -l pl.UTF-8
28 Biblioteka ssh została zaprojektowana do używania przez programistów
29 potrzebujących działającej implementacji SSH w postaci biblioteki. Za
30 pomocą libssh można przesyłać pliki, zdalnie uruchamiać programy bądź
31 też tworzyć na ich potrzeby bezpieczne i przezroczyste tunele. Dzięki
32 zawartej implementacji protokołu Secure FTP programista ma możliwość
33 łatwego wykonywania operacji na zdalnych plikach bez konieczności
34 korzystania z dodatkowego zewnętrznego oprogramowania poza biblioteką
35 libcrypto (pakiet openssl).
38 Summary: Header files for libssh library
39 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh
40 Group: Development/Libraries
41 Requires: %{name} = %{epoch}:%{version}-%{release}
44 Header files for libssh library.
46 %description devel -l pl.UTF-8
47 Pliki nagłówkowe biblioteki libssh.
61 rm -rf $RPM_BUILD_ROOT
63 %{__make} -C build install \
64 DESTDIR=$RPM_BUILD_ROOT \
68 rm -rf $RPM_BUILD_ROOT
70 %post -p /sbin/ldconfig
71 %postun -p /sbin/ldconfig
74 %defattr(644,root,root,755)
75 %doc AUTHORS BSD ChangeLog README
76 %attr(755,root,root) %{_libdir}/libssh.so.*.*.*
77 %attr(755,root,root) %ghost %{_libdir}/libssh.so.4
78 %attr(755,root,root) %{_libdir}/libssh_threads.so.*.*.*
79 %attr(755,root,root) %ghost %{_libdir}/libssh_threads.so.4
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/libssh.so
84 %attr(755,root,root) %{_libdir}/libssh_threads.so
86 %{_pkgconfigdir}/libssh.pc
87 %{_pkgconfigdir}/libssh_threads.pc
88 %{_libdir}/cmake/libssh-config-version.cmake
89 %{_libdir}/cmake/libssh-config.cmake