]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2.spec
- rel 2
[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.2.1
5 Release:        2
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://www.libssh2.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  4ee0197947a3b8a4472328c346e1a0e4
10 URL:            http://libssh2.org/
11 BuildRequires:  automake
12 BuildRequires:  openssl-devel
13 BuildRequires:  zlib-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 libssh2 is a C library implementing the SSH2 protocol according to
18 Internet Draft specifications SECSH-TRANS(22), SECSH-USERAUTH(25),
19 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06),
20 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
21
22 Supported Ciphers:  
23 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
24 - aes192-cbc
25 - aes128-cbc
26 - 3des-cbc
27 - blowfish-cbc
28 - cast128-cbc
29 - arcfour
30 - none
31
32 Supported Key Exchange Methods: 
33 - diffie-hellman-group1-sha1
34 - diffie-hellman-group14-sha1
35 - diffie-hellman-group-exchange-sha1
36
37 Supported Hostkey Types:  
38 - ssh-rsa
39 - ssh-dss
40
41 Supported Compression Methods:
42 - zlib
43 - none
44
45 Supported Message Authentication Codes:
46 - hmac-sha1
47 - hmac-sha1-96
48 - hmac-ripemd160
49 - hmac-ripemd160@openssh.com
50
51 %description -l pl.UTF-8
52 libssh2 to biblioteka C implementująca protokół SSH2 zgodnie ze
53 specyfikacjami Internet Draft SECSH-TRANS(22), SECSH-USERAUTH(25),
54 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06),
55 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
56
57 Obsługiwane szyfry:
58 - aes256-cbc (znany też jako rijndael-cbc@lysator.liu.se)
59 - aes192-cbc
60 - aes128-cbc
61 - 3des-cbc
62 - blowfish-cbc
63 - cast128-cbc
64 - arcfour
65 - none
66
67 Obsługiwane metody wymiany kluczy:
68 - diffie-hellman-group1-sha1
69 - diffie-hellman-group14-sha1
70 - diffie-hellman-group-exchange-sha1
71
72 Obsługiwane rodzaju kluczy hosta:
73 - ssh-rsa
74 - ssh-dss
75
76 Obsługiwane metody kompresji:
77 - zlib
78 - none
79
80 Obsługiwane kody uwierzytelniania wiadomości:
81 - hmac-sha1
82 - hmac-sha1-96
83 - hmac-ripemd160
84 - hmac-ripemd160@openssh.com
85
86 %package devel
87 Summary:        Header files for libssh2 library
88 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libssh2
89 Group:          Development/Libraries
90 Requires:       %{name} = %{version}-%{release}
91
92 %description devel
93 Header files for libssh2 library.
94
95 %description devel -l pl.UTF-8
96 Pliki nagłówkowe biblioteki libssh2.
97
98 %package static
99 Summary:        Static libssh2 library
100 Summary(pl.UTF-8):      Biblioteka statyczna libssh2
101 Group:          Development/Libraries
102 Requires:       %{name}-devel = %{version}-%{release}
103
104 %description static
105 Static libssh2 library.
106
107 %description static -l pl.UTF-8
108 Biblioteka statyczna libssh2.
109
110 %prep
111 %setup -q
112
113 %build
114 cp -f /usr/share/automake/config.sub .
115 %configure \
116         --with-openssl=%{_prefix}
117 %{__make}
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121
122 %{__make} install \
123         DESTDIR=$RPM_BUILD_ROOT
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %post   -p /sbin/ldconfig
129 %postun -p /sbin/ldconfig
130
131 %files
132 %defattr(644,root,root,755)
133 %doc AUTHORS COPYING ChangeLog NEWS README
134 %attr(755,root,root) %{_libdir}/libssh2.so.*.*.*
135 %attr(755,root,root) %ghost %{_libdir}/libssh2.so.1
136
137 %files devel
138 %defattr(644,root,root,755)
139 %attr(755,root,root) %{_libdir}/libssh2.so
140 %{_libdir}/libssh2.la
141 %{_includedir}/libssh2*.h
142 %{_mandir}/man3/libssh2_*.3*
143 %{_pkgconfigdir}/libssh2.pc
144
145 %files static
146 %defattr(644,root,root,755)
147 %{_libdir}/libssh2.a
This page took 0.232039 seconds and 3 git commands to generate.