f67054e
Summary:       SyncML client for evolution
f67054e
Name:          syncevolution
a2848e6
Version:       1.3.99.3
506d171
Release:       3%{?dist}
6841894
Epoch:         1
f67054e
License:       LGPLv2+
f67054e
Group:         Applications/Productivity
f67054e
URL:           http://syncevolution.org/
3ecf374
Source:        http://downloads.syncevolution.org/%{name}/sources/%{name}-%{version}.tar.gz
5be354a
d99b7b5
BuildRequires: bluez-libs-devel
5be354a
BuildRequires: boost-devel
224ce86
BuildRequires: cppunit-devel
5be354a
BuildRequires: evolution-data-server-devel
5be354a
BuildRequires: expat-devel
5be354a
BuildRequires: glib2-devel
d99b7b5
BuildRequires: gnome-keyring-devel
db21dd2
BuildRequires: gtk3-devel
1b4b782
BuildRequires: libcurl-devel
d99b7b5
BuildRequires: libical-devel
d925a47
BuildRequires: libnotify-devel
d99b7b5
BuildRequires: libsoup-devel
a7f25e8
BuildRequires: neon-devel
d99b7b5
BuildRequires: pcre-devel
3ecf374
BuildRequires: python-docutils
db21dd2
BuildRequires: unique3-devel
a12038a
%ifnarch s390 s390x
a12038a
BuildRequires: openobex-devel
a12038a
%endif
d99b7b5
e11f162
BuildRequires: desktop-file-utils
e11f162
BuildRequires: intltool
e11f162
BuildRequires: gettext
e11f162
BuildRequires: libtool
224ce86
2f2677c
Requires: python-twisted-web
2f2677c
224ce86
%description
224ce86
syncevolution is designed to provide a SyncML client that can
224ce86
connect to and sync with various SyncML-based servers
224ce86
2f2677c
%package libs
2f2677c
Summary: Library package for %{name}
2f2677c
Group: System Environment/Libraries
2f2677c
2f2677c
%description libs
2f2677c
Libraries for %{name}.
2f2677c
5be354a
%package devel
5be354a
Summary: Development package for %{name}
5be354a
Group: Development/Libraries
f67054e
Requires: %{name} = %{epoch}:%{version}-%{release}
5be354a
Requires: pkgconfig
5be354a
5be354a
%description devel
5be354a
Files for development with %{name}.
5be354a
e11f162
%package gtk
e11f162
Summary: GTK+ GUI for %{name}
cce0986
Group: Applications/Productivity
f67054e
Requires: %{name} = %{epoch}:%{version}-%{release}
e11f162
e11f162
%description gtk
e11f162
GTK+ GUI for use with %{name}.
e11f162
cce0986
%package perl
cce0986
Summary: Perl utils for %{name}
cce0986
Group: Development/Libraries
f67054e
Requires: %{name} = %{epoch}:%{version}-%{release}
cce0986
cce0986
%description perl
cce0986
Perl utils for use with %{name}.
cce0986
224ce86
%prep
224ce86
%setup -q
25bfabf
0c364a2
# use the ac macros in Makefile.am
0c364a2
sed -i '/^ACLOCAL_AMFLAGS/{ /m4-repo/!s/$/ -I m4-repo/ }' Makefile*.am
224ce86
224ce86
%build
5be354a
intltoolize --automake --copy --force
0c364a2
autoreconf -fiv
b4fe144
(cd src/synthesis && autoreconf -fi && ./autogen.sh)
25bfabf
a7f25e8
%configure --enable-libsoup --enable-dbus-service --enable-shared --with-expat=system \
db21dd2
    --disable-static --enable-gtk=3 --enable-gui --with-gio-gdbus --enable-dav \
6841894
%ifnarch s390 s390x
6841894
    --enable-bluetooth
6841894
%else
6841894
    --disable-bluetooth
6841894
%endif
dc380e5
0c364a2
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g
0c364a2
	s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
25bfabf
e11f162
make %{?_smp_mflags} V=1
1e7d77b
find . -type d -perm 02755 -exec chmod 0755 '{}' \;
224ce86
224ce86
%install
2eba688
make install DESTDIR=%{buildroot} docdir=%{_docdir}
2eba688
rm -rf %{buildroot}%{_datadir}/doc
5be354a
2eba688
#Remove libtool archives
2eba688
find %{buildroot} -name '*.la' -exec rm -f {} ';'
224ce86
e11f162
%find_lang %{name}
e11f162
dc380e5
desktop-file-validate %{buildroot}/%{_datadir}/applications/sync.desktop
e11f162
25bfabf
%post -p /sbin/ldconfig
25bfabf
25bfabf
%postun -p /sbin/ldconfig
25bfabf
fdd4da2
%post gtk
fdd4da2
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
fdd4da2
fdd4da2
%postun gtk
fdd4da2
if [ $1 -eq 0 ] ; then
fdd4da2
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
fdd4da2
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fdd4da2
fi
fdd4da2
fdd4da2
%posttrans gtk
fdd4da2
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fdd4da2
e11f162
%files -f %{name}.lang
224ce86
%defattr(-,root,root,-)
6a13fb2
%doc AUTHORS NEWS README HACKING README.html README.rst
d925a47
%{_sysconfdir}/xdg/autostart/syncevo-dbus-server.desktop
dc380e5
%{_bindir}/synccompare
e11f162
%{_bindir}/syncevolution
d925a47
%{_bindir}/syncevo-http-server
d925a47
%{_bindir}/syncevo-phone-config
aefdd3d
%{_bindir}/syncevo-webdav-lookup
dc380e5
%{_bindir}/synclog2html
dc380e5
%{_libexecdir}/syncevo-dbus-helper
5be354a
%{_libexecdir}/syncevo-dbus-server
d925a47
%{_libexecdir}/syncevo-dbus-server-startup.sh
dc380e5
%{_libexecdir}/syncevo-local-sync
20daefb
%{_datadir}/syncevolution
c352eb1
%{_datadir}/dbus-1/services/org.syncevolution.service
3ecf374
%{_datadir}/man/man1/syncevolution.1.gz
20daefb
%exclude %{_datadir}/syncevolution/xml/*.pl
5be354a
2f2677c
%files libs
2f2677c
%defattr(-,root,root,-)
6f8f2f1
%doc COPYING LICENSE.LGPL-21 LICENSE.txt
2f2677c
%{_libdir}/*so.0*
6e0d793
%dir %{_libdir}/syncevolution
db5f597
%{_libdir}/syncevolution/backends
2f2677c
5be354a
%files devel
5be354a
%defattr(-,root,root,-)
c352eb1
%{_includedir}/syncevo
5be354a
%{_includedir}/syncevo-dbus
5be354a
%{_includedir}/synthesis
c352eb1
%{_libdir}/pkgconfig/s*.pc
2eba688
%{_libdir}/*.so
2eba688
%{_libdir}/*.a
224ce86
e11f162
%files gtk
e11f162
%defattr(-,root,root,-)
dc380e5
%{_bindir}/sync-ui
dc380e5
%{_datadir}/applications/sync.desktop
fdd4da2
%{_datadir}/icons/hicolor/48x48/apps/sync.png
e11f162
cce0986
%files perl
cce0986
%defattr(-,root,root,-)
cce0986
%{_bindir}/synccompare
d925a47
%{_datadir}/syncevolution/xml/*.pl
cce0986
224ce86
%changelog
506d171
* Wed Jul 10 2013 Milan Crha <mcrha@redhat.com> - 1.3.99.3-3
506d171
- Rebuild against newer evolution-data-server
506d171
Rex Dieter 9a6ef98
* Fri May 24 2013 Rex Dieter <rdieter@fedoraproject.org> 1.3.99.3-2
Rex Dieter 9a6ef98
- rebuild (libical)
Rex Dieter 9a6ef98
a2848e6
* Mon Mar 18 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.3.99.3-1
a2848e6
- 1.3.99.3 devel release
a2848e6
f9886c3
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.3.2-3
f9886c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f9886c3
1ae1e38
* Tue Dec 25 2012 Bruno Wolff III <bruno@wolff.to> - 1:1.3.2-2
1ae1e38
- Rebuild for libcamel soname bump
1ae1e38
db21dd2
* Sat Dec  1 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1:1.3.2-1
db21dd2
- 1.3.2 stable release
db21dd2
- Drop old dependencies and force build against gtk3
fdd4da2
- Update icon cache for desktop icon
fdd4da2
fc94ace
* Tue Nov 20 2012 Milan Crha <mcrha@redhat.com> - 1:1.3.1-4
fc94ace
- Rebuild against newer evolution-data-server
fc94ace
cf1e1d0
* Thu Oct 25 2012 Milan Crha <mcrha@redhat.com> - 1:1.3.1-3
cf1e1d0
- Rebuild against newer evolution-data-server
db21dd2
df3546b
* Sat Oct 20 2012 Peter Robinson <pbrobinson@fedoraproject.org>	1:1.3.1-2
a7f25e8
- Fix desktop file, enable DAV
df3546b
4ce1aa2
* Mon Oct  8 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1:1.3.1-1
4ce1aa2
- 1.3.1 stable release
4ce1aa2
3a31f32
* Tue Sep 18 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.3-2
3a31f32
- Add patch to fix build detecting gio
3a31f32
0382d59
* Mon Sep 17 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.3-1
0382d59
- 1.3 stable release
0382d59
20f4336
* Wed Aug  8 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2.99.4-1
20f4336
- Update to 1.2.99.4 devel release
20f4336
dc380e5
* Sat Jul 28 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2.99.3-1
dc380e5
- Update to 1.2.99.3 devel release
dc380e5
- Drop MeeGo sub package
dc380e5
- Drop gdbus patch as it's now fixed upstream
dc380e5
b18c1a3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.2-4
b18c1a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b18c1a3
b036b1c
* Wed May 02 2012 Milan Crha <mcrha@redhat.com> - 1:1.2.2-3
b036b1c
- Rebuild against newer evolution-data-server
b036b1c
4cf2ac0
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.2-2
4cf2ac0
- Rebuild against PCRE 8.30
4cf2ac0
17ccd42
* Tue Jan 17 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2.2-1
17ccd42
- 1.2.2 stable release
17ccd42
e206c72
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-2
e206c72
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e206c72
4b13b5e
* Mon Nov 28 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2.1-1
4b13b5e
- 1.2.1 stable release
b4fe144
- Add patch to build it (help from Patrick Ohly)
4b13b5e
c8b8460
* Tue Nov 22 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2-3
c8b8460
- Rebuild against newer evolution-data-server
c8b8460
60f5cc8
* Sun Oct 30 2011 Bruno Wolff III <bruno@wolff.to> - 1:1.2-2
60f5cc8
- Rebuild against newer evolution-data-server
60f5cc8
d1bd767
* Mon Oct 17 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2-1
d1bd767
- 1.2 stable release
d1bd767
20daefb
* Thu Oct 13 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.7-2
20daefb
- Own syncevolution directory - fixes RHBZ 744929
20daefb
6337163
* Fri Sep 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.7-1
6337163
- update to 1.1.99.7
6337163
2e47b05
* Tue Aug 30 2011 Milan Crha <mcrha@redhat.com> - 1:1.1.99.6-3
2e47b05
- Sync version with f16 branch
2e47b05
a252d7f
* Mon Aug 29 2011 Milan Crha <mcrha@redhat.com> - 1:1.1.99.6-2
a252d7f
- Rebuild against newer evolution-data-server
a252d7f
2eba688
* Thu Aug 18 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.6-1
2eba688
- update to 1.1.99.6
2eba688
- Add static libs to devel as they are needed for dev :-/ Fixes # 715131
2eba688
8ebdb51
* Tue Aug 16 2011 Milan Crha <mcrha@redhat.com> - 1:1.1.99.5a-3
8ebdb51
- Rebuild against newer evolution-data-server
8ebdb51
aefdd3d
* Sun Jul 24 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.5a-2
a84a9b9
- Rebuild against newer evolution-data-server
a84a9b9
2eba688
* Fri Jul 15 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.5a-1
23945d4
- Update to 1.1.99.5a devel release
23945d4
2504311
* Thu Jun 16 2011 Milan Crha <mcrha@redhat.com> 1:1.1.99.4-3
2504311
- Rebuild against newer evolution-data-server
2504311
Kalev Lember 34a2513
* Fri May 20 2011 Kalev Lember <kalev@smartlink.ee> - 1:1.1.99.4-2
Kalev Lember 34a2513
- Rebuilt for libcamel soname bump
Kalev Lember 34a2513
2eba688
* Thu Apr 28 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.4-1
a12038a
- Update to 1.1.99.4 devel release
a12038a
930931c
* Thu Mar 3 2011 Adam Williamson <awilliam@redhat.com> - 1:1.1.1-6
930931c
- build the private libgdbus statically again for now to avoid crasher
930931c
8d710a5
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1.1-5
8d710a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8d710a5
c3bfa1c
* Thu Feb  3 2011 Dan Horák <dan[at]danny.cz> 1:1.1.1-4
c3bfa1c
- fix build on s390 where size_t != unsigned int
c3bfa1c
6841894
* Tue Feb  1 2011 Dan Horák <dan[at]danny.cz> 1:1.1.1-3
6841894
- fix build with gcc 4.6
6841894
- disable bluetooth on s390(x)
6841894
0969246
* Wed Jan 12 2011 Milan Crha <mcrha@redhat.com> 1:1.1.1-2
0969246
- Rebuild against newer evolution-data-server
0969246
2eba688
* Sun Dec 26 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.1-1
3ecf374
- Update to 1.1.1 stable release
3ecf374
f9d34b0
* Tue Dec 14 2010 Adam Williamson <awilliam@redhat.com> - 1:1.1-4
f9d34b0
- really fix the obsolete
f9d34b0
2eba688
* Sun Dec  5 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1-3
b589670
- Update deps and other spec bits
b589670
425cfd6
* Wed Nov 24 2010 Adam Williamson <awilliam@redhat.com> - 1:1.1-2
425cfd6
- add libnotify07 patch to build against libnotify 0.7
425cfd6
2eba688
* Tue Oct 26 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1-1
75b9c85
- Update to 1.1 stable release
75b9c85
2eba688
* Sat Oct 16 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.7-2
53f25ee
- Bump build, rename moblin subpackage to meego
53f25ee
2eba688
* Fri Oct  1 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.7-1
5edbadf
- Update to 1.0.99.7 devel release
5edbadf
Jesse Keating 547b3dc
* Wed Sep 29 2010 jkeating - 1:1.0.99.6-3
Jesse Keating 547b3dc
- Rebuilt for gcc bug 634757
Jesse Keating 547b3dc
2eba688
* Tue Sep 21 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.6-2
d99b7b5
- Enable bluetooth support. Fixes RHBZ # 612000
d99b7b5
2eba688
* Tue Sep 14 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.6-1
6e0d793
- Update to 1.0.99.6 devel release
6e0d793
2eba688
ntteo centra Sat Aug  7 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-5
5edc1bb
- fix the binary name in the desktop file
5edc1bb
2eba688
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-4
3bcde59
- And twice more with feeling
3bcde59
2eba688
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-3
b92a2a3
- And once more with feeling
b92a2a3
2eba688
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-2
1344b59
- Add patch to fix linking against libnotify and gtk-2.0 (thanks hadess)
14475d9
2eba688
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-1
349fc4c
- Update to new 1.0.1 stable release
349fc4c
2eba688
* Mon Jul 12 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0-2
6f8f2f1
- Move license to libs
6f8f2f1
2eba688
* Sun Jun 20 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0-1
f67054e
- Add epoch to fix upgrades
f67054e
2eba688
* Sat Jun 19 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0-1
2f2677c
- Update to new 1.0.0 stable release, split out libs
2f2677c
2eba688
* Wed May 26 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta3-2
c1c4a7d
- Bump build for new evolution
c1c4a7d
2eba688
* Tue May  4 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta3-2
8fcc993
- Fix file moves and additions
8fcc993
2eba688
* Wed Apr 21 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta3-1
c2b2217
- Update to 1.0.0 beta 3
c2b2217
2eba688
* Wed Jan 27 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta1-1
c2b2217
- Update to 1.0.0 beta 1
c2b2217
2eba688
* Thu Dec  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.2+1.0alpha1-1
c352eb1
- Update to 1.0.0 alpha 1
c352eb1
2eba688
* Tue Nov 17 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9-3
cce0986
- Spec updates, split perl utils into sub-package
cce0986
2eba688
* Fri Oct 16 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9-2
e11f162
- Enable the gtk and moblin guis
e11f162
dec58ab
* Fri Sep 25 2009 Matěj Cepl <mcepl@redhat.com> - 0.9-1
dec58ab
- New upstream release.
dec58ab
1b4b782
* Wed Aug  5 2009 Matěj Cepl <mcepl@redhat.com> - 0.8.1+0.9+beta3+20090723-1.0.3
1b4b782
- missing BuildRequires
1b4b782
0c364a2
* Wed Aug  5 2009 Stepan Kasal <skasal@redhat.com> - 0.8.1+0.9+beta3+20090723-1.0.2
0c364a2
- fixing autoconfigury; now it fails in a later stage of build ;-)
0c364a2
5be354a
* Wed Aug  5 2009 Matěj Cepl <mcepl@redhat.com> - 0.8.1+0.9+beta3+20090723-1.0.1
5be354a
- fixing rpath, currently FTBFS!!!
5be354a
c299361
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1a-2
c299361
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c299361
1e7d77b
* Mon Mar 23 2009 Matej Cepl <mcepl@redhat.com> 0.8.1a-1
1e7d77b
- New upstream release.
1062a11
- make a fix for one #elif which should be #else
1e7d77b
2f04ca2
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-5
2f04ca2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2f04ca2
2a6e5a0
* Mon Oct  6 2008 Alex Lancaster <alexlan[AT] fedoraproject.org> - 0.7-4
2a6e5a0
- Rebuild against new libcppunit to fix broken deps
2a6e5a0
8c3c7e1
* Fri Aug 01 2008 Matěj Cepl <mcepl@redhat.com> 0.7-3
8c3c7e1
- Bump the release to fix broken update path for Rawhide
8c3c7e1
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
aefdd3d
* Fri 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