224ce86
Summary: SyncML client for evolution
224ce86
Name: syncevolution
fb6274b
Version: 0.7
f2c4af4
Release: 2%{?dist}
224ce86
License: GPLv2+
224ce86
Group: Applications/Productivity
224ce86
URL: http://www.estamos.de/projects/SyncML/
fb6274b
Source0: http://www.estamos.de/download/syncevolution/sources/%{name}-%{version}.tar.gz
5729c92
Patch0:  syncevolution-MC-build.diff
fb6274b
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
224ce86
Requires: evolution
224ce86
Requires: curl
224ce86
BuildRequires: evolution-data-server-devel
224ce86
BuildRequires: curl-devel
224ce86
BuildRequires: cppunit-devel
224ce86
224ce86
%description
224ce86
syncevolution is designed to provide a SyncML client that can
224ce86
connect to and sync with various SyncML-based servers
224ce86
224ce86
%prep
224ce86
%setup -q
5729c92
%patch0 -p1 -b .MC-build
224ce86
%configure --enable-unit-tests
224ce86
224ce86
%build
224ce86
make %{?_smp_mflags}
224ce86
ln -sf etc/{funambol,scheduleworld} .
224ce86
224ce86
%check
224ce86
# FIXME: currently doesn't work at all, all tests fail; need to be
224ce86
# discussed with upstream.
5729c92
#make check
224ce86
224ce86
%install
224ce86
rm -rf $RPM_BUILD_ROOT
fb6274b
make install DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}
224ce86
rm -rf $RPM_BUILD_ROOT%{_datadir}/share
fb6274b
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
fb6274b
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/{funambol,scheduleworld}
224ce86
224ce86
%clean
224ce86
rm -rf $RPM_BUILD_ROOT
224ce86
224ce86
%files
224ce86
%defattr(-,root,root,-)
224ce86
%doc AUTHORS NEWS README COPYING HACKING funambol/ scheduleworld/
224ce86
%{_bindir}/*
224ce86
224ce86
%changelog
5729c92
* Fri Feb 15 2008 Matěj Cepl <mcepl@redhat.com> 0.7-2
5729c92
- Add #include <memory> to syncevolution.cpp according
5729c92
  to https://sourceforge.net/tracker/\
5729c92
  ?func=detail&atid=764733&aid=1893582&group_id=146288
f2c4af4
fb6274b
* Wed Feb 13 2008 Matěj Cepl <mcepl@redhat.com> 0.7-1
fb6274b
- New upstream version.
fb6274b
224ce86
* Mon Oct 15 2007 matej <mcepl@redhat.com> 0.6-2
224ce86
- updated SPEC to make the package approved for the Fedora
224ce86
  review process.
224ce86
224ce86
* Sun Oct 12 2007 Matěj Cepl <mcepl@redhat.com> 0.6-1
224ce86
- Fixing .spec -- use make install and others
224ce86
- Install also configuration templates to %%docs
224ce86
224ce86
* Sun Sep 30 2007 Matěj Cepl <mcepl@redhat.com> 0.6-0
224ce86
- Experimental build from upstream source.
224ce86
224ce86
* Tue Jan 16 2007 Richard Monk <rmonk@redhat.com> 0.5-1
224ce86
- Inital packaging