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: 1b236563b75d1b1f0d483352dc5918cf
10 URL: http://libssh2.org/
11 Patch0: %{name}-version.patch
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: openssl-devel
15 BuildRequires: zlib-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 libssh2 is a C library implementing the SSH2 protocol according to
20 Internet Draft specifications SECSH-TRANS(22), SECSH-USERAUTH(25),
21 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06),
22 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
25 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
34 Supported Key Exchange Methods:
35 - diffie-hellman-group1-sha1
36 - diffie-hellman-group14-sha1
37 - diffie-hellman-group-exchange-sha1
39 Supported Hostkey Types:
43 Supported Compression Methods:
47 Supported Message Authentication Codes:
51 - hmac-ripemd160@openssh.com
53 %description -l pl.UTF-8
54 libssh2 to biblioteka C implementująca protokół SSH2 zgodnie ze
55 specyfikacjami Internet Draft SECSH-TRANS(22), SECSH-USERAUTH(25),
56 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06),
57 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
60 - aes256-cbc (znany też jako rijndael-cbc@lysator.liu.se)
69 Obsługiwane metody wymiany kluczy:
70 - diffie-hellman-group1-sha1
71 - diffie-hellman-group14-sha1
72 - diffie-hellman-group-exchange-sha1
74 Obsługiwane rodzaju kluczy hosta:
78 Obsługiwane metody kompresji:
82 Obsługiwane kody uwierzytelniania wiadomości:
86 - hmac-ripemd160@openssh.com
89 Summary: Header files for libssh2 library
90 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libssh2
91 Group: Development/Libraries
92 Requires: %{name} = %{version}-%{release}
95 Header files for libssh2 library.
97 %description devel -l pl.UTF-8
98 Pliki nagłówkowe biblioteki libssh2.
101 Summary: Static libssh2 library
102 Summary(pl.UTF-8): Biblioteka statyczna libssh2
103 Group: Development/Libraries
104 Requires: %{name}-devel = %{version}-%{release}
107 Static libssh2 library.
109 %description static -l pl.UTF-8
110 Biblioteka statyczna libssh2.
117 cp -f /usr/share/automake/config.sub .
120 --with-openssl=%{_prefix}
121 # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
123 LTLIBSSL="-lssl -lcrypto" \
127 rm -rf $RPM_BUILD_ROOT
130 DESTDIR=$RPM_BUILD_ROOT
132 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libssh2.la
135 rm -rf $RPM_BUILD_ROOT
137 %post -p /sbin/ldconfig
138 %postun -p /sbin/ldconfig
141 %defattr(644,root,root,755)
142 %doc AUTHORS COPYING ChangeLog NEWS README
143 %attr(755,root,root) %{_libdir}/libssh2.so.*.*.*
144 %attr(755,root,root) %ghost %{_libdir}/libssh2.so.1
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/libssh2.so
149 %{_includedir}/libssh2*.h
150 %{_mandir}/man3/libssh2_*.3*
151 %{_pkgconfigdir}/libssh2.pc
154 %defattr(644,root,root,755)