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

Revision 12322, 4.4 KB checked in by tomop, 7 years ago (diff)

updated 13 packages

cpio-2.13-1

curl-7.68.0-1

e2fsprogs-1.45.5-1

firefox-68.5.0-1

flex-2.6.4-1

libarchive-3.4.2-1

libogg-1.3.4-1

libssh-0.9.3-1

libtasn1-4.16.0-1

libvorbis-1.3.6-1

nghttp2-1.40.0-1

thunderbird-68.5.0-1

vorbis-tools-1.4.0-5

RevLine 
[11854]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[590]3Summary:        A library implementing the SSH2 protocol
4Summary(ja):    SSH2プロトコルを実装するためのライブラリ
[521]5
6Name:           libssh
[12322]7Version:        0.9.3
[11854]8Release:        1%{?_dist_release}
[521]9
10Group:          System Environment/Libraries
11License:        LGPLv2+
[590]12URL:            http://www.libssh.org/
[12322]13%global         shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
14Source0:        https://www.libssh.org/files/%{shortver}/%{name}-%{version}.tar.xz
[11854]15
[7200]16# security fix
[10047]17# Nothing so far.
18# Patch100:             libssh-0.4.8-pkgconfig.patch
[9670]19
[11854]20Vendor: Project Vine
21Distribution: Vine Linux
22
[590]23BuildRoot:      %{_tmppath}/%{name}-%{version}-root
[521]24
25BuildRequires:  openssl-devel
26BuildRequires:  zlib-devel   
[590]27BuildRequires:  cmake
[521]28
29%description
30The SSH library with
[590]31- Full C library functions for manipulating a client-side SSH connection
32- Fully configurable sessions
33- Support for AES-128,AES-192,AES-256,blowfish, in cbc mode
34- use multiple SSH connections in a same process, at same time.
35- usable SFTP implementation
36- Public key and password authentication
[521]37
38%package devel
39Summary:         Development files for %{name}
40Summary(ja):     %{name} の開発ファイル
41Group:           Development/Libraries
42Requires:        %{name} = %{version}-%{release}
[9670]43Requires:        pkgconfig
[521]44
45%description devel
46The %{name}-devel package contains libraries and header files for
47developing applications that use %{name}.
48
[11854]49%package -n compat32-%{name}
50Summary:        A library implementing the SSH2 protocol
51Summary(ja):    SSH2プロトコルを実装するためのライブラリ
52Group:          System Environment/Libraries
53
54%description -n compat32-%{name}
55The SSH library with
56- Full C library functions for manipulating a client-side SSH connection
57- Fully configurable sessions
58- Support for AES-128,AES-192,AES-256,blowfish, in cbc mode
59- use multiple SSH connections in a same process, at same time.
60- usable SFTP implementation
61- Public key and password authentication
62
[521]63%prep
64%setup -q
65
66%build
[590]67mkdir -p %{_target_platform}
68pushd %{_target_platform}
69%cmake ..
70popd
[521]71
[590]72make %{?_smp_mflags} -C %{_target_platform}
73
74#configure --disable-static --enable-shared
75#make # doesn't build with %{?_smp_mflags}
76
[521]77%install
[590]78[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
[521]79
[590]80make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
81
[521]82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%post -p /sbin/ldconfig
86
87%postun -p /sbin/ldconfig
88
89%files
90%defattr(-,root,root,-)
[12322]91%license COPYING
92%doc AUTHORS ChangeLog README
[521]93%{_libdir}/*.so.*
94
95%files devel
96%defattr(-,root,root,-)
97%{_includedir}/*
98%{_libdir}/*.so
[10047]99%{_libdir}/pkgconfig/%{name}*.pc
[11854]100%dir %{_libdir}/cmake/
101%{_libdir}/cmake/libssh/
[521]102
[11854]103%if %{build_compat32}
104%files -n compat32-%{name}
105%{_libdir}/*.so.*
106%endif
107
[521]108%changelog
[12322]109* Sun Feb 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.3-1
110- new upstream release.
111- dropped Patch0: fixed in upstream.
112
[11854]113* Sat Nov 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.8.5-1
114- new upstream release.
115- built with openssl-1.1.1.
116- added cmake support.
117- added a sub-package 'compat32-libssh'.
118
[10072]119* Sat Mar 12 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-2
120- rebuilt with openssl 1.0.2g
121
[10047]122* Fri Feb 26 2016 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 0.7.3-1
123- new upstream release with security fixes
124
[9670]125* Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-3
126- add Patch100 (libssh-0.4.8-pkgconfig.patch)
127
[7200]128* Mon Dec  3 2012 IWAI, Masaharu <iwai@alib.jp> 0.4.8-2
129- SECURITY FIX:
130 - add patches from Debian libssh 0.4.5-3+squeeze1
131  - CVE-2012-4559.patch (Patch10)
132  - CVE-2012-4561.patch (Patch11)
133  - CVE-2012-4562.patch (Patch12)
134 - add patch based Red Hat BTS #871614
135  - CVE-2012-4560.patch (Patch13)
136
[2602]137* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.8-1
138- new upstream release
139
[1224]140* Sun Jun 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.4-1
[590]141- new upstream release
142
[1224]143* Sun Mar  7 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.4.1-1
144- new upstream release
145
[590]146* Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2-1
[521]147- initial build for Vine Linux
148
149* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
150- rebuilt with new openssl
151
152* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
153- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
154
155* Tue Jun 02 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-2
156- Small changes during review
157
158* Mon Jun 01 2009 Jan F. Chadima <jchadima@redhat.com> - 0.2-1
159- Initial build
Note: See TracBrowser for help on using the repository browser.