1 Summary: Library implementing the SSH2 protocol.
2 Summary(pl): Biblioteka implementuj±ca protokó³ SSH2.
8 Source0: http://dl.sourceforge.net/libssh2/%{name}-%{version}.tar.gz
9 # Source0-md5: bc7125a008d2d32f233193715395c250
10 Patch0: %{name}-DESTDIR.patch
11 URL: http://libssh2.sourceforge.net/
12 BuildRequires: openssl-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 libssh2 is a C library implementing the SSH2 protocol according to
17 Internet Draft specifications SECSH-TRANS(22), SECSH-USERAUTH(25),
18 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
19 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
22 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
31 Supported Key Exchange Methods:
32 - diffie-hellman-group1-sha1
33 - diffie-hellman-group14-sha1
34 - diffie-hellman-group-exchange-sha1
36 Supported Hostkey Types:
40 Supported Compression Methods:
44 Supported Message Authentication Codes:
48 - hmac-ripemd160@openssh.com
53 Summary: Header files for libssh2 library
54 Summary(pl): Pliki nag³ówkowe biblioteki libssh2
55 Group: Development/Libraries
56 Requires: %{name} = %{version}-%{release}
59 Header files for libssh2 library.
61 %description devel -l pl
62 Pliki nag³ówkowe biblioteki libssh2.
65 Summary: Static libssh2 library
66 Summary(pl): Statyczna biblioteka libssh2
67 Group: Development/Libraries
68 Requires: %{name}-devel = %{version}-%{release}
71 Static libssh2 library.
73 %description static -l pl
74 Statyczna biblioteka libssh2.
82 --with-openssl=%{_prefix}
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
100 %attr(755,root,root) %{_libdir}/lib*.so
103 %defattr(644,root,root,755)
104 #%attr(755,root,root) %{_libdir}/lib*.so
108 %defattr(644,root,root,755)