Blob Blame History Raw
Summary: SyncML client for evolution
Name: syncevolution
Version: 0.7
Release: 3%{?dist}
License: GPLv2+
Group: Applications/Productivity
URL: http://www.estamos.de/projects/SyncML/
Source0: http://www.estamos.de/download/syncevolution/sources/%{name}-%{version}.tar.gz
Patch0:  syncevolution-MC-build.diff
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Requires: evolution
Requires: curl
BuildRequires: evolution-data-server-devel
BuildRequires: curl-devel
BuildRequires: cppunit-devel

%description
syncevolution is designed to provide a SyncML client that can
connect to and sync with various SyncML-based servers

%prep
%setup -q
%patch0 -p1 -b .MC-build
%configure --enable-unit-tests

%build
make %{?_smp_mflags}
ln -sf etc/{funambol,scheduleworld} .

%check
# FIXME: currently doesn't work at all, all tests fail; need to be
# discussed with upstream.
#make check

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}
rm -rf $RPM_BUILD_ROOT%{_datadir}/share
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/{funambol,scheduleworld}

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS NEWS README COPYING HACKING funambol/ scheduleworld/
%{_bindir}/*

%changelog
* Fri Apr 25 2008 Matej Cepl <mcepl@redhat.com> 0.7-3
- Rebuild for compatibility with new libraries.

* Fri Feb 15 2008 Matěj Cepl <mcepl@redhat.com> 0.7-2
- Fix missing #includes -- breaks compilation with GCC 4.3

* Wed Feb 13 2008 Matěj Cepl <mcepl@redhat.com> 0.7-1
- New upstream version.

* Mon Oct 15 2007 matej <mcepl@redhat.com> 0.6-2
- updated SPEC to make the package approved for the Fedora
  review process.

* Sun Oct 12 2007 Matěj Cepl <mcepl@redhat.com> 0.6-1
- Fixing .spec -- use make install and others
- Install also configuration templates to %%docs

* Sun Sep 30 2007 Matěj Cepl <mcepl@redhat.com> 0.6-0
- Experimental build from upstream source.

* Tue Jan 16 2007 Richard Monk <rmonk@redhat.com> 0.5-1
- Inital packaging