]> git.pld-linux.org Git - packages/agsync.git/commitdiff
- drop detection of obsolete synce-librapi lib master auto/th/agsync-0.2-0.pre.4
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 7 Aug 2015 20:35:49 +0000 (22:35 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 7 Aug 2015 20:35:49 +0000 (22:35 +0200)
- rel 4

agsync.spec
synce-ac.path [new file with mode: 0644]

index 11554cf5d74812a513ba431ac695dc98e61b97db..67d822b26075faccd4fbaf767d589b21315850a5 100644 (file)
@@ -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 (file)
index 0000000..24839c0
--- /dev/null
@@ -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)
This page took 0.045245 seconds and 4 git commands to generate.