Репозитории ALT
Последнее обновление в Сб, 06 июня 2020, 00:50:49 +0000 | Пакетов: 12913
en ru
Исходные пакеты в ветвях
свернуть окно
  • 1.3.99.3-alt1.M70C.1
  • 1.3.99.3-alt1.M70C.1
  • 1.3.99.3-alt1
  • 1.3.99.3-alt1
  • 1.1.1-alt1.M60P.1
  • 1.1.1-alt1.M60P.1
Группа :: Офис
Исходный пакет: syncevolution
Необработанный spec-файл

%define ver_major 1.1
%define libsynthesis_ver 3.4.0.16
%define _libexecdir %_prefix/libexec

%def_enable libsoup
%def_enable libcurl
# requires updated xmlprc-c compiled with --enable-cplusplus (libxmlrpc++-devel)

%def_disable xmlrpc
%def_enable bluetooth
%def_enable gnome_bluetooth
%def_enable gnome_keyring
# experimental now

%def_disable sqlite

Name: syncevolution
Version: %ver_major.1
Release: alt1.M60P.1
Summary: SyncEvolution synchronizes personal information management (PIM) data like contacts, calenders, tasks and memos

Group: Office
License: GPLv2
Url: http://%name.org/
Packager: GNOME Maintainers Team <gnome@packages.altlinux.org>

Source: %name-%version.tar
Source2: libsynthesis-%libsynthesis_ver.tar

Requires: %name-libs = %version-%release
Requires: ca-certificates

BuildRequires: boost-devel db2latex-xsl evolution-data-server-devel gcc-c++ intltool libexpat-devel zlib-devel
BuildRequires: libglade-devel libnotify-devel libopenobex-devel libdbus-devel libdbus-glib-devel
BuildRequires: libpcre-devel libunique-devel python-module-PyXML python-modules-encodings xsltproc
%{?_enable_libsoup:BuildRequires: libsoup-gnome-devel}
%{?_enable_libcurl:BuildRequires: libcurl-devel}
%{?_enable_bluetooth:BuildRequires: libbluez-devel}
%{?_enable_gnome_bluetooth:BuildRequires: libgnome-bluetooth-devel}
%{?_enable_gnome_keyring:BuildRequires: libgnome-keyring-devel}
%{?_enable_xmlrpc:BuildRequires: libxmlrpc++-devel}
%{?_enable_sqlite:BuildRequires: libsqlite3-devel}


%description
SyncEvolution synchronizes personal information management (PIM) data
such as contacts, appointments, tasks and memos using the Synthesis sync
engine, which provides support for the SyncML synchronization protocol.
SyncEvolution synchronizes with SyncML servers over HTTP and with SyncML
capable phones locally over Bluetooth. Plugins provide access to the
data which is to be synchronized.

%package libs
Summary: GTK gui for SyncEvolution
Group: System/Libraries

%description libs
SyncEvolution synchronizes personal information management (PIM) data
such as contacts, appointments, tasks and memos using the Synthesis sync
engine, which provides support for the SyncML synchronization protocol.
SyncEvolution synchronizes with SyncML servers over HTTP and with SyncML
capable phones locally over Bluetooth. Plugins provide access to the
data which is to be synchronized.

This package provides shared libraries needed for SyncEvolution to work.

%package ui-gtk
Summary: GTK gui for SyncEvolution
Group: Office
Requires: %name = %version-%release

%description ui-gtk
SyncEvolution synchronizes personal information management (PIM) data
such as contacts, appointments, tasks and memos using the Synthesis sync
engine, which provides support for the SyncML synchronization protocol.
SyncEvolution synchronizes with SyncML servers over HTTP and with SyncML
capable phones locally over Bluetooth. Plugins provide access to the
data which is to be synchronized.

This package provides GTK gui for SyncEvolution.

%package devel
Summary: Development files for SyncEvolution
Group: System/Libraries
Requires: %name-libs = %version-%release

%description devel
SyncEvolution synchronizes personal information management (PIM) data
such as contacts, appointments, tasks and memos using the Synthesis sync
engine, which provides support for the SyncML synchronization protocol.
SyncEvolution synchronizes with SyncML servers over HTTP and with SyncML
capable phones locally over Bluetooth. Plugins provide access to the
data which is to be synchronized.

This package provides headers and libraries needed for development
SyncEvolution plugins.

%define pkgdocdir %_docdir/%name-%version

%prep
%setup -q -a2
sed -i '/^ACLOCAL_AMFLAGS/{ /m4-repo/!s/$/ -I m4-repo/ }' Makefile*.am
touch -r Makefile-gen.am Makefile.am

%build
./autogen.sh
pushd libsynthesis-%libsynthesis_ver
mkdir m4
./autogen.sh
popd

export LDFLAGS="$LDFLAGS -ldl"
%configure \
--enable-shared \
--disable-static \
--with-synthesis-src=libsynthesis-%libsynthesis_ver \
--enable-dbus-service \
--enable-gui=gtk \
%{subst_enable libsoup} \
%{subst_enable libcurl} \
%{subst_enable xmlrpc} \
%{subst_enable sqlite} \
%{subst_enable bluetooth} \
%{?_enable_gnome_keyring:--enable-gnome-keyring} \
%{?_enable_gnome_bluetooth:--enable-gnome-bluetooth-panel-plugin} \
--with-ca-certificates=%_datadir/ca-certificates/ca-bundle.crt \
--docdir=%pkgdocdir

%make_build

%install
%make_install install DESTDIR=%buildroot

install -p -m 644 HACKING AUTHORS ChangeLog %buildroot/%pkgdocdir/
rm -f %buildroot%_libdir/*.{a,la}
rm -f %buildroot%_libdir/*/*.{a,la}
rm -f %buildroot%_libdir/*/*/*.{a,la}

%find_lang %name

%files -f %name.lang
%_bindir/synccompare
%_bindir/%name
%_bindir/syncevo-http-server
%_bindir/syncevo-phone-config
%_libexecdir/syncevo-dbus-server
%_libexecdir/syncevo-dbus-server-startup.sh
%dir %_libdir/%name
%_libdir/%name/libgdbus.so.*
# some backends not linked properly, test needed

%_libdir/%name/backends
%_libdir/gnome-bluetooth/plugins/libgbt%name.so
%_datadir/%name

%exclude %_datadir/%name/sync-*
%exclude %_datadir/%name/ui.xml

%_datadir/dbus-1/services/org.%name.service
%_sysconfdir/xdg/autostart/syncevo-dbus-server.desktop
%doc %pkgdocdir/

%files libs
%_libdir/*.so.*

%files devel
%_includedir/syncevo
%_includedir/syncevo-dbus
%_includedir/synthesis
%_libdir/*.so
%_pkgconfigdir/*

%files ui-gtk
%_bindir/sync-ui
%_datadir/%name/sync-*
%_datadir/%name/ui.xml
%_datadir/applications/sync.desktop
%_iconsdir/hicolor/48x48/apps/sync.png

%exclude %_libdir/%name/libgdbus.so

%changelog
* Sun Dec 30 2012 Andrey Cherepanov <cas at altlinux.org> 1.1.1-alt1.M60P.1
- Rebuild with new version of libopenobex

* Wed Apr 13 2011 Alexey Shabalin <shaba at altlinux.ru> 1.1.1-alt1
- 1.1.1a

* Fri Oct 08 2010 Alexey Shabalin <shaba at altlinux.ru> 1.0.99.7-alt1
- 1.0.99.7
- define _libexecdir as /usr/libexec

* Wed Jun 23 2010 Yuri N. Sedunov <aris at altlinux.org> 1.0-alt3
- specified location of system CA certificates

* Mon Jun 21 2010 Yuri N. Sedunov <aris at altlinux.org> 1.0-alt2
- rebuild against libedataserver-1.2.so.13 (e-d-s-2.30.2)

* Thu Jun 17 2010 Yuri N. Sedunov <aris at altlinux.org> 1.0-alt1
- 1.0
- rewrite spec

* Mon May 25 2009 Lebedev Sergey <barabashka at altlinux.org> 0.8.1-alt2
- fixed build with new toolchain

* Tue Nov 25 2008 Lebedev Sergey <barabashka at altlinux.org> 0.8.1-alt1
- new upstream version

* Tue Aug 05 2008 Lebedev Sergey <barabashka at altlinux.org> 0.7-alt1
- Init build

 
Проект Geyser основан на коде из проекта Prometheus 2.0, который был доступен по лицензии MIT