|
@@ -1,7 +1,9 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
Summary: A library implementing the SSH2 protocol
|
|
Summary: A library implementing the SSH2 protocol
|
|
Summary(ja): SSH2 プロトコルを実装するためのライブラリ
|
|
Summary(ja): SSH2 プロトコルを実装するためのライブラリ
|
|
Name: libssh2
|
|
Name: libssh2
|
|
-Version: 1.2.7
|
|
|
|
|
|
+Version: 1.4.2
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -40,6 +42,18 @@ Requires: %{name} = %{version}-%{release}
|
|
The %{name}-docs package contains man pages and examples for
|
|
The %{name}-docs package contains man pages and examples for
|
|
developing applications that use %{name}.
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
+## to build compat32 for x86_64 architecture support
|
|
|
|
+%package -n compat32-%{name}
|
|
|
|
+Summary: A library implementing the SSH2 protocol
|
|
|
|
+Summary(ja): SSH2 プロトコルを実装するためのライブラリ
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}
|
|
|
|
+libssh2 is a library implementing the SSH2 protocol as defined by
|
|
|
|
+Internet Drafts: SECSH-TRANS(22), SECSH-USERAUTH(25),
|
|
|
|
+SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
|
|
|
|
+SECSH-DHGEX(04), and SECSH-NUMBERS(10).
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -78,6 +92,10 @@ rm -rf %{buildroot}
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
+%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -96,7 +114,17 @@ rm -rf %{buildroot}
|
|
%{_libdir}/*.so
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/libssh2.pc
|
|
%{_libdir}/pkgconfig/libssh2.pc
|
|
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
|
+%files -n compat32-%{name}
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_libdir}/*.so.*
|
|
|
|
+%endif
|
|
|
|
+
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Nov 29 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-1
|
|
|
|
+- new upstream reelase
|
|
|
|
+- add compat32 package
|
|
|
|
+
|
|
* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.7-1
|
|
* Sat Jan 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.7-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- fix %%files
|
|
- fix %%files
|