Пакет kid3: Specfile

Name:		kid3
Version:	1.3
Release:	alt2
Summary:	Kid3 - Efficient ID3 tag editor
License:	GPLv2+
Group:		Sound
Packager:	Motsyo Gennadi <drool@altlinux.ru>
Url:		http://kid3.sourceforge.net/
Source0:	http://kent.dl.sourceforge.net/sourceforge/kid3/%name-%version.tar.gz
Patch0:		%name-1.3-desktopdir.diff
Patch1:		%name-1.3-alt_scalabledir.diff
Patch2:		%name-1.3-desktop_ru_uk.diff

# Automatically added by buildreq on Tue May 05 2009 (-bi)
BuildRequires: gcc-c++ id3lib-devel imake kdelibs-devel libXt-devel libflac++-devel libmpeg4ip-devel libqt3-devel libtag-devel libtunepimp-devel xml-utils xorg-cf-files libvorbis-devel

%description
If you want to easily tag multiple MP3, Ogg/Vorbis, FLAC,
MPC, MP4/AAC, MP2, Speex, TrueAudio and WavPack files
(e.g. full albums) without typing the same information
again and again and have control over both ID3v1 and ID3v2
tags, then Kid3 is the program you are looking for.

With Kid3 you can:

- Edit ID3v1.1 tags
- Edit all ID3v2.3 and ID3v2.4 frames
- Convert between ID3v1.1, ID3v2.3 and ID3v2.4 tags
- Edit tags in MP3, Ogg/Vorbis, FLAC, MPC, MP4/AAC, MP2, Speex,
  TrueAudio and WavPack files.
- Edit tags of multiple files, e.g. the artist, album, year and genre
  of all files of an album typically have the same values and can be
  set together.
- Generate tags from filenames
- Generate filenames from tags
- Generate playlist files
- Automatic case conversion and string translation
- Import and export album data
- Import from gnudb.org, TrackType.org, MusicBrainz, Discogs

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
sed -i -e 's|/lib /usr/lib\b|/%_lib %_libdir|g' configure # lib64 rpaths

%build
%add_optflags -I%_includedir/tqtinterface
%K3configure
%make_build

%install
%K3install

%K3find_lang --with-kde %name

%files -f %name.lang
%doc AUTHORS ChangeLog
%_K3bindir/*
/usr/share/kde/applications/*
/usr/share/kde/icons/hicolor/*/*/*.png
%_iconsdir/default.kde/scalable/*
%_K3datadir/apps/%name/*

%changelog
* Fri Mar 04 2011 Timur Aitov <timonbl4@altlinux.org> 1.3-alt2
- move to alternate place

* Sun Nov 08 2009 Motsyo Gennadi <drool@altlinux.ru> 1.3-alt1
- 1.3

* Sat May 09 2009 Motsyo Gennadi <drool@altlinux.ru> 1.2-alt2
- fix build with gcc4.4

* Tue May 05 2009 Motsyo Gennadi <drool@altlinux.ru> 1.2-alt1
- packaged from scratch