[svn] r5376 - trunk/rpms/libssh2
packagers at lists.rpmforge.net
packagers at lists.rpmforge.net
Tue May 8 13:00:27 CEST 2007
Author: dag
Date: 2007-05-08 13:00:25 +0200 (Tue, 08 May 2007)
New Revision: 5376
Modified:
trunk/rpms/libssh2/libssh2.spec
Log:
Updates
Modified: trunk/rpms/libssh2/libssh2.spec
===================================================================
--- trunk/rpms/libssh2/libssh2.spec 2007-05-08 09:04:06 UTC (rev 5375)
+++ trunk/rpms/libssh2/libssh2.spec 2007-05-08 11:00:25 UTC (rev 5376)
@@ -1,17 +1,17 @@
# $Id$
# Authority: stefan
-Summary: A library implementing the SSH2 protocol
+Summary: Library implementing the SSH2 protocol
Name: libssh2
-Version: 0.12
+Version: 0.14
Release: 1
+License: BSD
Group: System Environment/Libraries
-Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/libssh2-%{version}.tar.gz
URL: http://www.libssh2.org/
-License: BSD
-Prefix: %{_prefix}
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Source: http://heanet.dl.sourceforge.net/sourceforge/libssh2/libssh2-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
BuildRequires: pkgconfig, openssl-devel, zlib-devel
%description
@@ -20,32 +20,52 @@
SECSH-CONNECTION(23), SECSH-ARCH(20), SECSH-FILEXFER(06)*,
SECSH-DHGEX(04), and SECSH-NUMBERS(10).
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+#Requires: %{name} = %{version}-%{release}
+Obsoletes: %{name} <= %{version}-%{release}
+Provides: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
%prep
-%setup -q
+%setup
+%{__perl} -pi.orig -e 's|/lib\b|/%{_lib}|g;' configure Makefile.in */Makefile.in
+
%build
-CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix}
+%configure
+%{__make} %{?_smp_mflags}
%install
-rm -rf ${RPM_BUILD_ROOT}
-mkdir -p ${RPM_BUILD_ROOT}
-make install DESTDIR=${RPM_BUILD_ROOT}
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
%clean
-rm -rf ${RPM_BUILD_ROOT}
+%{__rm} -rf %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%files
-%defattr(-,root,root)
+%files devel
+%defattr(-, root, root, 0755)
+%doc LICENSE README ssh2_sample.c
%{_libdir}/libssh2.so
-%{_includedir}/libssh2*
+%{_includedir}/libssh2*.h
%changelog
-* Tue Dec 06 2005 Stefan Pietsch <stefan.pietsch at eds.com> 0.12
-- update to new release
+* Tue Dec 06 2005 Stefan Pietsch <stefan.pietsch at eds.com> - 0.14-1
+- Updated to release 0.14.
+- Renamed to libssh2-devel.
+- Cosmetic changes.
-* Tue Oct 25 2005 Stefan Pietsch <stefan.pietsch at eds.com> 0.11
-- first release
+* Tue Dec 06 2005 Stefan Pietsch <stefan.pietsch at eds.com> - 0.12-1
+- Update to new release.
+
+* Tue Oct 25 2005 Stefan Pietsch <stefan.pietsch at eds.com> - 0.11-1
+- First release.
More information about the svn-commits
mailing list