f789282
Summary:       SyncML client for evolution
f789282
Name:          syncevolution
1877159
Version:       1.0.1
1877159
Release:       1%{?dist}
f789282
Epoch:         1	
f789282
License:       LGPLv2+
f789282
Group:         Applications/Productivity
f789282
URL:           http://syncevolution.org/
f789282
Source:        http://downloads.syncevolution.org/syncevolution/sources/%{name}-%{version}.tar.gz
1877159
Patch0:        syncevolution-1.0.1-libnotify-link.patch
f789282
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5be354a
5be354a
BuildRequires: boost-devel
224ce86
BuildRequires: cppunit-devel
5be354a
BuildRequires: evolution-data-server-devel
5be354a
BuildRequires: expat-devel
5be354a
BuildRequires: glib2-devel
e11f162
BuildRequires: gtk2-devel
5be354a
BuildRequires: libsoup-devel
5be354a
BuildRequires: libical-devel
5be354a
BuildRequires: pcre-devel
1b4b782
BuildRequires: libcurl-devel
4a0c755
BuildRequires: libmx-devel
4a0c755
BuildRequires: libnotify-devel
1b4b782
BuildRequires: gnome-keyring-devel
4a0c755
BuildRequires: unique-devel
e11f162
BuildRequires: desktop-file-utils
e11f162
BuildRequires: intltool
e11f162
BuildRequires: gettext
e11f162
BuildRequires: libtool
224ce86
249dcdb
Requires: python-twisted-web
249dcdb
224ce86
%description
224ce86
syncevolution is designed to provide a SyncML client that can
224ce86
connect to and sync with various SyncML-based servers
224ce86
249dcdb
%package libs
249dcdb
Summary: Library package for %{name}
249dcdb
Group: System Environment/Libraries
249dcdb
249dcdb
%description libs
249dcdb
Libraries for %{name}.
249dcdb
5be354a
%package devel
5be354a
Summary: Development package for %{name}
5be354a
Group: Development/Libraries
f789282
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
f789282
Requires: %{name} = %{epoch}:%{version}-%{release}
e11f162
e11f162
%description gtk
e11f162
GTK+ GUI for use with %{name}.
e11f162
e11f162
%package moblin
e11f162
Summary: Moblin GUI for %{name}
cce0986
Group: Applications/Productivity
f789282
Requires: %{name} = %{epoch}:%{version}-%{release}
e11f162
e11f162
%description moblin
e11f162
Moblin GUI for use with %{name}.
e11f162
cce0986
%package perl
cce0986
Summary: Perl utils for %{name}
cce0986
Group: Development/Libraries
f789282
Requires: %{name} = %{epoch}:%{version}-%{release}
cce0986
cce0986
%description perl
cce0986
Perl utils for use with %{name}.
cce0986
224ce86
%prep
224ce86
%setup -q
1877159
%patch0 -p1 -b .libnotify-link
0c364a2
# use the ac macros in Makefile.am
0c364a2
sed -i '/^ACLOCAL_AMFLAGS/{ /m4-repo/!s/$/ -I m4-repo/ }' Makefile*.am
0c364a2
touch -r Makefile-gen.am Makefile.am
224ce86
224ce86
%build
5be354a
intltoolize --automake --copy --force
0c364a2
autoreconf -fiv
0c364a2
(cd src/synthesis && mkdir m4 && autoreconf -fi)
1877159
%configure --enable-libsoup --enable-dbus-service --enable-shared \
1877159
    --with-expat=system --disable-static --enable-gui=all
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
e11f162
make %{?_smp_mflags} V=1
1e7d77b
find . -type d -perm 02755 -exec chmod 0755 '{}' \;
224ce86
224ce86
%install
224ce86
rm -rf $RPM_BUILD_ROOT
fb6274b
make install DESTDIR=$RPM_BUILD_ROOT docdir=%{_docdir}
c352eb1
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
5be354a
#rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/%{name}
5be354a
5be354a
#Remove libtool archives and static libs
0c364a2
find %{buildroot} -name '*.la' -o -name '*.a' | xargs rm
224ce86
e11f162
%find_lang %{name}
e11f162
e11f162
desktop-file-validate %{buildroot}/%{_datadir}/applications/sync-gtk.desktop
e11f162
desktop-file-validate %{buildroot}/%{_datadir}/applications/sync-moblin.desktop
e11f162
224ce86
%clean
224ce86
rm -rf $RPM_BUILD_ROOT
224ce86
e11f162
%files -f %{name}.lang
224ce86
%defattr(-,root,root,-)
1877159
%doc AUTHORS NEWS README HACKING
4a0c755
%{_sysconfdir}/xdg/autostart/syncevo-dbus-server.desktop
e11f162
%{_bindir}/syncevolution
4a0c755
%{_bindir}/syncevo-http-server
4a0c755
%{_bindir}/syncevo-phone-config
5be354a
%{_libexecdir}/syncevo-dbus-server
4a0c755
%{_libexecdir}/syncevo-dbus-server-startup.sh
e11f162
%{_datadir}/syncevolution/*.png
4a0c755
%{_datadir}/syncevolution/*.gif
c352eb1
%{_datadir}/syncevolution/templates
4a0c755
%{_datadir}/syncevolution/xml
4a0c755
%exclude %{_datadir}/syncevolution/xml/*.pl
c352eb1
%{_datadir}/icons/hicolor/48x48/apps/sync.png
e11f162
%{_datadir}/syncevolution/sync-ui.rc
c352eb1
%{_datadir}/dbus-1/services/org.syncevolution.service
5be354a
249dcdb
%files libs
249dcdb
%defattr(-,root,root,-)
1877159
%doc COPYING LICENSE.LGPL-21 LICENSE.txt
249dcdb
%{_libdir}/*so.0*
249dcdb
%{_libdir}/syncevolution/backends
249dcdb
5be354a
%files devel
5be354a
%defattr(-,root,root,-)
c352eb1
%{_includedir}/gdbus*
c352eb1
%{_includedir}/syncevo
5be354a
%{_includedir}/syncevo-dbus
5be354a
%{_includedir}/synthesis
c352eb1
%{_libdir}/pkgconfig/s*.pc
5be354a
%{_libdir}/*so
224ce86
e11f162
%files gtk
e11f162
%defattr(-,root,root,-)
e11f162
%{_bindir}/sync-ui-gtk
e11f162
%{_datadir}/applications/sync-gtk.desktop
e11f162
%{_datadir}/syncevolution/ui.xml
e11f162
e11f162
%files moblin
e11f162
%defattr(-,root,root,-)
e11f162
%{_bindir}/sync-ui-moblin
e11f162
%{_datadir}/applications/sync-moblin.desktop
e11f162
cce0986
%files perl
cce0986
%defattr(-,root,root,-)
cce0986
%{_bindir}/synccompare
4a0c755
%{_datadir}/syncevolution/xml/*.pl
cce0986
224ce86
%changelog
1877159
* Fri Jul 23 2010 Peter Robinson <pbrobinson@gmail.com> - 1:1.0.1-1
1877159
- Update to new 1.0.1 stable release
8bfdbe7
1877159
* Mon Jul 12 2010 Peter Robinson <pbrobinson@gmail.com> - 1:1.0-2
1877159
- Move license to libs
1877159
1877159
* Sun Jun 20 2010 Peter Robinson <pbrobinson@gmail.com> - 1:1.0-1
f789282
- Add epoch to fix upgrades
f789282
1877159
* Sat Jun 19 2010 Peter Robinson <pbrobinson@gmail.com> - 1.0-1
249dcdb
- Update to new 1.0.0 stable release, split out libs
249dcdb
249dcdb
* Wed May 26 2010 Peter Robinson <pbrobinson@gmail.com> - 1.0beta3-2
249dcdb
- Bump build for new evolution
249dcdb
1877159
* Tue May  4 2010 Peter Robinson <pbrobinson@gmail.com> - 1.0beta3-2
249dcdb
- Fix file moves and additions
249dcdb
1877159
* Wed Apr 21 2010 Peter Robinson <pbrobinson@gmail.com> - 1.0beta3-1
4a0c755
- Update to 1.0.0 beta 3
4a0c755
1877159
* Wed Jan 27 2010 Peter Robinson <pbrobinson@gmail.com> - 1.0beta1-1
4a0c755
- Update to 1.0.0 beta 1
4a0c755
1877159
* Thu Dec  3 2009 Peter Robinson <pbrobinson@gmail.com> - 0.9.2+1.0alpha1-1
c352eb1
- Update to 1.0.0 alpha 1
c352eb1
1877159
* Tue Nov 17 2009 Peter Robinson <pbrobinson@gmail.com> - 0.9-3
cce0986
- Spec updates, split perl utils into sub-package
cce0986
1877159
* Fri Oct 16 2009 Peter Robinson <pbrobinson@gmail.com> - 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
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