SPECS: synce-kde.spec - agsync bcond

glen glen at pld-linux.org
Thu Nov 22 18:13:25 CET 2007


Author: glen                         Date: Thu Nov 22 17:13:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- agsync bcond

---- Files affected:
SPECS:
   synce-kde.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/synce-kde.spec
diff -u SPECS/synce-kde.spec:1.11 SPECS/synce-kde.spec:1.12
--- SPECS/synce-kde.spec:1.11	Thu Nov 22 17:59:07 2007
+++ SPECS/synce-kde.spec	Thu Nov 22 18:13:20 2007
@@ -4,11 +4,15 @@
 #  - kde-kio_rapip
 #  - what else?
 # - devel as -libs-devel as rest of synce-* packages do?
+#
+# Conditional build:
+%bcond_without	agsync		# skip building agsyn
+#
 Summary:	KDE-Integration of SynCE. Kio-slave and Tray-Icon
 Summary(pl.UTF-8):	Integracja SynCE z KDE - moduł kio-slave i ikona zasobnika systemowego
 Name:		synce-kde
 Version:	0.9.1
-Release:	4
+Release:	3.4
 License:	MIT
 Group:		Applications
 #Source0:	http://dl.sourceforge.net/synce/%{name}-%{version}.tar.gz
@@ -21,7 +25,7 @@
 Patch3:		kde-ac260-lt.patch
 Patch4:		%{name}-desktop.patch
 URL:		http://www.synce.org/
-BuildRequires:	agsync-devel
+%{?with_agsync:BuildRequires:	agsync-devel}
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	kdelibs-devel
@@ -138,11 +142,13 @@
 %{_includedir}/rapiwrapper.h
 %{_includedir}/rra.h
 
+%if %{with agsync}
 %files agsync
 %defattr(644,root,root,755)
 %{_libdir}/kde3/rakiagsync.la
 %{_libdir}/kde3/rakiagsync.so
 %{_datadir}/services/rakiagsync.desktop
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -150,6 +156,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2007-11-22 17:13:20  glen
+- agsync bcond
+
 Revision 1.11  2007-11-22 16:59:07  glen
 - rel 4
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/synce-kde.spec?r1=1.11&r2=1.12&f=u



More information about the pld-cvs-commit mailing list