packages: openconnect/openconnect.spec - up to 3.11; drop patch0 - now use ...

cactus cactus at pld-linux.org
Fri Sep 9 22:36:40 CEST 2011


Author: cactus                       Date: Fri Sep  9 20:36:40 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 3.11; drop patch0 - now use autotools

---- Files affected:
packages/openconnect:
   openconnect.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/openconnect/openconnect.spec
diff -u packages/openconnect/openconnect.spec:1.4 packages/openconnect/openconnect.spec:1.5
--- packages/openconnect/openconnect.spec:1.4	Wed May  4 17:53:01 2011
+++ packages/openconnect/openconnect.spec	Fri Sep  9 22:36:35 2011
@@ -2,14 +2,15 @@
 Summary:	Client for Cisco's AnyConnect SSL VPN
 Summary(pl.UTF-8):	Klient Cisco AnyConnect SSL VPN
 Name:		openconnect
-Version:	3.02
+Version:	3.11
 Release:	1
 License:	LGPL v2
 Group:		Applications
 Source0:	ftp://ftp.infradead.org/pub/openconnect/%{name}-%{version}.tar.gz
-# Source0-md5:	c12688474f432a6d590958cc1c1ff076
-Patch0:		%{name}-Makefile.patch
+# Source0-md5:	b66927f98cfeb577b3016f8b83005d6b
 URL:		http://www.infradead.org/openconnect.html
+BuildRequires:	autoconf >= 2.63
+BuildRequires:	automake >= 1:1.10
 BuildRequires:	libproxy-devel
 BuildRequires:	libxml2-devel
 BuildRequires:	openssl-devel
@@ -26,6 +27,7 @@
 Summary:	Development files for OpenConnect
 Summary(pl.UTF-8):	Pliki programistyczne dla OpenConnect
 Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
 Requires:	libproxy-devel
 Requires:	libxml2-devel
 Requires:	openssl-devel
@@ -39,9 +41,13 @@
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
 %{__make} \
 	CC="%{__cc}" \
 	RPM_OPT_FLAGS="%{rpmcppflags} %{rpmcflags}" \
@@ -50,22 +56,27 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install install-lib \
+%{__make} install \
 	LIBDIR=%{_libdir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS README.DTLS README.SecurID TODO
+%doc AUTHORS TODO
 %attr(755,root,root) %{_bindir}/openconnect
+%attr(755,root,root) %{_libdir}/libopenconnect.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libopenconnect.so.1
 %{_mandir}/man8/openconnect.8*
 
 %files devel
 %defattr(644,root,root,755)
-%{_libdir}/libopenconnect.a
+%attr(755,root,root) %{_libdir}/libopenconnect.so
 %{_includedir}/openconnect.h
 %{_pkgconfigdir}/openconnect.pc
 
@@ -75,6 +86,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2011/09/09 20:36:35  cactus
+- up to 3.11; drop patch0 - now use autotools
+
 Revision 1.4  2011/05/04 15:53:01  megabajt
 - updated to 3.02
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/openconnect/openconnect.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list