]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2.spec
af31dc4f26bebc4fd85503d2134a2c7920f87c5f
[packages/libssh2.git] / libssh2.spec
1 Summary:        Library implementing the SSH2 protocol
2 Summary(pl.UTF-8):      Biblioteka implementująca protokół SSH2
3 Name:           libssh2
4 Version:        1.7.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
8 Source0:        https://www.libssh2.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  b01662a210e94cccf2f76094db7dac5c
10 URL:            https://libssh2.org/
11 BuildRequires:  autoconf >= 2.50
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  openssl-devel
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
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).
23
24 Supported Ciphers:
25 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
26 - aes192-cbc
27 - aes128-cbc
28 - 3des-cbc
29 - blowfish-cbc
30 - cast128-cbc
31 - arcfour
32 - none
33
34 Supported Key Exchange Methods:
35 - diffie-hellman-group1-sha1
36 - diffie-hellman-group14-sha1
37 - diffie-hellman-group-exchange-sha1
38
39 Supported Hostkey Types:
40 - ssh-rsa
41 - ssh-dss
42
43 Supported Compression Methods:
44 - zlib
45 - none
46
47 Supported Message Authentication Codes:
48 - hmac-sha1
49 - hmac-sha1-96
50 - hmac-ripemd160
51 - hmac-ripemd160@openssh.com
52
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).
58
59 Obsługiwane szyfry:
60 - aes256-cbc (znany też jako rijndael-cbc@lysator.liu.se)
61 - aes192-cbc
62 - aes128-cbc
63 - 3des-cbc
64 - blowfish-cbc
65 - cast128-cbc
66 - arcfour
67 - none
68
69 Obsługiwane metody wymiany kluczy:
70 - diffie-hellman-group1-sha1
71 - diffie-hellman-group14-sha1
72 - diffie-hellman-group-exchange-sha1
73
74 Obsługiwane rodzaju kluczy hosta:
75 - ssh-rsa
76 - ssh-dss
77
78 Obsługiwane metody kompresji:
79 - zlib
80 - none
81
82 Obsługiwane kody uwierzytelniania wiadomości:
83 - hmac-sha1
84 - hmac-sha1-96
85 - hmac-ripemd160
86 - hmac-ripemd160@openssh.com
87
88 %package devel
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}
93 Requires:       openssl-devel
94 Requires:       zlib-devel
95
96 %description devel
97 Header files for libssh2 library.
98
99 %description devel -l pl.UTF-8
100 Pliki nagłówkowe biblioteki libssh2.
101
102 %package static
103 Summary:        Static libssh2 library
104 Summary(pl.UTF-8):      Biblioteka statyczna libssh2
105 Group:          Development/Libraries
106 Requires:       %{name}-devel = %{version}-%{release}
107
108 %description static
109 Static libssh2 library.
110
111 %description static -l pl.UTF-8
112 Biblioteka statyczna libssh2.
113
114 %prep
115 %setup -q
116
117 %build
118 %{__libtoolize}
119 %{__aclocal} -I m4
120 %{__autoconf}
121 %{__autoheader}
122 %{__automake}
123 %configure \
124         --disable-silent-rules \
125         --with-openssl=%{_prefix}
126 # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
127 %{__make} \
128         LTLIBSSL="-lssl -lcrypto" \
129         LTLIBZ="-lz"
130
131 %install
132 rm -rf $RPM_BUILD_ROOT
133
134 %{__make} install \
135         DESTDIR=$RPM_BUILD_ROOT
136
137 %clean
138 rm -rf $RPM_BUILD_ROOT
139
140 %post   -p /sbin/ldconfig
141 %postun -p /sbin/ldconfig
142
143 %files
144 %defattr(644,root,root,755)
145 %doc COPYING NEWS README RELEASE-NOTES docs/{AUTHORS,BINDINGS,TODO}
146 %attr(755,root,root) %{_libdir}/libssh2.so.*.*.*
147 %attr(755,root,root) %ghost %{_libdir}/libssh2.so.1
148
149 %files devel
150 %defattr(644,root,root,755)
151 %attr(755,root,root) %{_libdir}/libssh2.so
152 %{_libdir}/libssh2.la
153 %{_includedir}/libssh2*.h
154 %{_mandir}/man3/libssh2_*.3*
155 %{_pkgconfigdir}/libssh2.pc
156
157 %files static
158 %defattr(644,root,root,755)
159 %{_libdir}/libssh2.a
This page took 0.187224 seconds and 2 git commands to generate.