]> git.pld-linux.org Git - packages/libssh2.git/blob - libssh2.spec
- new
[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:        LGPL
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 libssh2 is a C library implementing the SSH2 protocol according to
17 Internet Draft specifications SECSH-TRANS(22), SECSH-USERAUTH(25),
18 SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
19 SECSH-DHGEX(04), and SECSH-NUMBERS(10).
20
21 Supported Ciphers:  
22 - aes256-cbc (aka rijndael-cbc@lysator.liu.se)
23 - aes192-cbc
24 - aes128-cbc
25 - 3des-cbc
26 - blowfish-cbc
27 - cast128-cbc
28 - arcfour
29 - none**
30
31 Supported Key Exchange Methods: 
32 - diffie-hellman-group1-sha1
33 - diffie-hellman-group14-sha1
34 - diffie-hellman-group-exchange-sha1
35
36 Supported Hostkey Types:  
37 - ssh-rsa
38 - ssh-dss
39
40 Supported Compression Methods:
41 - zlib
42 - none
43
44 Supported Message Authentication Codes:
45 - hmac-sha1
46 - hmac-sha1-96
47 - hmac-ripemd160
48 - hmac-ripemd160@openssh.com
49
50 #%description -l pl
51
52 %package devel
53 Summary:        Header files for libssh2 library
54 Summary(pl):    Pliki nag³ówkowe biblioteki libssh2
55 Group:          Development/Libraries
56 Requires:       %{name} = %{version}-%{release}
57
58 %description devel
59 Header files for libssh2 library.
60
61 %description devel -l pl
62 Pliki nag³ówkowe biblioteki libssh2.
63
64 %package static
65 Summary:        Static libssh2 library
66 Summary(pl):    Statyczna biblioteka libssh2
67 Group:          Development/Libraries
68 Requires:       %{name}-devel = %{version}-%{release}
69
70 %description static
71 Static libssh2 library.
72
73 %description static -l pl
74 Statyczna biblioteka libssh2.
75
76 %prep
77 %setup -q
78 %patch0 -p1
79
80 %build
81 %configure \
82         --with-openssl=%{_prefix}
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %doc TODO README
100 %attr(755,root,root) %{_libdir}/lib*.so
101
102 %files devel
103 %defattr(644,root,root,755)
104 #%attr(755,root,root) %{_libdir}/lib*.so
105 %{_includedir}/*
106
107 %files static
108 %defattr(644,root,root,755)
109 #%{_libdir}/lib*.a
This page took 0.036673 seconds and 3 git commands to generate.