source: projects/specs/trunk/lib/libs/libssh/libssh-vl.spec @ 521

Revision 521, 2.8 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary:        A library implementing the SSH2 protocol (0xbadc0de version)
2Summary(ja):    SSH2プロトコルを実装するためのライブラリ (0xbadc0de版)
3
4Name:           libssh
5Version:        0.2
6Release:        1%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        LGPLv2+
10URL:            http://0xbadc0de.be/?part=libssh
11Source0:        http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
12Patch0:         libssh-0.2-libdir.patch
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14
15BuildRequires:  openssl-devel
16BuildRequires:  zlib-devel   
17
18%description
19The 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
28Summary:         Development files for %{name}
29Summary(ja):     %{name} の開発ファイル
30Group:           Development/Libraries
31Requires:        %{name} = %{version}-%{release}
32
33%description devel
34The %{name}-devel package contains libraries and header files for
35developing applications that use %{name}.
36
37%prep
38%setup -q
39%patch0 -p1 -b .libdir
40
41%build
42%configure --disable-static --enable-shared
43make # doesn't build with %{?_smp_mflags}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47make install DESTDIR=$RPM_BUILD_ROOT
48find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} +
49chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/*
50
51%clean
52rm -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
Note: See TracBrowser for help on using the repository browser.