automatic version update by autodist [release 1.8.0-1mamba;Sun Sep 30 2018]
This commit is contained in:
parent
98cf8e98f3
commit
520edf3e49
43
libssh2.spec
43
libssh2.spec
@ -1,6 +1,6 @@
|
||||
Name: libssh2
|
||||
Version: 1.7.0
|
||||
Release: 2mamba
|
||||
Version: 1.8.0
|
||||
Release: 1mamba
|
||||
Summary: A library implementing the SSH2 protocol
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -38,21 +38,27 @@ This package contains static libraries and header files need for development.
|
||||
%setup -q -n %{name}-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--with-libgcrypt \
|
||||
--with-openssl \
|
||||
--with-libz \
|
||||
%if "%{_host}" != "%{_build}"
|
||||
CFLAGS="-lgpg-error"
|
||||
%endif
|
||||
%cmake -d build
|
||||
|
||||
#% configure \
|
||||
# --enable-shared \
|
||||
# --disable-static \
|
||||
# --with-libgcrypt=%{_prefix} \
|
||||
# --with-openssl=%{_prefix} \
|
||||
# --with-libz=%{_prefix} \
|
||||
#%if "%{_host}" != "%{_build}"
|
||||
# CFLAGS="-lgpg-error"
|
||||
#%endif
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%makeinstall -C build
|
||||
|
||||
%ifarch x86_64
|
||||
mv %{buildroot}%{_prefix}/lib/cmake %{buildroot}%{_libdir}/cmake
|
||||
%endif
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -62,18 +68,25 @@ This package contains static libraries and header files need for development.
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/libssh2.so.*
|
||||
%doc COPYING README
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/*.h
|
||||
%{_libdir}/*.la
|
||||
%{_libdir}/*.so
|
||||
#%{_libdir}/*.la
|
||||
%{_libdir}/libssh2.so
|
||||
%{_libdir}/pkgconfig/libssh2.pc
|
||||
%dir %{_libdir}/cmake/libssh2
|
||||
%{_libdir}/cmake/libssh2/*
|
||||
%dir %{_docdir}/libssh2
|
||||
%{_docdir}/libssh2/*
|
||||
%{_mandir}/man3/*.3.gz
|
||||
|
||||
%changelog
|
||||
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Jul 24 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
|
||||
- rebuilt with openssl 1.0.2h
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user