File mp3info.spec of Package mp3info
#
# spec file for package mp3info (Version 0.8.5a)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# usedforbuild Mesa Mesa-devel aaa_base acl atk atk-devel attr audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 cairo cairo-devel coreutils cpio cpp cpp41 cracklib cups-libs cvs cyrus-sasl db diffutils e2fsprogs expat file filesystem fillup findutils flex fontconfig fontconfig-devel freetype2 freetype2-devel gawk gcc gcc41 gdbm gdbm-devel gettext gettext-devel glib2 glib2-devel glibc glibc-devel glibc-locale glitz glitz-devel gnome-filesystem gpm grep groff gtk2 gtk2-devel gzip info insserv klogd less libacl libattr libcom_err libdrm libgcc41 libjpeg libltdl libmudflap41 libnscd libpng libpng-devel libstdc++41 libtiff libtool libvolume_id libxcrypt libzio linux-kernel-headers m4 make man mktemp module-init-tools ncurses ncurses-devel net-tools netcfg openldap2-client openssl pam pam-modules pango pango-devel patch perl permissions pkgconfig popt procinfo procps psmisc pwdutils rcs readline rpm sed strace sysvinit tar tcpd texinfo timezone unzip util-linux vim xorg-x11-devel xorg-x11-fonts-devel xorg-x11-libICE xorg-x11-libICE-devel xorg-x11-libSM xorg-x11-libSM-devel xorg-x11-libX11 xorg-x11-libX11-devel xorg-x11-libXau xorg-x11-libXau-devel xorg-x11-libXdmcp xorg-x11-libXdmcp-devel xorg-x11-libXext xorg-x11-libXext-devel xorg-x11-libXfixes xorg-x11-libXfixes-devel xorg-x11-libXmu xorg-x11-libXmu-devel xorg-x11-libXp xorg-x11-libXp-devel xorg-x11-libXpm xorg-x11-libXpm-devel xorg-x11-libXprintUtil xorg-x11-libXprintUtil-devel xorg-x11-libXrender xorg-x11-libXrender-devel xorg-x11-libXt xorg-x11-libXt-devel xorg-x11-libXv xorg-x11-libXv-devel xorg-x11-libfontenc xorg-x11-libfontenc-devel xorg-x11-libs xorg-x11-libxkbfile xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-util-devel xorg-x11-xtrans-devel zlib zlib-devel
Name: mp3info
BuildRequires: glib2-devel gtk2-devel pkgconfig ncurses-devel
License: GPL
Group: Applications/Multimedia
Autoreqprov: on
Version: 0.8.5a
Release: 0
Source: mp3info-%{version}.tar.bz2
Patch: mp3info-%{version}.dif
Patch3: mp3info-bitrate-segv.diff
Url: http://ibiblio.org/mp3info/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: An MP3 technical info viewer and ID3 tag editor
%description
Technical info viewer and ID3 1.x tag editor in mp3 files.
mp3info has an interactive mode (using curses) and a command line mode.
A separate executable includes a GTK-based GUI version. MP3Info can
display ID3 tag information as well as various technical aspects of
an MP3 file including playing time, bit-rate, sampling frequency
and other attributes in a pre-defined or user-specifiable output format.
Authors:
--------
Ricardo Cerqueira <rmc@rccn.net>
Cedric Tefft <cedric@earthling.net>
SuSE series: snd
%debug_package
%prep
%setup
%patch
%patch3 -p1
#autoreconf -i
#%{suse_update_config}
%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
chmod 0644 $RPM_BUILD_ROOT/%{_mandir}/man1/mp3info*
%if %{?suse_version} > 1200
mv $RPM_BUILD_ROOT/usr/X11R6/bin/gmp3info $RPM_BUILD_ROOT/usr/bin
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README ChangeLog LICENSE INSTALL
/usr/bin/mp3info
%if %{?suse_version} > 1200
/usr/bin/gmp3info
%else
/usr/X11R6/bin/gmp3info
%endif
%doc %{_mandir}/man1/mp3info*
%changelog
* Fri Jun 08 2007 - garloff@suse.de
- Update to 0.8.5a:
* Fixed possible buffer overflow condition in gmp3info
(Klaus Singvogel)
- Update to 0.8.5:
* Added handling of 'free form' bitrate frames, the lack of which
was causing segfaults on AMD 64-bit sytems
* Tweaked code to eliminate various gcc warnings and errors
* Improved detection of invalid MP3 frames (Ben Bennett)
* Updated gmp3info for GTK 2 (Eric Lassauge)
* Miscellaneous documentation updates and corrections
* Fri Jun 08 2007 - garloff@suse.de
- Fix segfault when header bitrate field is 0.
* Fri Nov 23 2001 - nadvornik@suse.cz
- update to 0.8.4:
- minor bugfixes
* Thu Mar 22 2001 - pblaha@suse.cz
- update on 0.8.3
* Thu Jan 11 2001 - pblaha@suse.cz
- create this package for manage mp3 files