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