Author: adamg Date: Fri May 22 19:59:59 2009 GMT Module: packages Tag: HEAD ---- Log message: - updated to 0.3.0
---- Files affected: packages/libssh: libssh.spec (1.6 -> 1.7) ---- Diffs: ================================================================ Index: packages/libssh/libssh.spec diff -u packages/libssh/libssh.spec:1.6 packages/libssh/libssh.spec:1.7 --- packages/libssh/libssh.spec:1.6 Tue Apr 3 20:29:51 2007 +++ packages/libssh/libssh.spec Fri May 22 21:59:54 2009 @@ -2,16 +2,16 @@ Summary: Library implementing the SSH protocol Summary(pl.UTF-8): Biblioteka implementująca protokół SSH Name: libssh -Version: 0.2 +Version: 0.3.0 Release: 1 Epoch: 1 License: LGPL Group: Libraries -Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz -# Source0-md5: 8a76c03579a3e27046e6bafe88ffd171 -URL: http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh -BuildRequires: libmagic-devel -BuildRequires: openssl-devel +Source0: http://www.libssh.org/files/%{name}-%{version}.tar.gz +# Source0-md5: 2496338686932685c08ed8f6ad185227 +URL: http://www.libssh.org/ +BuildRequires: cmake >= 2.6.0 +BuildRequires: openssl-devel >= 0.9.8 BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -50,12 +50,22 @@ %setup -q %build -%configure -%{__make} -j1 +mkdir build +cd build +%cmake \ + -DCMAKE_BUILD_TYPE="Release" \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%if "%{_lib}" == "lib64" + -DLIB_SUFFIX=64 \ +%endif + .. + +%{__make} %install rm -rf $RPM_BUILD_ROOT +cd build %{__make} install \ DESTDIR=$RPM_BUILD_ROOT \ libdir=%{_libdir} @@ -82,6 +92,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.7 2009/05/22 19:59:54 adamg +- updated to 0.3.0 + Revision 1.6 2007/04/03 18:29:51 undefine - doesn't compile with make -j != 1 ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libssh/libssh.spec?r1=1.6&r2=1.7&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
