SPECS: fluidsynth.spec - with readline bcond - rel. 2

charles charles at pld-linux.org
Sun Sep 14 14:00:19 CEST 2008


Author: charles                      Date: Sun Sep 14 12:00:19 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- with readline bcond
- rel. 2

---- Files affected:
SPECS:
   fluidsynth.spec (1.34 -> 1.35) 

---- Diffs:

================================================================
Index: SPECS/fluidsynth.spec
diff -u SPECS/fluidsynth.spec:1.34 SPECS/fluidsynth.spec:1.35
--- SPECS/fluidsynth.spec:1.34	Sun Sep 14 13:53:26 2008
+++ SPECS/fluidsynth.spec	Sun Sep 14 14:00:13 2008
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_with	ladcca		# enable ladcca sesion managment support
+%bcond_with	readline	# build with readline lib line editing
 %bcond_with	sse		# use the SSE instructions of Pentium3+ or Athlon XP
 %bcond_without	static_libs	# don't build static library
 #
@@ -13,7 +14,7 @@
 Summary(pl.UTF-8):	FluidSynth - programowy syntezator działający w czasie rzeczywistym
 Name:		fluidsynth
 Version:	1.0.8
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Applications/Sound
 Source0:	http://savannah.nongnu.org/download/fluid/%{name}-%{version}.tar.gz
@@ -29,6 +30,7 @@
 BuildRequires:	ladspa-devel
 BuildRequires:	libtool
 BuildRequires:	pkgconfig
+%{?with_readline:BuildRequires:	readline-devel}
 BuildRequires:	rpmbuild(macros) >= 1.213
 Requires:	alsa-lib
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -46,6 +48,7 @@
 Summary(pl.UTF-8):	Pliki nagłówkowe dla FluidSynth
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+%{?with_readline:Requires:	readline-devel}
 
 %description devel
 This package contains the header files necessary to develop
@@ -86,7 +89,7 @@
 	--enable-jack-support \
 	--enable-ladspa \
 	--enable-profiling \
-	--without-readline
+	%{!?with_readline:--without-readline}
 
 %{__make}
 
@@ -131,6 +134,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.35  2008/09/14 12:00:13  charles
+- with readline bcond
+- rel. 2
+
 Revision 1.34  2008/09/14 11:53:26  charles
 - lt/ac/am; added -build.patch; BR: autoconf, libtool
 - %files cleanups
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/fluidsynth.spec?r1=1.34&r2=1.35&f=u



More information about the pld-cvs-commit mailing list