Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
libopensync
libopensync.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libopensync.spec of Package libopensync
# # spec file for package libopensync # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libopensync BuildRequires: glib2-devel libxml2-devel python-devel sqlite3-devel swig BuildRequires: libtool Url: http://www.opensync.org Version: 0.22 Release: 164 Summary: A Platform and Distribution Independent Synchronization Framework License: LGPL-2.1+ Group: Productivity/Other AutoReqProv: on Source: %{name}-%{version}.tar.bz2 Patch0: libopensync-wrapper-wno_uninitialized.diff Patch1: libopensync-fix-vcal-reminder.diff Patch2: libopensync-vformat-infinite-loop.diff Patch3: libopensync-sqlite-buildfix.diff Patch4: libopensync-swig-fix.diff Patch5: libopensync-fixed-unused-variables.diff Patch6: libopensync-swig-2x.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %define prefix /usr %description OpenSync is a synchronization framework that is platform and distribution independent. It consists of several plug-ins 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. To sync various sources, additionally install the plug-ins. Authors: -------- Armin Bauer <armin.bauer@desscon.com> %package devel License: LGPL-2.1+ Summary: Header files, libraries and development documentation for libopensync Group: Development/Libraries/C and C++ Requires: %{name} = %{version} libxml2-devel glib2-devel python-devel sqlite3-devel %description devel This package contains the header files, static libraries and development documentation for libopensync. If you like to develop programs using libopensync, you will need to install this package. Authors: -------- Armin Bauer <armin.bauer@desscon.com> %package tools License: LGPL-2.1+ Summary: Tools for libopensync Group: Productivity/Other Requires: %{name} = %{version} %description tools OpenSync is a synchronization framework that is platform and distribution independent. This package contains some tools needed for testing and debugging it. Authors: -------- Armin Bauer <armin.bauer@desscon.com> %package -n python-opensync License: LGPL-2.1+ Summary: Python bindings for OpenSync Group: Productivity/Other Requires: %name = %version %description -n python-opensync OpenSync is a synchronization framework that is platform and distribution independent. It consists of several plug-ins 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. To sync various sources, additionally install the plug-ins. Authors: -------- Armin Bauer <armin.bauer@desscon.com> %prep %setup -q %patch0 %patch1 %patch2 %patch3 %patch4 -p1 %patch5 -p1 %patch6 %build autoreconf -sif # -fno-strict-aliasing needed for python wrapper CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure --disable-static --with-pic --libexecdir=%{_libdir}/opensync/ --enable-tools --disable-profiling --disable-unit-tests %{__make} %{?jobs:-j%jobs} %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/%_libdir/opensync/plugins mkdir -p $RPM_BUILD_ROOT/%_datadir/opensync/defaults find %{buildroot} -type f -name "*.la" -exec %{__rm} -fv {} + %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-, root, root) %doc AUTHORS COPYING INSTALL NEWS README TODO %{_libdir}/libopensync-xml.so.* %{_libdir}/libopensync.so.* %{_libdir}/libosengine.so.* %dir %{_libdir}/opensync %dir %{_libdir}/opensync/formats %dir %{_libdir}/opensync/plugins %{_libdir}/opensync/osplugin %{_libdir}/opensync/formats/*.so %dir %{_datadir}/opensync %dir %{_datadir}/opensync/defaults %files -n python-opensync %defattr(-, root, root) %{py_sitedir}/_opensync.so* %{py_sitedir}/opensync.py* %files devel %defattr(-,root,root) %{_libdir}/libopensync-xml.so %{_libdir}/libopensync.so %{_libdir}/libosengine.so %dir %{_includedir}/opensync-1.0 %dir %{_includedir}/opensync-1.0/opensync %{_includedir}/opensync-1.0/opensync/* %dir %{_includedir}/opensync-1.0/osengine %{_includedir}/opensync-1.0/osengine/* %{_libdir}/pkgconfig/opensync-1.0.pc %{_libdir}/pkgconfig/osengine-1.0.pc %files tools %defattr(-,root,root) %{_bindir}/osyncdump %{_bindir}/osyncplugin %{_bindir}/osyncstress %{_bindir}/osyncbinary %{_bindir}/osynctest %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor