%define _rc pre
-%define _rel 2
+%define _rel 4
Summary: Synchronization mediator for AvantGo and Pocket PC
Summary(pl.UTF-8): Mediator synchronizacji dla AvantGo i Pocket PC
Name: agsync
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-librapi2-devel
-BUildRequires: synce-libsynce-devel
+BuildRequires: synce-core-lib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q -n %{name}-%{version}-%{_rc}
%patch0 -p1
-chmod +x configure
+%patch1 -p1
+
+%{__rm} configure
%build
+%{__autoconf}
%configure
%{__make}
%doc README
%attr(755,root,root) %{_bindir}/agsync
%attr(755,root,root) %{_libdir}/libmal-funcs.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmal-funcs.so.0
%{_mandir}/man1/agsync.1*
%files devel