1 | Summary: A library implementing the SSH2 protocol (0xbadc0de version) |
---|
2 | Summary(ja): SSH2プロトコルを実装するためのライブラリ (0xbadc0de版) |
---|
3 | |
---|
4 | Name: libssh |
---|
5 | Version: 0.2 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: LGPLv2+ |
---|
10 | URL: http://0xbadc0de.be/?part=libssh |
---|
11 | Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz |
---|
12 | Patch0: libssh-0.2-libdir.patch |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | |
---|
15 | BuildRequires: openssl-devel |
---|
16 | BuildRequires: zlib-devel |
---|
17 | |
---|
18 | %description |
---|
19 | The SSH library with |
---|
20 | -Full C library functions for manipulating a client-side SSH connection |
---|
21 | -Fully configurable sessions |
---|
22 | -Support for AES-128,AES-192,AES-256,blowfish, in cbc mode |
---|
23 | -use multiple SSH connections in a same process, at same time. |
---|
24 | -usable SFTP implementation |
---|
25 | -Public key and password authentication |
---|
26 | |
---|
27 | %package devel |
---|
28 | Summary: Development files for %{name} |
---|
29 | Summary(ja): %{name} の開発ファイル |
---|
30 | Group: Development/Libraries |
---|
31 | Requires: %{name} = %{version}-%{release} |
---|
32 | |
---|
33 | %description devel |
---|
34 | The %{name}-devel package contains libraries and header files for |
---|
35 | developing applications that use %{name}. |
---|
36 | |
---|
37 | %prep |
---|
38 | %setup -q |
---|
39 | %patch0 -p1 -b .libdir |
---|
40 | |
---|
41 | %build |
---|
42 | %configure --disable-static --enable-shared |
---|
43 | make # doesn't build with %{?_smp_mflags} |
---|
44 | |
---|
45 | %install |
---|
46 | rm -rf $RPM_BUILD_ROOT |
---|
47 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
48 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} + |
---|
49 | chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/* |
---|
50 | |
---|
51 | %clean |
---|
52 | rm -rf $RPM_BUILD_ROOT |
---|
53 | |
---|
54 | %post -p /sbin/ldconfig |
---|
55 | |
---|
56 | %postun -p /sbin/ldconfig |
---|
57 | |
---|
58 | %files |
---|
59 | %defattr(-,root,root,-) |
---|
60 | %doc AUTHORS CHANGELOG COPYING README |
---|
61 | %{_libdir}/*.so.* |
---|
62 | |
---|
63 | %files devel |
---|
64 | %defattr(-,root,root,-) |
---|
65 | %{_includedir}/* |
---|
66 | %{_libdir}/*.so |
---|
67 | |
---|
68 | %changelog |
---|
69 | * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1 |
---|
70 | - initial build for Vine Linux |
---|
71 | |
---|
72 | * Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4 |
---|
73 | - rebuilt with new openssl |
---|
74 | |
---|
75 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3 |
---|
76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
77 | |
---|
78 | * Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2 |
---|
79 | - Small changes during review |
---|
80 | |
---|
81 | * Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1 |
---|
82 | - Initial build |
---|