changeset 43:3c609b6d5a02

Automagic updating of spec.in-file via configure
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 20 Jun 2003 01:12:00 +0000
parents 0f00ebab063d
children 90cd38b28a72
files Makefile.am configure.in xmms-sid.spec.in
diffstat 3 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Thu Jun 19 23:50:01 2003 +0000
+++ b/Makefile.am	Fri Jun 20 01:12:00 2003 +0000
@@ -17,5 +17,4 @@
 	bootstrap.sh		\
 	xmms-sid.glade		\
 	xmms-sid.spec.in	\
-	xmms-sid.spec		\
-	pixmaps
+	xmms-sid.spec
--- a/configure.in	Thu Jun 19 23:50:01 2003 +0000
+++ b/configure.in	Fri Jun 20 01:12:00 2003 +0000
@@ -6,7 +6,7 @@
 AC_PREREQ(2.56)
 
 dnl Initialize
-AC_INIT(XMMS-SID, 0.8.0beta1, ccr@tnsp.org)
+AC_INIT(XMMS-SID, 0.8.0alpha0, ccr@tnsp.org)
 AC_COPYRIGHT([[(C) 2002-2003 Matti 'ccr' Hämäläinen]])
 AC_CONFIG_SRCDIR(src/xmms-sid.h)
 AM_INIT_AUTOMAKE
@@ -127,6 +127,7 @@
 XS_PATH_LIBSIDPLAY1
 if test "$xs_have_sidplay1" = yes; then
 AC_DEFINE(HAVE_SIDPLAY1)
+AC_SUBST(REQUIRE_LIBRARY,[libsidplay.so.1])
 OPT_SIDPLAY1="yes"
 else
 AC_MSG_ERROR([libSIDPlay1 library and/or headers were not found!])
@@ -141,6 +142,7 @@
 XS_PATH_LIBSIDPLAY2
 if test "$xs_have_sidplay2" = yes; then
 AC_DEFINE(HAVE_SIDPLAY2)
+AC_SUBST(REQUIRE_LIBRARY,[libsidplay2.so.1])
 OPT_SIDPLAY2="yes"
 BUILDERS_FIND
 BUILDERS_FIND_RESID
--- a/xmms-sid.spec.in	Thu Jun 19 23:50:01 2003 +0000
+++ b/xmms-sid.spec.in	Fri Jun 20 01:12:00 2003 +0000
@@ -15,15 +15,14 @@
 Source:		%{name}-%{version}.tar.gz
 BuildRoot:	%{_tmpdir}/%{name}-%{version}-root
 Requires:	gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= 1.2.0
-Requires:	libsidplay.so.1
+Requires:	@REQUIRE_LIBRARY@
 
 %description
 Input plugin for XMMS to play SID-tunes (C64 music files).
-Requires libsidplay v1.x, but optionally supports also
-libsidplay 2.x. Includes good configurability (configurable
-emulation of filters and other SID emulation parameters,
-fileinfo settings...), STIL-database support, song-length
-detection mechanism (several options), etc.
+Requires either libsidplay v1.x or v2.x. Includes good
+configurability (emulation of filters and other SID emulation
+parameters, fileinfo settings...), has STIL-database support,
+song-length database support, etc.
 
 %prep
 %setup -q