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