]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2.spec
- License fix (it's BSD, not LGPL)
[packages/libssh2.git] / libssh2.spec
1 Summary:        Library implementing the SSH2 protocol.
2 Summary(pl):    Biblioteka implementuj±ca protokó³ SSH2.
3 Name:           libssh2
4 Version:        0.4
5 Release:        0.0.1
6 License:        BSD
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libssh2/%{name}-%{version}.tar.gz
9 # Source0-md5:  bc7125a008d2d32f233193715395c250
10 Patch0:         %{name}-DESTDIR.patch
11 URL:            http://libssh2.sourceforge.net/
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
52
53 %package devel
54 Summary:        Header files for libssh2 library
55 Summary(pl):    Pliki nag³ówkowe biblioteki libssh2
56 Group:          Development/Libraries
57 Requires:       %{name} = %{version}-%{release}
58
59 %description devel
60 Header files for libssh2 library.
61
62 %description devel -l pl
63 Pliki nag³ówkowe biblioteki libssh2.
64
65 %prep
66 %setup -q
67 %patch0 -p1
68
69 %build
70 %configure \
71         --with-openssl=%{_prefix}
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc TODO README
89 %attr(755,root,root) %{_libdir}/lib*.so
90
91 %files devel
92 %defattr(644,root,root,755)
93 #%attr(755,root,root) %{_libdir}/lib*.so
94 %{_includedir}/*
This page took 0.125311 seconds and 3 git commands to generate.