224ce86
Summary: SyncML client for evolution
224ce86
Name: syncevolution
b4551a3
Version: 0.7
f4741bd
Release: 3%{?dist}
224ce86
License: GPLv2+
224ce86
Group: Applications/Productivity
224ce86
URL: http://www.estamos.de/projects/SyncML/
b4551a3
Source0: http://www.estamos.de/download/syncevolution/sources/%{name}-%{version}.tar.gz
7ef2f75
Patch0:  syncevolution-MC-build.diff
b4551a3
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
7ef2f75
%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.
224ce86
#make check
224ce86
224ce86
%install
224ce86
rm -rf $RPM_BUILD_ROOT
b4551a3
make install DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}
224ce86
rm -rf $RPM_BUILD_ROOT%{_datadir}/share
b4551a3
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
b4551a3
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
f4741bd
* Fri Apr 25 2008 Matej Cepl <mcepl@redhat.com> 0.7-3
f4741bd
- Rebuild for compatibility with new libraries.
f4741bd
7ef2f75
* Fri Feb 15 2008 Matěj Cepl <mcepl@redhat.com> 0.7-2
0fec73c
- Fix missing #includes -- breaks compilation with GCC 4.3
7ef2f75
b4551a3
* Wed Feb 13 2008 Matěj Cepl <mcepl@redhat.com> 0.7-1
b4551a3
- New upstream version.
b4551a3
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