SPECS: libssh.spec - up to 0.2.0 - epoch 1 (0.2 > 0.11) - makefile...

undefine undefine at pld-linux.org
Sun Mar 25 23:01:46 CEST 2007


Author: undefine                     Date: Sun Mar 25 21:01:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.2.0
- epoch 1 (0.2 > 0.11)
- makefile patch not needed anymore

---- Files affected:
SPECS:
   libssh.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/libssh.spec
diff -u SPECS/libssh.spec:1.4 SPECS/libssh.spec:1.5
--- SPECS/libssh.spec:1.4	Mon Feb 12 23:09:10 2007
+++ SPECS/libssh.spec	Sun Mar 25 23:01:41 2007
@@ -2,16 +2,14 @@
 Summary:	Library implementing the SSH protocol
 Summary(pl.UTF-8):	Biblioteka implementująca protokół SSH
 Name:		libssh
-Version:	0.11
+Version:	0.2
 Release:	1
+Epoch:		1
 License:	LGPL
 Group:		Libraries
 Source0:	http://0xbadc0de.be/libssh/%{name}-%{version}.tgz
-# Source0-md5:	ad703c4702646c83ca4fcace92c220d3
-Patch0:		%{name}-makefile.patch
+# Source0-md5:	8a76c03579a3e27046e6bafe88ffd171
 URL:		http://0xbadc0de.be/wiki/doku.php?id=libssh:libssh
-BuildRequires:	autoconf
-BuildRequires:	automake
 BuildRequires:	libmagic-devel
 BuildRequires:	openssl-devel
 BuildRequires:	zlib-devel
@@ -40,7 +38,7 @@
 Summary:	Header files for libssh library
 Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libssh
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name} = %{epoch}:%{version}-%{release}
 
 %description devel
 Header files for libssh library.
@@ -50,33 +48,32 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-cp -f /usr/share/automake/config.* .
-%{__autoconf}
-%{__autoheader}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_libdir}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	libdir=%{_libdir}
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc README
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
 
 %files devel
 %defattr(644,root,root,755)
+%{_libdir}/libssh.so
 %{_includedir}/*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -85,6 +82,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2007/03/25 21:01:41  undefine
+- up to 0.2.0
+- epoch 1 (0.2 > 0.11)
+- makefile patch not needed anymore
+
 Revision 1.4  2007/02/12 22:09:10  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libssh.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list