File id3v2.spec of Package id3v2

# spec file for package id3v2 (Version 0.1.12)
# Copyright (c) 2010 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

# norootforbuild

Name:           id3v2
BuildRequires:  gcc-c++ id3lib-devel
License:        LGPLv2.1+
Group:          Productivity/Multimedia/Sound/Utilities
Version:        0.1.12
Release:        1
Summary:        A Command Line Editor for ID3 V2 tags
Source0:        %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch0:         id3v2-0.1.11.diff
Patch1:         %{name}-%{version}-bogus-linkage.patch

ID3 tags are found in MP3 files. They can store information about what
band recorded the song, the song name, and more.
ID3-V1 tags are seriously deficient as to the kind of and length of
information that they can store. This is a tool for editing ID3-V2 tags
in Linux.

%setup -q

rm -f id3v2 create_map core *.o
export CXXFLAGS="%optflags"
export LDFLAGS="-L%{_libdir}"

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



openSUSE Build Service is sponsored by