File id3v2.spec of Package id3v2
#
# spec file for package id3v2 (Version 0.1.11)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: id3v2
BuildRequires: gcc-c++ id3lib-devel
Url: http://id3v2.sourceforge.net/
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Utilities
Version: 0.1.11
Release: 141
Summary: A Command Line Editor for ID3V2 Tags
Source0: id3v2-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Patch0: id3v2-%{version}.diff
Patch1: id3v2-0.1.11-bogus-linkage.patch
%description
ID3 tags are found in MP3 files. They can store information about what
band recorded the song, the song name, and more.
ID3V1 tags are seriously deficient as to the kind of and length of
information that they can store. This is a tool for editing ID3V2 tags
in Linux.
%prep
%setup -q
%patch0 -p1
%patch1
%build
export CXXFLAGS="%optflags"
%{__make} %{?jobs:-j%jobs}
%install
install -D id3v2 $RPM_BUILD_ROOT%_bindir/id3v2
mkdir -p $RPM_BUILD_ROOT%_mandir/man1
nroff -man id3v2.1 > $RPM_BUILD_ROOT%_mandir/man1/id3v2.1
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING INSTALL
%_bindir/id3v2
%_mandir/man1/id3v2.1.gz
%changelog
* Mon Jun 15 2009 coolo@novell.com
- fix link line
* Mon Jan 19 2009 crrodriguez@suse.de
- fix broken makefile revealed after id3lib dependecies cleanup
* Mon Oct 01 2007 coolo@suse.de
- fix compilation with gcc 4.3
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 05 2005 dmueller@suse.de
- add norootforbuild
* Fri Jan 21 2005 coolo@suse.de
- update to newer version
* Tue Aug 12 2003 coolo@suse.de
- initial package