f67054
Summary:       SyncML client for evolution
f67054
Name:          syncevolution
17ccd4
Version:       1.2.2
b18c1a
Release:       4%{?dist}
684189
Epoch:         1
f67054
License:       LGPLv2+
f67054
Group:         Applications/Productivity
f67054
URL:           http://syncevolution.org/
3ecf37
Source:        http://downloads.syncevolution.org/%{name}/sources/%{name}-%{version}.tar.gz
930931
# link statically against internal libgdbus to avoid crashing
930931
# basically re-apply upstream ec7eb74366a9d1b2d5390c75a8ab2716d579e0cc
930931
# which was reverted (prematurely) - AdamW 2011/03
930931
# https://bugzilla.redhat.com/show_bug.cgi?id=640750
2eba68
Patch1:	       syncevolution-1.1.1-gdbus_static.patch
5be354
d99b7b
BuildRequires: bluez-libs-devel
5be354
BuildRequires: boost-devel
224ce8
BuildRequires: cppunit-devel
5be354
BuildRequires: evolution-data-server-devel
5be354
BuildRequires: expat-devel
5be354
BuildRequires: glib2-devel
d99b7b
BuildRequires: gnome-keyring-devel
e11f16
BuildRequires: gtk2-devel
1b4b78
BuildRequires: libcurl-devel
d99b7b
BuildRequires: libical-devel
d925a4
BuildRequires: libmx-devel
d925a4
BuildRequires: libnotify-devel
d99b7b
BuildRequires: libsoup-devel
d99b7b
BuildRequires: pcre-devel
3ecf37
BuildRequires: python-docutils
d925a4
BuildRequires: unique-devel
a12038
%ifnarch s390 s390x
a12038
BuildRequires: openobex-devel
a12038
%endif
d99b7b
e11f16
BuildRequires: desktop-file-utils
e11f16
BuildRequires: intltool
e11f16
BuildRequires: gettext
e11f16
BuildRequires: libtool
224ce8
2f2677
Requires: python-twisted-web
2f2677
224ce8
%description
224ce8
syncevolution is designed to provide a SyncML client that can
224ce8
connect to and sync with various SyncML-based servers
224ce8
2f2677
%package libs
2f2677
Summary: Library package for %{name}
2f2677
Group: System Environment/Libraries
2f2677
2f2677
%description libs
2f2677
Libraries for %{name}.
2f2677
5be354
%package devel
5be354
Summary: Development package for %{name}
5be354
Group: Development/Libraries
f67054
Requires: %{name} = %{epoch}:%{version}-%{release}
5be354
Requires: pkgconfig
5be354
5be354
%description devel
5be354
Files for development with %{name}.
5be354
e11f16
%package gtk
e11f16
Summary: GTK+ GUI for %{name}
cce098
Group: Applications/Productivity
f67054
Requires: %{name} = %{epoch}:%{version}-%{release}
e11f16
e11f16
%description gtk
e11f16
GTK+ GUI for use with %{name}.
e11f16
53f25e
%package meego
53f25e
Summary: MeeGo GUI for %{name}
cce098
Group: Applications/Productivity
f67054
Requires: %{name} = %{epoch}:%{version}-%{release}
f9d34b
Obsoletes: syncevolution-moblin < 1:1.1
53f25e
Provides: %{name}-moblin = %{version}
e11f16
53f25e
%description meego
53f25e
MeeGo GUI for use with %{name}.
e11f16
cce098
%package perl
cce098
Summary: Perl utils for %{name}
cce098
Group: Development/Libraries
f67054
Requires: %{name} = %{epoch}:%{version}-%{release}
cce098
cce098
%description perl
cce098
Perl utils for use with %{name}.
cce098
224ce8
%prep
224ce8
%setup -q
a12038
%patch1 -p1 -b .gdbus
25bfab
0c364a
# use the ac macros in Makefile.am
0c364a
sed -i '/^ACLOCAL_AMFLAGS/{ /m4-repo/!s/$/ -I m4-repo/ }' Makefile*.am
224ce8
224ce8
%build
5be354
intltoolize --automake --copy --force
0c364a
autoreconf -fiv
b4fe14
./autogen.sh
b4fe14
(cd src/synthesis && autoreconf -fi && ./autogen.sh)
25bfab
14475d
%configure --enable-libsoup --enable-dbus-service --enable-shared \
684189
    --with-expat=system --disable-static --enable-gui=all \
684189
%ifnarch s390 s390x
684189
    --enable-bluetooth
684189
%else
684189
    --disable-bluetooth
684189
%endif
0c364a
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g
0c364a
	s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
25bfab
e11f16
make %{?_smp_mflags} V=1
1e7d77
find . -type d -perm 02755 -exec chmod 0755 '{}' \;
224ce8
224ce8
%install
2eba68
make install DESTDIR=%{buildroot} docdir=%{_docdir}
2eba68
rm -rf %{buildroot}%{_datadir}/doc
5be354
2eba68
#Remove libtool archives
2eba68
find %{buildroot} -name '*.la' -exec rm -f {} ';'
224ce8
e11f16
%find_lang %{name}
e11f16
6e0d79
# fix the in the desktop files
5edc1b
sed -i 's/sync-ui/sync-ui-gtk/' %{buildroot}/%{_datadir}/applications/sync-gtk.desktop
5edc1b
sed -i 's/sync-ui/sync-ui-moblin/' %{buildroot}/%{_datadir}/applications/sync-moblin.desktop
fb0c88
# sed -i 's#Categories=Office;PDA;GTK#Categories=Office;PDA;GTK;#' %{buildroot}/%{_datadir}/applications/sync-gtk.desktop
5edc1b
e11f16
desktop-file-validate %{buildroot}/%{_datadir}/applications/sync-gtk.desktop
e11f16
desktop-file-validate %{buildroot}/%{_datadir}/applications/sync-moblin.desktop
e11f16
25bfab
%post -p /sbin/ldconfig
25bfab
25bfab
%postun -p /sbin/ldconfig
25bfab
e11f16
%files -f %{name}.lang
224ce8
%defattr(-,root,root,-)
6a13fb
%doc AUTHORS NEWS README HACKING README.html README.rst
d925a4
%{_sysconfdir}/xdg/autostart/syncevo-dbus-server.desktop
e11f16
%{_bindir}/syncevolution
d925a4
%{_bindir}/syncevo-http-server
d925a4
%{_bindir}/syncevo-phone-config
a12038
%{_bindir}/syncevo-webdav-lookup
5be354
%{_libexecdir}/syncevo-dbus-server
d925a4
%{_libexecdir}/syncevo-dbus-server-startup.sh
20daef
%{_datadir}/syncevolution
c352eb
%{_datadir}/dbus-1/services/org.syncevolution.service
3ecf37
%{_datadir}/man/man1/syncevolution.1.gz
20daef
%{_datadir}/icons/hicolor/48x48/apps/sync.png
20daef
%exclude %{_datadir}/syncevolution/xml/*.pl
5be354
2f2677
%files libs
2f2677
%defattr(-,root,root,-)
6f8f2f
%doc COPYING LICENSE.LGPL-21 LICENSE.txt
2f2677
%{_libdir}/*so.0*
6e0d79
%dir %{_libdir}/syncevolution
db5f59
%{_libdir}/syncevolution/backends
2f2677
5be354
%files devel
5be354
%defattr(-,root,root,-)
c352eb
%{_includedir}/syncevo
5be354
%{_includedir}/syncevo-dbus
5be354
%{_includedir}/synthesis
c352eb
%{_libdir}/pkgconfig/s*.pc
2eba68
%{_libdir}/*.so
2eba68
%{_libdir}/*.a
224ce8
e11f16
%files gtk
e11f16
%defattr(-,root,root,-)
e11f16
%{_bindir}/sync-ui-gtk
e11f16
%{_datadir}/applications/sync-gtk.desktop
e11f16
53f25e
%files meego
e11f16
%defattr(-,root,root,-)
e11f16
%{_bindir}/sync-ui-moblin
e11f16
%{_datadir}/applications/sync-moblin.desktop
e11f16
cce098
%files perl
cce098
%defattr(-,root,root,-)
cce098
%{_bindir}/synccompare
d925a4
%{_datadir}/syncevolution/xml/*.pl
cce098
224ce8
%changelog
b18c1a
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.2-4
b18c1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b18c1a
b036b1
* Wed May 02 2012 Milan Crha <mcrha@redhat.com> - 1:1.2.2-3
b036b1
- Rebuild against newer evolution-data-server
b036b1
4cf2ac
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1:1.2.2-2
4cf2ac
- Rebuild against PCRE 8.30
4cf2ac
17ccd4
* Tue Jan 17 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2.2-1
17ccd4
- 1.2.2 stable release
17ccd4
e206c7
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.2.1-2
e206c7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e206c7
4b13b5
* Mon Nov 28 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2.1-1
4b13b5
- 1.2.1 stable release
b4fe14
- Add patch to build it (help from Patrick Ohly)
4b13b5
c8b846
* Tue Nov 22 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2-3
c8b846
- Rebuild against newer evolution-data-server
c8b846
60f5cc
* Sun Oct 30 2011 Bruno Wolff III <bruno@wolff.to> - 1:1.2-2
60f5cc
- Rebuild against newer evolution-data-server
60f5cc
d1bd76
* Mon Oct 17 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.2-1
d1bd76
- 1.2 stable release
d1bd76
20daef
* Thu Oct 13 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.7-2
20daef
- Own syncevolution directory - fixes RHBZ 744929
20daef
633716
* Fri Sep 16 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.7-1
633716
- update to 1.1.99.7
633716
2e47b0
* Tue Aug 30 2011 Milan Crha <mcrha@redhat.com> - 1:1.1.99.6-3
2e47b0
- Sync version with f16 branch
2e47b0
a252d7
* Mon Aug 29 2011 Milan Crha <mcrha@redhat.com> - 1:1.1.99.6-2
a252d7
- Rebuild against newer evolution-data-server
a252d7
2eba68
* Thu Aug 18 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.6-1
2eba68
- update to 1.1.99.6
2eba68
- Add static libs to devel as they are needed for dev :-/ Fixes # 715131
2eba68
8ebdb5
* Tue Aug 16 2011 Milan Crha <mcrha@redhat.com> - 1:1.1.99.5a-3
8ebdb5
- Rebuild against newer evolution-data-server
8ebdb5
2eba68
* Sun Jul 23 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.5a-2
a84a9b
- Rebuild against newer evolution-data-server
a84a9b
2eba68
* Fri Jul 15 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.5a-1
23945d
- Update to 1.1.99.5a devel release
23945d
250431
* Thu Jun 16 2011 Milan Crha <mcrha@redhat.com> 1:1.1.99.4-3
250431
- Rebuild against newer evolution-data-server
250431
Kalev Lember 34a251
* Fri May 20 2011 Kalev Lember <kalev@smartlink.ee> - 1:1.1.99.4-2
Kalev Lember 34a251
- Rebuilt for libcamel soname bump
Kalev Lember 34a251
2eba68
* Thu Apr 28 2011 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.99.4-1
a12038
- Update to 1.1.99.4 devel release
a12038
930931
* Thu Mar 3 2011 Adam Williamson <awilliam@redhat.com> - 1:1.1.1-6
930931
- build the private libgdbus statically again for now to avoid crasher
930931
8d710a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:1.1.1-5
8d710a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8d710a
c3bfa1
* Thu Feb  3 2011 Dan Horák <dan[at]danny.cz> 1:1.1.1-4
c3bfa1
- fix build on s390 where size_t != unsigned int
c3bfa1
684189
* Tue Feb  1 2011 Dan Horák <dan[at]danny.cz> 1:1.1.1-3
684189
- fix build with gcc 4.6
684189
- disable bluetooth on s390(x)
684189
096924
* Wed Jan 12 2011 Milan Crha <mcrha@redhat.com> 1:1.1.1-2
096924
- Rebuild against newer evolution-data-server
096924
2eba68
* Sun Dec 26 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1.1-1
3ecf37
- Update to 1.1.1 stable release
3ecf37
f9d34b
* Tue Dec 14 2010 Adam Williamson <awilliam@redhat.com> - 1:1.1-4
f9d34b
- really fix the obsolete
f9d34b
2eba68
* Sun Dec  5 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1-3
b58967
- Update deps and other spec bits
b58967
425cfd
* Wed Nov 24 2010 Adam Williamson <awilliam@redhat.com> - 1:1.1-2
425cfd
- add libnotify07 patch to build against libnotify 0.7
425cfd
2eba68
* Tue Oct 26 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.1-1
75b9c8
- Update to 1.1 stable release
75b9c8
2eba68
* Sat Oct 16 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.7-2
53f25e
- Bump build, rename moblin subpackage to meego
53f25e
2eba68
* Fri Oct  1 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.7-1
5edbad
- Update to 1.0.99.7 devel release
5edbad
Jesse Keating 547b3d
* Wed Sep 29 2010 jkeating - 1:1.0.99.6-3
Jesse Keating 547b3d
- Rebuilt for gcc bug 634757
Jesse Keating 547b3d
2eba68
* Tue Sep 21 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.6-2
d99b7b
- Enable bluetooth support. Fixes RHBZ # 612000
d99b7b
2eba68
* Tue Sep 14 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.99.6-1
6e0d79
- Update to 1.0.99.6 devel release
6e0d79
2eba68
ntteo centra Sat Aug  7 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-5
5edc1b
- fix the binary name in the desktop file
5edc1b
2eba68
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-4
3bcde5
- And twice more with feeling
3bcde5
2eba68
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-3
b92a2a
- And once more with feeling
b92a2a
2eba68
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-2
1344b5
- Add patch to fix linking against libnotify and gtk-2.0 (thanks hadess)
14475d
2eba68
* Fri Jul 23 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0.1-1
349fc4
- Update to new 1.0.1 stable release
349fc4
2eba68
* Mon Jul 12 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0-2
6f8f2f
- Move license to libs
6f8f2f
2eba68
* Sun Jun 20 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1:1.0-1
f67054
- Add epoch to fix upgrades
f67054
2eba68
* Sat Jun 19 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0-1
2f2677
- Update to new 1.0.0 stable release, split out libs
2f2677
2eba68
* Wed May 26 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta3-2
c1c4a7
- Bump build for new evolution
c1c4a7
2eba68
* Tue May  4 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta3-2
8fcc99
- Fix file moves and additions
8fcc99
2eba68
* Wed Apr 21 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta3-1
c2b221
- Update to 1.0.0 beta 3
c2b221
2eba68
* Wed Jan 27 2010 Peter Robinson <pbrobinson@fedoraproject.org> - 1.0beta1-1
c2b221
- Update to 1.0.0 beta 1
c2b221
2eba68
* Thu Dec  3 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9.2+1.0alpha1-1
c352eb
- Update to 1.0.0 alpha 1
c352eb
2eba68
* Tue Nov 17 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9-3
cce098
- Spec updates, split perl utils into sub-package
cce098
2eba68
* Fri Oct 16 2009 Peter Robinson <pbrobinson@fedoraproject.org> - 0.9-2
e11f16
- Enable the gtk and moblin guis
e11f16
dec58a
* Fri Sep 25 2009 Matěj Cepl <mcepl@redhat.com> - 0.9-1
dec58a
- New upstream release.
dec58a
1b4b78
* Wed Aug  5 2009 Matěj Cepl <mcepl@redhat.com> - 0.8.1+0.9+beta3+20090723-1.0.3
1b4b78
- missing BuildRequires
1b4b78
0c364a
* Wed Aug  5 2009 Stepan Kasal <skasal@redhat.com> - 0.8.1+0.9+beta3+20090723-1.0.2
0c364a
- fixing autoconfigury; now it fails in a later stage of build ;-)
0c364a
5be354
* Wed Aug  5 2009 Matěj Cepl <mcepl@redhat.com> - 0.8.1+0.9+beta3+20090723-1.0.1
5be354
- fixing rpath, currently FTBFS!!!
5be354
c29936
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1a-2
c29936
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c29936
1e7d77
* Mon Mar 23 2009 Matej Cepl <mcepl@redhat.com> 0.8.1a-1
1e7d77
- New upstream release.
1062a1
- make a fix for one #elif which should be #else
1e7d77
2f04ca
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-5
2f04ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2f04ca
2a6e5a
* Mon Oct  6 2008 Alex Lancaster <alexlan[at] fedoraproject.org=""> - 0.7-4
2a6e5a
- Rebuild against new libcppunit to fix broken deps
2a6e5a
8c3c7e
* Fri Aug 01 2008 Matěj Cepl <mcepl@redhat.com> 0.7-3
8c3c7e
- Bump the release to fix broken update path for Rawhide
8c3c7e
5729c9
* Fri Feb 15 2008 Matěj Cepl <mcepl@redhat.com> 0.7-2
5729c9
- Add #include <memory> to syncevolution.cpp according
5729c9
  to https://sourceforge.net/tracker/\
5729c9
  ?func=detail&atid=764733&aid=1893582&group_id=146288
f2c4af
fb6274
* Wed Feb 13 2008 Matěj Cepl <mcepl@redhat.com> 0.7-1
fb6274
- New upstream version.
fb6274
224ce8
* Mon Oct 15 2007 matej <mcepl@redhat.com> 0.6-2
224ce8
- updated SPEC to make the package approved for the Fedora
224ce8
  review process.
224ce8
224ce8
* Sun Oct 12 2007 Matěj Cepl <mcepl@redhat.com> 0.6-1
224ce8
- Fixing .spec -- use make install and others
224ce8
- Install also configuration templates to %%docs
224ce8
224ce8
* Sun Sep 30 2007 Matěj Cepl <mcepl@redhat.com> 0.6-0
224ce8
- Experimental build from upstream source.
224ce8
224ce8
* Tue Jan 16 2007 Richard Monk <rmonk@redhat.com> 0.5-1
224ce8
- Inital packaging