Accepting request 31722 from devel:libraries:c_c++

Copy from devel:libraries:c_c++/libssh2_org based on submit request 31722 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/31722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libssh2_org?expand=0&rev=5
This commit is contained in:
OBS User autobuild 2010-02-11 18:32:00 +00:00 committed by Git OBS Bridge
parent f107d9597f
commit d2dfdb0287
4 changed files with 45 additions and 38 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d200517e55cfdd52a249ab817bdebbf7ee91ff2b67b90c7b17f99c81ab42bbae
size 426091

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:598f1892ae8de705a9eea39885347efb83059562df7d6a362b084c3511aefea8
size 178151

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon Feb 1 11:55:42 UTC 2010 - jengelh@medozas.de
- package baselibs.conf
-------------------------------------------------------------------
Sat Nov 28 17:08:10 UTC 2009 - crrodriguez@opensuse.org
- Update snapshot
-------------------------------------------------------------------
Wed Sep 30 18:35:43 UTC 2009 - crrodriguez@opensuse.org
- add visbility support
-------------------------------------------------------------------
Wed Sep 30 12:45:41 UTC 2009 - crrodriguez@opensuse.org
- update to version 1.2.1 see NEWS for details
-------------------------------------------------------------------
Tue Aug 11 00:00:43 CEST 2009 - crrodriguez@suse.de
- update to version 1.2 see NEWS for details
-------------------------------------------------------------------
Wed May 27 15:13:42 CEST 2009 - crrodriguez@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package libssh2_org (Version 1.1)
# spec file for package libssh2_org (Version 1.2.2_git200911281702)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,13 +20,14 @@
Summary: A library implementing the SSH2 protocol
Name: libssh2_org
Version: 1.1
Version: 1.2.2_git200911281702
Release: 1
%define pkg_name libssh2
Group: Development/Libraries/C and C++
Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/%{pkg_name}-%{version}.tar.bz2
Source2: baselibs.conf
Url: http://www.libssh2.org/
License: BSD 3-Clause
License: BSD3c
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel pkgconfig zlib-devel
@ -41,7 +42,7 @@ SECSH-PUBLICKEY.
%define debug_package_requires libssh2-1 = %{version}-%{release}
%package -n libssh2-1
License: BSD 3-Clause
License: BSD3c
Summary: A library implementing the SSH2 protocol
Group: Development/Libraries/C and C++
@ -54,7 +55,7 @@ SECSH-PUBLICKEY.
%package -n libssh2-devel
License: BSD 3-Clause
License: BSD3c
Summary: A library implementing the SSH2 protocol
Group: Development/Libraries/C and C++
Requires: libssh2-1 = %{version} glibc-devel
@ -71,13 +72,17 @@ SECSH-PUBLICKEY.
%setup -q -n %{pkg_name}-%{version}
# /me hides :-)
%{__rm} -f configure
%{__sed} -i -e s@/lib/libz@/%{_lib}/libz@g -e s@/lib/libcrypto@/%{_lib}/libcrypto@g configure.in
%{__sed} -i -e 's|LIBZ_LIBDIR=.*|LIBZ_LIBDIR=%{_libdir}|g' configure.in
%{__sed} -i -e 's|OPENSSL_LIBLINE=".*"| OPENSSL_LIBLINE="-lcrypto"|g' configure.in
%{__sed} -i -e s@/lib/libz@/%{_lib}/libz@g -e s@/lib/libcrypto@/%{_lib}/libcrypto@g configure.ac
%{__sed} -i -e 's|LIBZ_LIBDIR=.*|LIBZ_LIBDIR=%{_libdir}|g' configure.ac
%{__sed} -i -e 's|OPENSSL_LIBLINE=".*"| OPENSSL_LIBLINE="-lcrypto"|g' configure.ac
%build
./buildconf --force
%configure --disable-static --with-pic --disable-rpath --with-libz=%{_usr} --with-openssl=%{_usr}
%configure --enable-hidden-symbols \
--disable-static --with-pic \
--disable-rpath --with-libz=%{_usr} \
--with-openssl=%{_usr}
%{__make} %{?jobs:-j%jobs}
%install
%{__make} install DESTDIR=%{buildroot}
@ -99,33 +104,10 @@ SECSH-PUBLICKEY.
%files -n libssh2-devel
%defattr(-,root,root)
%doc NEWS
%{_libdir}/libssh2.so
%{_includedir}/*.h
%{_mandir}/man3/*
%{_libdir}/pkgconfig/libssh2.pc
%changelog
* Wed May 27 2009 crrodriguez@suse.de
- do not provide or obsolete libssh2 [bnc#507444]
* Sun May 10 2009 crrodriguez@suse.de
- update to version 1.1, see NEWS for details
* Mon Jan 05 2009 crrodriguez@suse.de
- update to version 1.0, see large list of changes in the NEWS file
* Tue Oct 14 2008 crrodriguez@suse.de
- rename package to avoid all sorts of conflicts with the other
"libssh" package
* Thu Aug 14 2008 crrodriguez@suse.de
- update current snap , version 20080814
* Sean Peterson fixed a key re-exchange bug:
http://daniel.haxx.se/projects/libssh2/mail/libssh2-devel-archive-2008-06/0002.shtml
* Thu Jun 26 2008 crrodriguez@suse.de
- update to version 0.19.0-20080626, two bugfixes
* Mon Jun 23 2008 crrodriguez@suse.de
- no longer needs fno-strict-aliasing
* Mon Jun 23 2008 crrodriguez@suse.de
- update to libssh2-0.19.0-20080622
* Sun Dec 23 2007 crrodriguez@suse.de
- update to 0.18 final
* Fri Aug 31 2007 crrodriguez@suse.de
- update snap
* Sat Apr 14 2007 judas_iscariote@shorewall.net
- update snapshot.