[packages/libopensync-plugin-evolution] - updated dependencies and cmake macro; not ready for e-d-s 3.6+

qboosh qboosh at pld-linux.org
Mon Sep 22 20:40:57 CEST 2025


commit 0641cc74a7b1039eed26df9261eea3d179be9f7e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Sep 22 20:43:29 2025 +0200

    - updated dependencies and cmake macro; not ready for e-d-s 3.6+

 libopensync-plugin-evolution.spec | 23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)
---
diff --git a/libopensync-plugin-evolution.spec b/libopensync-plugin-evolution.spec
index c3fc069..6b02ddb 100644
--- a/libopensync-plugin-evolution.spec
+++ b/libopensync-plugin-evolution.spec
@@ -5,14 +5,20 @@ Version:	0.39
 Release:	4
 License:	LGPL v2.1+
 Group:		Libraries
-Source0:	http://www.opensync.org/download/releases/%{version}/%{name}2-%{version}.tar.bz2
+#Source0:	http://www.opensync.org/download/releases/%{version}/%{name}2-%{version}.tar.bz2
+Source0:	%{name}2-%{version}.tar.bz2
 # Source0-md5:	54d2fc3c80c29f3ac5feb609b082c99d
-URL:		http://www.opensync.org/
-BuildRequires:	cmake
+# dead domain
+#URL:		http://www.opensync.org/
+BuildRequires:	cmake >= 2.4.4
 BuildRequires:	evolution-data-server-devel >= 1.2
+# before GConf2 configuration migration
+BuildRequires:	evolution-data-server-devel < 3.5
 BuildRequires:	glib2-devel >= 2.0
 BuildRequires:	libopensync-devel >= 1:%{version}
 BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.605
+Requires:	libopensync >= 1:%{version}
 Obsoletes:	multisync-evolution < 0.90
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,14 +44,9 @@ Ten pakiet zawiera wtyczkę Evolution dla szkieletu OpenSync.
 %setup -q -n %{name}2-%{version}
 
 %build
-mkdir build
+install -d build
 cd build
-%cmake .. \
-	-DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
-	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-%if "%{_lib}" != "lib"
-	-DLIB_SUFFIX=64
-%endif
+%cmake ..
 
 %{__make}
 
@@ -55,8 +56,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/opensync/plugins/*.la
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libopensync-plugin-evolution.git/commitdiff/0641cc74a7b1039eed26df9261eea3d179be9f7e



More information about the pld-cvs-commit mailing list