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