File mp3wrap.spec of Package mp3wrap

# norootforbuild

Name:		mp3wrap
Version:	0.5
Release:	6.1
Summary:	Utility for MP3 wrapping (rolling multiple MP3s into one)
License: 	GPL
Group: 		Productivity/Multimedia/Sound/Utilities
Source: 	%{name}-%{version}-src.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot

%if 0%{?suse_version} > 1020
BuildRequires:  licenses
Requires:       licenses
%endif

%description
Command-line utility that wraps multiple MP3 files into a a single, playable MP3, without losing filenames or ID3 information, and without reencoding. Also supports archiving non-audio data such as playlists, info files, and cover images inside the MP3. These files can be unpacked later (using mp3splt, e.g.); ordinary MP3 decoders can play the entire audio stream as one long track.

%prep
%setup -q

%build
%configure --prefix=%{_prefix} --mandir=%{_mandir}
make

%install
%if 0%{?suse_version} > 1020
for FILE in COPYING ; do
    MD5SUM=$(md5sum $FILE | sed 's/ .*//')
    if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
        ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
    fi
done
%endif

make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/*
%doc %{_mandir}/man?/*
%doc AUTHORS COPYING README NEWS

%changelog
* Fri Nov 30 2007 claes.backstrom@fsfe.org
- Initial Package (version 0.5)
openSUSE Build Service is sponsored by