[packages/agsync] - drop detection of obsolete synce-librapi lib - rel 4

baggins baggins at pld-linux.org
Fri Aug 7 22:36:14 CEST 2015


commit 8aa76b76b7e52618810b71be5afa91eeb62e500c
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Aug 7 22:35:49 2015 +0200

    - drop detection of obsolete synce-librapi lib
    - rel 4

 agsync.spec   |  8 ++++++--
 synce-ac.path | 47 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+), 2 deletions(-)
---
diff --git a/agsync.spec b/agsync.spec
index 11554cf..67d822b 100644
--- a/agsync.spec
+++ b/agsync.spec
@@ -1,5 +1,5 @@
 %define		_rc	pre
-%define		_rel	3
+%define		_rel	4
 Summary:	Synchronization mediator for AvantGo and Pocket PC
 Summary(pl.UTF-8):	Mediator synchronizacji dla AvantGo i Pocket PC
 Name:		agsync
@@ -9,6 +9,7 @@ License:	MPL v1.1
 Group:		Applications/Communications
 Source0:	http://duskwood.lownewulf.com/%{name}-%{version}-%{_rc}.tgz
 Patch0:		%{name}-debian.patch
+Patch1:		synce-ac.path
 # Source0-md5:	74de1b1452a718c85364fab5ce3c0c2a
 URL:		http://duskwood.lownewulf.com/avantgo.html
 BuildRequires:	synce-core-lib-devel
@@ -53,9 +54,12 @@ Statyczna biblioteka AvantGo.
 %prep
 %setup -q -n %{name}-%{version}-%{_rc}
 %patch0 -p1
-chmod +x configure
+%patch1 -p1
+
+%{__rm} configure
 
 %build
+%{__autoconf}
 %configure
 %{__make}
 
diff --git a/synce-ac.path b/synce-ac.path
new file mode 100644
index 0000000..24839c0
--- /dev/null
+++ b/synce-ac.path
@@ -0,0 +1,47 @@
+--- agsync-0.2-pre/configure.in~	2015-08-07 22:32:51.000000000 +0200
++++ agsync-0.2-pre/configure.in	2015-08-07 22:33:19.268565790 +0200
+@@ -48,44 +48,4 @@
+ 	]
+ )
+ 
+-AC_ARG_WITH(librapi2,
+-	AC_HELP_STRING(
+-			[--with-librapi2[=DIR]],
+-			[Search for librapi2 in DIR/include and DIR/lib]),
+-	[
+-		CPPFLAGS="$CPPFLAGS -I${withval}/include"
+-		LDFLAGS="$LDFLAGS -L${withval}/lib"
+-	]
+-)
+-
+-AC_ARG_WITH(librapi2-include,
+-	AC_HELP_STRING(
+-			[--with-librapi2-include[=DIR]],
+-			[Search for librapi2 header files in DIR]),
+-	[
+-		CPPFLAGS="$CPPFLAGS -I${withval}"
+-	]
+-)
+-
+-AC_ARG_WITH(librapi2-lib,
+-	AC_HELP_STRING(
+-			[--with-librapi2-lib[=DIR]],
+-			[Search for librapi2 library files in DIR]),
+-	[
+-		LDFLAGS="$LDFLAGS -L${withval}"
+-	]
+-)
+-
+-AC_CHECK_LIB(rapi,CeRapiInit,,
+-	[
+-		AC_MSG_ERROR([Can't find RAPI library])
+-	]
+-)
+-
+-AC_CHECK_HEADERS(rapi.h,,
+-	[
+-		AC_MSG_ERROR([Can't find rapi.h])
+-	]
+-)
+-
+ AC_OUTPUT(Makefile mal-files/Makefile mal-files/client/Makefile)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/agsync.git/commitdiff/8aa76b76b7e52618810b71be5afa91eeb62e500c



More information about the pld-cvs-commit mailing list