bounce versionn to 0.3.92

This commit is contained in:
Jan F. Chadima 2009-11-26 08:26:31 +00:00
parent e0508952bb
commit c660a71ea1

View File

@ -1,17 +1,18 @@
Name: libssh
Version: 0.2
Release: 4%{?dist}
Version: 0.3.92
Release: 1%{?dist}
Summary: A library implementing the SSH2 protocol (0xbadc0de version)
Group: System Environment/Libraries
License: LGPLv2+
URL: http://0xbadc0de.be/?part=libssh
Source0: http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
Patch0: libssh-0.2-libdir.patch
#original URL: http://0xbadc0de.be/?part=libssh
URL: http://www.libssh.org/
Source0: http://www.libssh.org/files/rc/%{name}-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: openssl-devel
BuildRequires: zlib-devel
BuildRequires: cmake
%description
The SSH library with
@ -33,14 +34,16 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1 -b .libdir
%build
%configure --disable-static --enable-shared
make # doesn't build with %{?_smp_mflags}
mkdir obj
cd obj
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr ..
make
%install
rm -rf $RPM_BUILD_ROOT
cd obj
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} +
chmod 644 $RPM_BUILD_ROOT/usr/include/libssh/*
@ -63,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/*.so
%changelog
* Thu Nov 26 2009 Jan F. Chadima <jchadima@redhat.com> - 0.3.92-1
- bounce versionn to 0.3.92 (0.4 beta2) (#541010)
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 0.2-4
- rebuilt with new openssl