rpms/libtunepimp/FC-6 tunepimp-0.5.2-configure-disable-plugins.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 libtunepimp.spec, 1.22, 1.23 sources, 1.6, 1.7 libtunepimp-0.5.1-PLUGIN_DIR.patch, 1.1, NONE

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu Dec 7 16:28:42 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/libtunepimp/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15858

Modified Files:
	.cvsignore libtunepimp.spec sources 
Added Files:
	tunepimp-0.5.2-configure-disable-plugins.patch 
Removed Files:
	libtunepimp-0.5.1-PLUGIN_DIR.patch 
Log Message:
* Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.3-1
- libtunepimp-0.5.3


tunepimp-0.5.2-configure-disable-plugins.patch:

--- NEW FILE tunepimp-0.5.2-configure-disable-plugins.patch ---
--- libtunepimp-0.5.2/configure.in	2006-09-29 19:51:56.000000000 -0300
+++ libtunepimp-0.5.2/configure.in	2006-12-02 19:20:09.000000000 -0300
@@ -57,6 +57,12 @@
               [use_lgpl=yes], 
               [use_lgpl=no])
 
+AC_ARG_ENABLE([flac], AS_HELP_STRING([--disable-flac], [Build without flac support (default: test)]))
+AC_ARG_ENABLE([mp4], AS_HELP_STRING([--disable-mp4], [Build without mp4 support (default: test)]))
+AC_ARG_ENABLE([taglib], AS_HELP_STRING([--disable-taglib], [Build without taglib support (default: test)]))
+AC_ARG_ENABLE([ogg], AS_HELP_STRING([--disable-ogg], [Build without ogg support (default: test)]))
+AC_ARG_ENABLE([mp3], AS_HELP_STRING([--disable-mp3], [Build without mp3 support (default: test)]))
+
 AC_CHECK_LIB(z, compress,
              [LIB="$LIB -lz"],
              [echo "*"
@@ -203,50 +209,67 @@
 dnl Check for libmpcdec
 AC_CHECK_LIB(mpcdec, mpc_decoder_decode, have_mpcdec=yes,)
 
-dnl Check if we can build TagLib-based plugins
-if test "x$have_taglib" = "xyes"; then
-    TP_PLUGINS="$TP_PLUGINS wma mpc wv speex tta"
-    with_wma=yes
-    with_wv=yes
-    with_speex=yes
-    with_tta=yes
-    if test "x$have_mpcdec" = "xyes"; then
-	AC_C_BIGENDIAN
-	with_mpc="yes"
-    else
-        with_mpc="yes (without decoder)"
-    fi
+if test "x$enable_taglib" != "xno" ; then
+	dnl Check if we can build TagLib-based plugins
+	if test "x$have_taglib" = "xyes"; then
+		TP_PLUGINS="$TP_PLUGINS wma mpc wv speex tta"
+		with_wma=yes
+		with_wv=yes
+		with_speex=yes
+		with_tta=yes
+		if test "x$have_mpcdec" = "xyes"; then
+			AC_C_BIGENDIAN
+			with_mpc="yes"
+		else
+			with_mpc="yes (without decoder)"
+		fi
+	else
+		with_wma=no
+		with_mpc=no
+		with_wv=no
+		with_speex=no
+		with_tta=no
+	fi
 else
-    with_wma=no
-    with_mpc=no
-    with_wv=no
-    with_speex=no
-    with_tta=no
+	with_wma=no
+	with_mpc=no
+	with_wv=no
+	with_speex=no
+	with_tta=no
 fi
+
 AM_CONDITIONAL(HAVE_MPCDEC, test "x$with_mpc" = "xyes")
 
-dnl Check for mp4v2
-AC_CHECK_LIB(mp4v2, MP4Read, [
-    TP_PLUGINS="$TP_PLUGINS mp4"
-    AC_DEFINE(HAVE_MP4,1,[MP4 Support])
-    with_mp4=yes
-], [
-    with_mp4=no
-])
-
-if test "x$use_lgpl" = "xno"; then
-    dnl Check for MAD decoder lib for mp3 support
-    AC_CHECK_LIB(mad,mad_version,
-                 AC_DEFINE(HAVE_LIBMAD,1,[MP3 Decode Support])
-                 TP_PLUGINS="$TP_PLUGINS mp3"
-		 with_mp3=yes,
-                 echo "*"
-                 echo "*  The MAD mp3 decoder is not installed. Please download "
-                 echo "*  the decoder from http://www.mars.org/home/rob/proj/mpeg"
-                 echo "*  to include MP3 TRM generation capabilities."
-                 echo "*"
-		 with_mp3=no
-                 ,-lm)
+if test "x$enable_mp4" != "xno" ; then
+	dnl Check for mp4v2
+	AC_CHECK_LIB(mp4v2, MP4Read, [
+		TP_PLUGINS="$TP_PLUGINS mp4"
+		AC_DEFINE(HAVE_MP4,1,[MP4 Support])
+		with_mp4=yes
+		], [
+		with_mp4=no
+		])
+else
+	with_mp4=no
+fi
+
+if test "x$use_lgpl" = "xno" ; then
+	if test "x$enable-mp3" != "xno" ; then
+		dnl Check for MAD decoder lib for mp3 support
+		AC_CHECK_LIB(mad,mad_version,
+			AC_DEFINE(HAVE_LIBMAD,1,[MP3 Decode Support])
+			TP_PLUGINS="$TP_PLUGINS mp3"
+			with_mp3=yes,
+			echo "*"
+			echo "*  The MAD mp3 decoder is not installed. Please download "
+			echo "*  the decoder from http://www.mars.org/home/rob/proj/mpeg"
+			echo "*  to include MP3 TRM generation capabilities."
+			echo "*"
+			with_mp3=no
+			,-lm)
+	else
+		with_mp3=no
+	fi
 else
     with_mp3=no
 fi
@@ -255,25 +278,33 @@
 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg="yes",)
 AC_CHECK_LIB(vorbisfile, ov_info, have_vorbis="yes",, -lvorbis -logg)
 
-if test "x$have_ogg" = "xyes"; then
-  if test "x$have_vorbis" = "xyes"; then
-     TP_PLUGINS="$TP_PLUGINS vorbis"
-     AC_DEFINE(HAVE_OGGVORBIS,1,[Ogg/Vorbis Support])
-     with_vorbis=yes
-  else
-     with_vorbis=no
-  fi
+if test "x$enable_ogg" != "xno" ; then
+	if test "x$have_ogg" = "xyes"; then
+		if test "x$have_vorbis" = "xyes"; then
+			TP_PLUGINS="$TP_PLUGINS vorbis"
+			AC_DEFINE(HAVE_OGGVORBIS,1,[Ogg/Vorbis Support])
+			with_vorbis=yes
+		else
+			with_vorbis=no
+		fi
+	fi
+else
+	with_vorbis=no
 fi
 
 dnl Check for libFLAC
-AC_CHECK_LIB(FLAC, FLAC__metadata_object_new, have_flac="yes",, -lFLAC -lm)
+if test "x$enable_flac" != "xno"; then
+	AC_CHECK_LIB(FLAC, FLAC__metadata_object_new, have_flac="yes",, -lFLAC -lm)
 
-if test "x$have_flac" = "xyes"; then
-   TP_PLUGINS="$TP_PLUGINS flac"
-   AC_DEFINE(HAVE_FLAC,1,[FLAC Support])
-   with_flac=yes
+	if test "x$have_flac" = "xyes"; then
+	   TP_PLUGINS="$TP_PLUGINS flac"
+	   AC_DEFINE(HAVE_FLAC,1,[FLAC Support])
+	   with_flac=yes
+	else
+	   with_flac=no
+	fi
 else
-   with_flac=no
+	with_flac=no
 fi
 
 


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libtunepimp/FC-6/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	12 Oct 2006 21:02:35 -0000	1.7
+++ .cvsignore	7 Dec 2006 16:28:12 -0000	1.8
@@ -1,2 +1,3 @@
 clog
 libtunepimp-0.5.2.tar.gz
+libtunepimp-0.5.3.tar.gz


Index: libtunepimp.spec
===================================================================
RCS file: /cvs/extras/rpms/libtunepimp/FC-6/libtunepimp.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- libtunepimp.spec	12 Oct 2006 21:05:45 -0000	1.22
+++ libtunepimp.spec	7 Dec 2006 16:28:12 -0000	1.23
@@ -1,13 +1,14 @@
 
 Summary: A library for creating MusicBrainz enabled tagging applications 
 Name:	 libtunepimp
-Version: 0.5.2
-Release: 3%{?dist}
+Version: 0.5.3
+Release: 1%{?dist}
 
 License: LGPL
 Group: 	 System Environment/Libraries
 URL:	 http://www.musicbrainz.org/products/tunepimp/
-Source:	 http://ftp.musicbrainz.org/pub/musicbrainz/libtunepimp-%{version}.tar.gz
+# see http://musicbrainz.org/doc/libtunepimpDownload
+Source0: http://ftp.musicbrainz.org/pub/musicbrainz/libtunepimp-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %define pkglibdir %{_libdir}/tunepimp
@@ -22,7 +23,6 @@
 BuildRequires: libmpcdec-devel
 
 BuildRequires: libofa-devel
-# These two are likely bogus (used just in examples/ ) -- Rex
 BuildRequires: curl-devel
 BuildRequires: expat-devel
 
@@ -57,10 +57,10 @@
 Summary: Python bindings for developing programs that will use %{name} 
 Group:   Development/Libraries
 License: GPL
-#define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")
-#if "%{?python_ver}" > "2"
-#Requires: python-abi = %{python_ver}
-#endif
+%define python_ver %(%{__python} -c "import sys ; print sys.version[:3]")
+%if "%{?python_ver}" > "2"
+Requires: python-abi = %{python_ver}
+%endif
 %description -n python-tunepimp
 %{summary}.
 
@@ -134,6 +134,12 @@
 
 
 %changelog
+* Wed Nov 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.3-1
+- libtunepimp-0.5.3
+
+* Tue Oct 31 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.2-4
+- respin for curl update (fc7)
+
 * Thu Oct 12 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.2-3
 - rename python-libtunepimp -> python-tunepimp (to match python
   module name)
@@ -142,7 +148,7 @@
 - build python-libtunepimp subpackage (#209961)
 
 * Mon Oct 02 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.2-1
-- 0.5.2
+- libtunepimp-0.5.2
 
 * Tue Sep 26 2006 Rex Dieter <rexdieter[AT]users.sf.net> 0.5.1-2
 - drop -tools subpkg


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libtunepimp/FC-6/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- sources	2 Oct 2006 16:29:30 -0000	1.6
+++ sources	7 Dec 2006 16:28:12 -0000	1.7
@@ -1 +1 @@
-655b254539013f5e7fe50ac035c26dcb  libtunepimp-0.5.2.tar.gz
+09649f983acef679a548344ba7a9bb2f  libtunepimp-0.5.3.tar.gz


--- libtunepimp-0.5.1-PLUGIN_DIR.patch DELETED ---




More information about the scm-commits mailing list