]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2.spec
- updated to 1.3.0
[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.3.0
5 Release:        1
6 License:        BSD
7 Group:          Libraries
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)
16
17 %description
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).
22
23 Supported Ciphers:
24 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
25 - aes192-cbc
26 - aes128-cbc
27 - 3des-cbc
28 - blowfish-cbc
29 - cast128-cbc
30 - arcfour
31 - none
32
33 Supported Key Exchange Methods:
34 - diffie-hellman-group1-sha1
35 - diffie-hellman-group14-sha1
36 - diffie-hellman-group-exchange-sha1
37
38 Supported Hostkey Types:
39 - ssh-rsa
40 - ssh-dss
41
42 Supported Compression Methods:
43 - zlib
44 - none
45
46 Supported Message Authentication Codes:
47 - hmac-sha1
48 - hmac-sha1-96
49 - hmac-ripemd160
50 - hmac-ripemd160@openssh.com
51
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).
57
58 Obsługiwane szyfry:
59 - aes256-cbc (znany też jako rijndael-cbc@lysator.liu.se)
60 - aes192-cbc
61 - aes128-cbc
62 - 3des-cbc
63 - blowfish-cbc
64 - cast128-cbc
65 - arcfour
66 - none
67
68 Obsługiwane metody wymiany kluczy:
69 - diffie-hellman-group1-sha1
70 - diffie-hellman-group14-sha1
71 - diffie-hellman-group-exchange-sha1
72
73 Obsługiwane rodzaju kluczy hosta:
74 - ssh-rsa
75 - ssh-dss
76
77 Obsługiwane metody kompresji:
78 - zlib
79 - none
80
81 Obsługiwane kody uwierzytelniania wiadomości:
82 - hmac-sha1
83 - hmac-sha1-96
84 - hmac-ripemd160
85 - hmac-ripemd160@openssh.com
86
87 %package devel
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}
92
93 %description devel
94 Header files for libssh2 library.
95
96 %description devel -l pl.UTF-8
97 Pliki nagłówkowe biblioteki libssh2.
98
99 %package static
100 Summary:        Static libssh2 library
101 Summary(pl.UTF-8):      Biblioteka statyczna libssh2
102 Group:          Development/Libraries
103 Requires:       %{name}-devel = %{version}-%{release}
104
105 %description static
106 Static libssh2 library.
107
108 %description static -l pl.UTF-8
109 Biblioteka statyczna libssh2.
110
111 %prep
112 %setup -q
113
114 %build
115 cp -f /usr/share/automake/config.sub .
116 %{__autoconf}
117 %configure \
118         --with-openssl=%{_prefix}
119 # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
120 %{__make} \
121         LTLIBSSL="-lssl -lcrypto" \
122         LTLIBZ="-lz"
123
124 %install
125 rm -rf $RPM_BUILD_ROOT
126
127 %{__make} install \
128         DESTDIR=$RPM_BUILD_ROOT
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post   -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
135
136 %files
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
141
142 %files devel
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
149
150 %files static
151 %defattr(644,root,root,755)
152 %{_libdir}/libssh2.a
This page took 0.54544 seconds and 3 git commands to generate.