]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2.spec
- drop libtool file
[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.8
5 Release:        3
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://www.libssh2.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  1b236563b75d1b1f0d483352dc5918cf
10 URL:            http://libssh2.org/
11 Patch0:         %{name}-version.patch
12 BuildRequires:  autoconf
13 BuildRequires:  automake
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
94 %description devel
95 Header files for libssh2 library.
96
97 %description devel -l pl.UTF-8
98 Pliki nagłówkowe biblioteki libssh2.
99
100 %package static
101 Summary:        Static libssh2 library
102 Summary(pl.UTF-8):      Biblioteka statyczna libssh2
103 Group:          Development/Libraries
104 Requires:       %{name}-devel = %{version}-%{release}
105
106 %description static
107 Static libssh2 library.
108
109 %description static -l pl.UTF-8
110 Biblioteka statyczna libssh2.
111
112 %prep
113 %setup -q
114 %patch0 -p0
115
116 %build
117 cp -f /usr/share/automake/config.sub .
118 %{__autoconf}
119 %configure \
120         --with-openssl=%{_prefix}
121 # AC_LIB_HAVE_LINKFLAGS adds unwanted -L/usr/lib to each LTLIB* - override it
122 %{__make} \
123         LTLIBSSL="-lssl -lcrypto" \
124         LTLIBZ="-lz"
125
126 %install
127 rm -rf $RPM_BUILD_ROOT
128
129 %{__make} install \
130         DESTDIR=$RPM_BUILD_ROOT
131
132 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libssh2.la
133
134 %clean
135 rm -rf $RPM_BUILD_ROOT
136
137 %post   -p /sbin/ldconfig
138 %postun -p /sbin/ldconfig
139
140 %files
141 %defattr(644,root,root,755)
142 %doc AUTHORS COPYING ChangeLog NEWS README
143 %attr(755,root,root) %{_libdir}/libssh2.so.*.*.*
144 %attr(755,root,root) %ghost %{_libdir}/libssh2.so.1
145
146 %files devel
147 %defattr(644,root,root,755)
148 %attr(755,root,root) %{_libdir}/libssh2.so
149 %{_includedir}/libssh2*.h
150 %{_mandir}/man3/libssh2_*.3*
151 %{_pkgconfigdir}/libssh2.pc
152
153 %files static
154 %defattr(644,root,root,755)
155 %{_libdir}/libssh2.a
This page took 0.059443 seconds and 3 git commands to generate.