Name: libopensync Version: 0.36 Release: %mkrel 1 Summary: Multi-platform PIM synchronization framework Source: http://www.opensync.org/download/releases/%version/%name-%version.tar.bz2 Patch1: libopensync-0.35-fix-python-wrapper-build.patch URL: http://www.opensync.org/ License: LGPLv2+ Group: System/Libraries BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: bison BuildRequires: libxml2-devel BuildRequires: chrpath BuildRequires: glib2-devel BuildRequires: sqlite3-devel BuildRequires: pkgconfig BuildRequires: swig BuildRequires: cmake %description OpenSync is a synchronization framework that is platform and distribution independent. It consists of several plugins that can be used to connect to devices, a powerful sync-engine and the framework itself. The synchronization framework is kept very flexible and is capable of synchronizing any type of data, including contacts, calendar, tasks, notes and files. %files %defattr(-,root,root) %{_bindir}/* %{_datadir}/opensync-1.0 #------------------------------------------------------------- %package ipc Summary: OpenSync IPC Plugin Group: System/Libraries Requires: %name = %version-%release %description ipc OpenSync IPC Plugin. %files ipc %defattr(-,root,root) %dir %{_libexecdir}/opensync-1.0 %{_libexecdir}/opensync-1.0/osplugin #------------------------------------------------------------- %define major 1 %define libname %mklibname opensync %major %package -n %{libname} Summary: Dynamic libraries from %name Group: System/Libraries Obsoletes: %mklibname opensync 1.0.0 Requires: %name = %version-%release %description -n %{libname} Dynamic libraries from %name. %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -n %{libname} %defattr(-,root,root) %dir %{_libdir}/opensync-1.0 %{_libdir}/opensync-1.0/formats %{_libdir}/libopensync.so.%{major}* #------------------------------------------------------------- %define develname %mklibname -d opensync %package -n %{develname} Summary: Header files and static libraries from %name Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: opensync-devel = %{version}-%{release} Provides: libopensync-devel = %version-%{release} %description -n %{develname} Libraries and includes files for developing programs based on %name. %files -n %{develname} %defattr(-,root,root) %{_includedir}/opensync-1.0 %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc #------------------------------------------------------------- %package python Summary: Python bindings for %name Group: Development/Python Provides: opensync-python = %version-%release %py_requires -d %description python Python bindings for %name %files python %defattr(-,root,root) %{py_platsitedir}/* #------------------------------------------------------------- %prep %setup -q %patch1 -p0 -b .orig %build %cmake \ -DLIBEXEC_INSTALL_DIR=%{_libexecdir} %make %install rm -rf $RPM_BUILD_ROOT cd build %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %changelog * Mon Jan 28 2008 Funda Wang <fundawang@mandriva.org> 0.36-1mdv2008.1 + Revision: 158951 - fix osplugin location - update to new version 0.36 * Thu Jan 03 2008 Funda Wang <fundawang@mandriva.org> 0.35-2mdv2008.1 + Revision: 141160 - don't obsolete old package * Sun Dec 23 2007 Funda Wang <fundawang@mandriva.org> 0.35-1mdv2008.1 + Revision: 137337 - split out ipc plugin - osplugin should be arch independent - use %%py_platsitedir - New version 0.35 - rediff python-wrapper patch + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sun Nov 04 2007 Funda Wang <fundawang@mandriva.org> 0.34-2mdv2008.1 + Revision: 105820 - Obsoletes old lib - fix obsoletes name * Sun Nov 04 2007 Funda Wang <fundawang@mandriva.org> 0.34-1mdv2008.1 + Revision: 105771 - fix python wrapper building - New major ( 1.0.0 -> 1 ) - New version 0.34 * Mon Oct 22 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.33-5mdv2008.1 + Revision: 101182 - fix upgrading * Sat Oct 20 2007 Funda Wang <fundawang@mandriva.org> 0.33-4mdv2008.1 + Revision: 100598 - build python wrapper * Fri Oct 19 2007 Funda Wang <fundawang@mandriva.org> 0.33-3mdv2008.1 + Revision: 100397 - use our own optflags - add conflicts to ease upgrade - remove useless optflag * Fri Oct 19 2007 Funda Wang <fundawang@mandriva.org> 0.33-2mdv2008.1 + Revision: 100174 - Remove wrong obsoletes * Fri Oct 19 2007 Funda Wang <fundawang@mandriva.org> 0.33-1mdv2008.1 + Revision: 100144 - fix building in x86_64 - fix building - Provides with version - New version 0.33 * Fri Aug 10 2007 Helio Chissini de Castro <helio@mandriva.com> 0.22-4mdv2008.0 + Revision: 61017 - Missing correct provides * Fri Aug 10 2007 Helio Chissini de Castro <helio@mandriva.com> 0.22-3mdv2008.0 + Revision: 60963 - Remove package libopensync. Binaries are moved to libopensync0 - Enable build for engine and removed wrong chrpath - Added proper provides in devel and remove wrong obsoletes and requires - Added missing buildrequires and fixed pyhoen requires with proper macro * Thu Aug 09 2007 Funda Wang <fundawang@mandriva.org> 0.22-2mdv2008.0 + Revision: 60878 - highlight libmajor - Revert to 0.22 due to unsatisfied plugins version - New version 0.31 * Tue Apr 24 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.22-1mdv2008.0 + Revision: 17967 - new version * Sun Nov 12 2006 Buchan Milne <bgmilne@mandriva.org> 0.20-1mdv2007.0 + Revision: 83444 -update to 0.20 -fix python library search in configure on x86_64 -buildrequire swig, required for python binding - Import libopensync * Wed Sep 06 2006 Buchan Milne <bgmilne@mandriva.org> 0.18-6mdv2007.0 - fix python location on x86_64 * Tue Aug 29 2006 Buchan Milne <bgmilne@mandriva.org> 0.18-5mdv2007.0 - buildrequires * Tue Aug 29 2006 Buchan Milne <bgmilne@mandriva.org> 0.18-4mdv2007.0 - rebuild * Sat Dec 03 2005 Austin Acton <austin@mandriva.org> 0.18-3mdk - lib64 fix * Tue Nov 29 2005 Austin Acton <austin@mandriva.org> 0.18-2mdk - fix provides * Fri Nov 25 2005 Austin Acton <austin@mandriva.org> 0.18-1mdk - initial package