Author: arekm Date: Thu Mar 6 08:28:58 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - 0.3x series moved here; 0.2x series as libopensync02.spec
---- Files affected: SPECS: libopensync.spec (1.38 -> 1.39) ---- Diffs: ================================================================ Index: SPECS/libopensync.spec diff -u SPECS/libopensync.spec:1.38 SPECS/libopensync.spec:1.39 --- SPECS/libopensync.spec:1.38 Sun Jan 27 23:20:18 2008 +++ SPECS/libopensync.spec Thu Mar 6 09:28:53 2008 @@ -1,32 +1,33 @@ # $Revision$, $Date$ -# # Conditional build: %bcond_without python # don't build python binding -%bcond_without static_libs # don't build static library # Summary: Data synchronization framework Summary(pl.UTF-8): Szkielet do synchronizacji danych Name: libopensync -# WARNING: don't go for 0.3x line - it's DEVELopment series -Version: 0.22 -Release: 4 +Version: 0.36 +Release: 0.1 Epoch: 1 License: LGPL v2.1+ Group: Libraries -Source0: http://opensync.org/download/releases/%{version}/%{name}-%{version}.tar.bz2 -# Source0-md5: f563ce2543312937a9afb4f8445ef932 -Patch0: %{name}-py-m4.patch +Source0: http://www.opensync.org/download/releases/0.36/%{name}-%{version}.tar.bz2 +# Source0-md5: d8cc7835663566e3626e959d8fb531bf URL: http://www.opensync.org/ BuildRequires: autoconf BuildRequires: automake +BuildRequires: cmake +BuildRequires: glib2-devel >= 1:2.10 +BuildRequires: libint-devel BuildRequires: libtool -BuildRequires: libxml2-devel +BuildRequires: libxml2-devel >= 1:2.6 +BuildRequires: pkgconfig +BuildRequires: rpmbuild(macros) >= 1.385 +BuildRequires: sqlite3-devel >= 3.3 %if %{with python} BuildRequires: python-devel BuildRequires: python-modules BuildRequires: swig-python %endif -BuildRequires: sqlite3-devel # no such opensync plugins (yet?) Obsoletes: multisync-ldap Obsoletes: multisync-opie @@ -59,7 +60,8 @@ Summary(pl.UTF-8): Pliki nagłówkowe biblioteki opensync Group: Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} -Requires: sqlite3-devel +Requires: glib2-devel >= 1:2.10 +Obsoletes: libopensync-static Obsoletes: multisync-devel %description devel @@ -68,18 +70,6 @@ %description devel -l pl.UTF-8 Pliki nagłówkowe biblioteki opensync. -%package static -Summary: Static opensync library -Summary(pl.UTF-8): Statyczna biblioteka opensync -Group: Development/Libraries -Requires: %{name}-devel = %{epoch}:%{version}-%{release} - -%description static -Static opensync library. - -%description static -l pl.UTF-8 -Statyczna biblioteka opensync. - %package -n python-opensync Summary: Python bindings for opensync library Summary(pl.UTF-8): Wiązania Pythona do biblioteki opensync @@ -95,35 +85,23 @@ %prep %setup -q -%patch0 -p1 - -[ -x "%{_bindir}/python%{py_ver}-config" ] && sed -i -e 's#python-config#%{_bindir}/python%{py_ver}-config#g' acinclude.m4 %build -%{__libtoolize} -%{__aclocal} -%{__autoconf} -%{__autoheader} -%{__automake} -%configure \ - %{!?debug:--disable-debug --disable-tracing} \ - --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \ - --%{?with_python:en}%{!?with_python:dis}able-python +%cmake \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%if "%{_lib}" != "lib" + -DLIB_SUFFIX=64 \ +%endif + . %{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_libdir}/opensync/plugins \ - $RPM_BUILD_ROOT%{_datadir}/opensync/defaults - %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT%{py_sitedir}/*.{py,la,a} -rm -f $RPM_BUILD_ROOT%{_libdir}/opensync/formats/*.a - %clean rm -rf $RPM_BUILD_ROOT @@ -132,36 +110,33 @@ %files %defattr(644,root,root,755) -%doc AUTHORS ChangeLog NEWS README TODO +%doc AUTHORS README %attr(755,root,root) %{_bindir}/* -%attr(755,root,root) %{_libdir}/lib*.so.*.*.* -%attr(755,root,root) %{_libdir}/osplugin -%dir %{_libdir}/opensync -%dir %{_libdir}/opensync/formats -%dir %{_libdir}/opensync/plugins -%dir %{_datadir}/opensync -%dir %{_datadir}/opensync/defaults -%attr(755,root,root) %{_libdir}/opensync/formats/*.so -%{_libdir}/opensync/formats/*.la +%attr(755,root,root) %{_libdir}/libopensync.so.* +%dir %{_libdir}/opensync-* +%dir %{_libdir}/opensync-*/formats +%dir %{_libdir}/opensync-*/osplugin +%dir %{_datadir}/opensync-* +%{_datadir}/opensync-*/capabilities +%{_datadir}/opensync-*/descriptions +%{_datadir}/opensync-*/schemas +%attr(755,root,root) %{_libdir}/opensync-*/formats/*.so %files devel %defattr(644,root,root,755) -%attr(755,root,root) %{_libdir}/lib*.so -%{_libdir}/lib*.la -%{_includedir}/opensync* -%{_pkgconfigdir}/*.pc - -%if %{with static_libs} -%files static -%defattr(644,root,root,755) -%{_libdir}/lib*.a -%endif +%attr(755,root,root) %{_libdir}/libopensync.so +%{_includedir}/opensync-1.0 +%{_pkgconfigdir}/opensync-1.0.pc + +%dir %{_datadir}/opensync-*/cmake +%dir %{_datadir}/opensync-*/cmake/modules +%{_datadir}/opensync-*/cmake/modules/*.cmake %if %{with python} %files -n python-opensync %defattr(644,root,root,755) -%attr(755,root,root) %{py_sitedir}/*.so -%{py_sitedir}/*.py[co] +%attr(755,root,root) %{py_sitedir}/_opensync.so +%{py_sitedir}/opensync.py %endif %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) @@ -170,89 +145,17 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ -Revision 1.38 2008-01-27 22:20:18 qboosh -- updated Source0 URL (sane now) -- LGPL v2.1+ (merged from DEVEL) - -Revision 1.37 2007-12-29 00:41:30 glen -- rel 4 - -Revision 1.36 2007-10-09 14:06:37 glen -- -devel R: sqlite3-devel; rel 3 - -Revision 1.35 2007/10/09 09:35:23 arekm -- back to stable 0.2x line. devel 0.3x moved to DEVEL - -Revision 1.24 2007/03/28 23:21:21 wrobell -- ver. 0.22 - -Revision 1.23 2007/03/24 18:06:42 bszx -- updated to 0.21.1 - -Revision 1.22 2007/02/13 06:46:51 glen -- tabs in preamble - -Revision 1.21 2007/02/12 00:49:03 baggins -- converted to UTF-8 - -Revision 1.20 2007/01/27 22:41:24 arekm -- up to 0.20 - -Revision 1.19 2006/11/05 02:05:55 qboosh -- multisync-syncml Obsoletes moved to new libopensync-plugin-syncml package - -Revision 1.18 2006/10/23 21:59:28 glen -- working source0 - -Revision 1.17 2006/10/23 19:43:54 glen -- added %{_libdir}/osplugin binary - -Revision 1.16 2006/10/23 19:23:07 glen -- uploaded to distfiles - -Revision 1.15 2006/10/23 19:21:22 glen -- add py-m4.patch - -Revision 1.14 2006/10/23 14:16:43 czarny -- up to 0.19 -- python patch (0) already in upstream - -Revision 1.13 2006/05/03 12:27:03 pluto -- sources dropped in. - -Revision 1.12 2006/05/03 12:14:28 pluto -- rm formats/*.a - -Revision 1.11 2006/04/19 19:31:58 qboosh -- bcond descs - -Revision 1.10 2006/04/16 11:45:26 djurban -- added 2 bconds (python, static_libs) - -Revision 1.9 2006/01/31 21:17:24 patrys -- missing BR: sqlite3 - -Revision 1.8 2006/01/24 10:45:07 qboosh -- -devel Obsoletes: multisync-devel -- base Obsoletes: multisync-{ldap,opie,syncml} (no such opensync plugins yet) - -Revision 1.7 2006/01/23 12:18:23 wrobell -- added some missing dirs required by plugins - -Revision 1.6 2006/01/09 08:35:37 qboosh -- try this way - -Revision 1.5 2006/01/09 08:35:07 qboosh -- argh, stupid wiki downloads +Revision 1.39 2008-03-06 08:28:53 arekm +- 0.3x series moved here; 0.2x series as libopensync02.spec -Revision 1.4 2006/01/09 08:31:48 qboosh -- fixed md5 +Revision 1.34.2.4 2008-03-06 08:14:47 arekm +- python and symlinks -Revision 1.3 2006/01/08 23:25:33 qboosh -- pl, BR: ac,am,lt +Revision 1.34.2.3 2008-03-06 08:05:35 arekm +- up to 0.36 -Revision 1.2 2005/12/30 11:09:59 wrobell -- fixed python modules installation, patch sent to author +Revision 1.34.2.2 2008-02-10 20:04:18 paszczus +- BR: libint-devel -Revision 1.1 2005/12/30 10:42:07 wrobell -- based on template +Revision 1.34.2.1 2007-11-11 18:17:23 glen +- 0.43, build system switched to cmake ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libopensync.spec?r1=1.38&r2=1.39&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
