Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
5.6.17
:
extensions
>
libssh2
> libssh2.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File libssh2.spec of Package libssh2
#norootforbuild Summary: A library implementing the SSH2 protocol Name: libssh2 Version: 1.4.0 Release: 0 Group: Development/Libraries Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/%{name}-%{version}.tar.bz2 URL: http://www.libssh2.org/ License: BSD BuildRoot:%{_tmppath}/%{name}-%{version}-build BuildRequires: openssl-devel zlib-devel pkgconfig %description 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). %package -n libssh2-1 Summary: A library implementing the SSH2 protocol Group: Development/Libraries Provides: libssh2 = %{version} Obsoletes: libssh2 < %{version} %description -n libssh2-1 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). This package contains only the shared library %package devel Summary: Include files for libssh2 Group: Development/Libraries Requires: libssh2-1 = %{version} glibc-devel %description devel 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 %setup -q -n %{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 %build ##./buildconf --force CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags} -fno-strict-aliasing" %if 0%{?suse_version} > 1000 CFLAGS="$CFLAGS -fstack-protector" CXXFLAGS="$CXXFLAGS -fstack-protector" %endif export CFLAGS export CXXFLAGS %configure --disable-static --with-pic --disable-rpath --with-libz=%{_usr} --with-openssl=%{_usr} %install %{__make} install DESTDIR=%{buildroot} %{__rm} -f %{buildroot}%{_libdir}/*.la %clean %{__rm} -rf %{buildroot} %post -n libssh2-1 -p /sbin/ldconfig %postun -n libssh2-1 -p /sbin/ldconfig %files -n libssh2-1 %defattr(-,root,root) %{_libdir}/libssh2.so.1* %files devel %defattr(-,root,root) %{_libdir}/libssh2.so %{_libdir}/pkgconfig/libssh2.pc %{_includedir}/*.h %{_mandir}/man3/* %changelog * Fri Feb 26 2010 Carsten Schoene <cs@linux-administrator.com> - 1.2.4-1 - update to release 1.2.4 * Sun Dec 20 2009 Carsten Schoene <cs@linux-administrator.com> - 1.2.1-1 - update to release 1.2.1 * Mon Apr 09 2007 judas_iscariote@shorewall.net - update to version 0.1520070410 - run make check * Fri Dec 29 2006 - judas_iscariote@shorewall.net - Add a quick and dirty hack to build correctly on 64 bit