# HG changeset patch # User Matti Hamalainen # Date 1056071520 0 # Node ID 3c609b6d5a028271584430b038cbaf0a1ad6e275 # Parent 0f00ebab063dbd79c8d92bf8f32d631be7c17a02 Automagic updating of spec.in-file via configure diff -r 0f00ebab063d -r 3c609b6d5a02 Makefile.am --- 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 diff -r 0f00ebab063d -r 3c609b6d5a02 configure.in --- 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 diff -r 0f00ebab063d -r 3c609b6d5a02 xmms-sid.spec.in --- 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