rpms/kid3/devel kid3-0.7-mimetypes.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 kid3.spec, 1.9, 1.10 sources, 1.4, 1.5

Ville Skytta (scop) fedora-extras-commits at redhat.com
Thu Jun 29 18:48:38 UTC 2006


Author: scop

Update of /cvs/extras/rpms/kid3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22062/devel

Modified Files:
	.cvsignore kid3.spec sources 
Added Files:
	kid3-0.7-mimetypes.patch 
Log Message:
* Thu Jun 29 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1
- 0.7, build with libtunepimp.
- Patch to register as a handler for more media types.
- Update desktop database at post(un)install time.
- Make symlinks relative.


kid3-0.7-mimetypes.patch:

--- NEW FILE kid3-0.7-mimetypes.patch ---
--- kid3-0.7/kid3/kid3.desktop~	2006-01-05 20:15:21.000000000 +0200
+++ kid3-0.7/kid3/kid3.desktop	2006-06-29 21:32:48.000000000 +0300
@@ -5,7 +5,7 @@
 Icon=kid3.png
 Type=Application
 DocPath=kid3/index.html
-MimeType=audio/x-mp3;audio/x-mpegurl;
+MimeType=audio/x-mp3;audio/x-mpegurl;application/ogg;audio/x-flac;audio/x-flac+ogg;audio/x-vorbis+ogg;audio/x-speex+ogg;audio/x-oggflac;
 GenericName=ID3 Tagger
 Terminal=false
 Categories=Application;AudioVideo;KDE;


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kid3/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore	18 Feb 2006 14:34:25 -0000	1.4
+++ .cvsignore	29 Jun 2006 18:48:38 -0000	1.5
@@ -1,2 +1 @@
-kid3-0.6.tar.gz
-kid3_0.6-2.diff.gz
+kid3-0.7.tar.gz


Index: kid3.spec
===================================================================
RCS file: /cvs/extras/rpms/kid3/devel/kid3.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- kid3.spec	18 Feb 2006 14:34:25 -0000	1.9
+++ kid3.spec	29 Jun 2006 18:48:38 -0000	1.10
@@ -1,19 +1,21 @@
 Name:           kid3
-Version:        0.6
-Release:        2%{?dist}
+Version:        0.7
+Release:        1%{?dist}
 Summary:        Efficient ID3 tag editor
 
 Group:          Applications/Multimedia
 License:        GPL
 URL:            http://kid3.sourceforge.net/
 Source0:        http://download.sourceforge.net/kid3/%{name}-%{version}.tar.gz
-Patch0:         http://ftp.debian.org/debian/pool/main/k/kid3/kid3_0.6-2.diff.gz
+Patch0:         %{name}-0.7-mimetypes.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  kdelibs-devel
 BuildRequires:  id3lib-devel
 BuildRequires:  flac-devel
+BuildRequires:  libtunepimp-devel
 BuildRequires:  desktop-file-utils
+BuildRequires:  perl(File::Spec)
 
 %description
 If you want to easily tag multiple MP3, Ogg/Vorbis or FLAC files
@@ -30,8 +32,7 @@
 
 %build
 unset QTDIR ; . %{_sysconfdir}/profile.d/qt.sh
-# TODO: musicbrainz support needs libtunepimp-devel < 0.4.0 as of 0.6
-%configure --disable-rpath --disable-dependency-tracking --without-musicbrainz
+%configure --disable-rpath --disable-dependency-tracking
 make %{?_smp_mflags}
 
 
@@ -47,6 +48,11 @@
   $RPM_BUILD_ROOT%{_datadir}/applnk/Multimedia/kid3.desktop
 rm -rf $RPM_BUILD_ROOT%{_datadir}/applnk
 %find_lang %{name}
+abs2rel() { perl -MFile::Spec -e 'print File::Spec->abs2rel(@ARGV)' "$@" ; }
+for file in $(find $RPM_BUILD_ROOT%{_docdir}/HTML -type l) ; do
+  f=$(readlink $file) ; d=$(dirname ${file#$RPM_BUILD_ROOT})
+  case "$f" in /*) rm -f $file ; ln -s $(abs2rel $f $d) $file ;; esac
+done
 
 
 %clean
@@ -54,9 +60,11 @@
 
 
 %post
+update-desktop-database &>/dev/null || :
 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor 2>/dev/null || :
 
 %postun
+update-desktop-database &>/dev/null || :
 gtk-update-icon-cache -qf %{_datadir}/icons/hicolor 2>/dev/null || :
 
 
@@ -73,6 +81,12 @@
 
 
 %changelog
+* Thu Jun 29 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.7-1
+- 0.7, build with libtunepimp.
+- Patch to register as a handler for more media types.
+- Update desktop database at post(un)install time.
+- Make symlinks relative.
+
 * Wed Feb 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 0.6-2
 - Explicitly disable musicbrainz support for now, needs older libtunepimp
   than what's available in FE.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kid3/devel/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- sources	18 Feb 2006 14:34:25 -0000	1.4
+++ sources	29 Jun 2006 18:48:38 -0000	1.5
@@ -1,2 +1 @@
-945992608a29b692284db2c80e1217bd  kid3-0.6.tar.gz
-7b34f08c9f678028559d5de2c9f07b4e  kid3_0.6-2.diff.gz
+e5f8262e3456d9b0bdba4e4b56ca3aee  kid3-0.7.tar.gz




More information about the fedora-extras-commits mailing list