1 Summary: Library implementing the SSH2 protocol
2 Summary(pl.UTF-8): Biblioteka implementująca protokół SSH2
8 Source0: http://www.libssh2.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: 6425331899ccf1015f1ed79448cb4709
10 URL: http://libssh2.org/
11 BuildRequires: autoconf >= 2.50
12 BuildRequires: automake
13 BuildRequires: openssl-devel
14 BuildRequires: zlib-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 libssh2 is a C library implementing the SSH2 protocol according to
19 Internet Draft specifications SECSH-TRANS(22), SECSH-USERAUTH(25),
20 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06),
21 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
24 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
33 Supported Key Exchange Methods:
34 - diffie-hellman-group1-sha1
35 - diffie-hellman-group14-sha1
36 - diffie-hellman-group-exchange-sha1
38 Supported Hostkey Types:
42 Supported Compression Methods:
46 Supported Message Authentication Codes:
50 - hmac-ripemd160@openssh.com
52 %description -l pl.UTF-8
53 libssh2 to biblioteka C implementująca protokół SSH2 zgodnie ze
54 specyfikacjami Internet Draft SECSH-TRANS(22), SECSH-USERAUTH(25),
55 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06),
56 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
59 - aes256-cbc (znany też jako rijndael-cbc@lysator.liu.se)
68 Obsługiwane metody wymiany kluczy:
69 - diffie-hellman-group1-sha1
70 - diffie-hellman-group14-sha1
71 - diffie-hellman-group-exchange-sha1
73 Obsługiwane rodzaju kluczy hosta:
77 Obsługiwane metody kompresji:
81 Obsługiwane kody uwierzytelniania wiadomości:
85 - hmac-ripemd160@openssh.com
88 Summary: Header files for libssh2 library
89 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh2
90 Group: Development/Libraries
91 Requires: %{name} = %{version}-%{release}
94 Header files for libssh2 library.
96 %description devel -l pl.UTF-8
97 Pliki nagłówkowe biblioteki libssh2.
100 Summary: Static libssh2 library
101 Summary(pl.UTF-8): Biblioteka statyczna libssh2
102 Group: Development/Libraries
103 Requires: %{name}-devel = %{version}-%{release}
106 Static libssh2 library.
108 %description static -l pl.UTF-8
109 Biblioteka statyczna libssh2.
115 cp -f /usr/share/automake/config.sub .
118 --with-openssl=%{_prefix}
119 # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
121 LTLIBSSL="-lssl -lcrypto" \
125 rm -rf $RPM_BUILD_ROOT
128 DESTDIR=$RPM_BUILD_ROOT
131 rm -rf $RPM_BUILD_ROOT
133 %post -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
137 %defattr(644,root,root,755)
138 %doc AUTHORS COPYING ChangeLog NEWS README RELEASE-NOTES TODO
139 %attr(755,root,root) %{_libdir}/libssh2.so.*.*.*
140 %attr(755,root,root) %ghost %{_libdir}/libssh2.so.1
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_libdir}/libssh2.so
145 %{_libdir}/libssh2.la
146 %{_includedir}/libssh2*.h
147 %{_mandir}/man3/libssh2_*.3*
148 %{_pkgconfigdir}/libssh2.pc
151 %defattr(644,root,root,755)