LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File extm3u.spec of Package extm3u (Project home:lrupp)

# spec file for package extm3u
# Copyright (c) Lars Vogdt <lars@linux-schulserver.de>
# 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/

Name:           extm3u
Version:        20111201
Release:        0
License:        GPL-2.0+
Summary:        Generates an extended .m3u playlist from mp3, ogg and flac files
Url:            https://github.com/splitbrain/extm3u
Group:          Productivity/Multimedia/Sound/Utilities
Source:         splitbrain-extm3u-8fcb714.tar.gz
Recommends:     perl(Data::Dumper)
Requires:       perl(Module::Load::Conditional)
Requires:       perl(File::Basename)
Requires:       perl(Getopt::Std)
Requires:       perl(MP3::Info)
Requires:       perl(Ogg::Vorbis::Header)
Requires:       perl(Audio::FLAC::Header)
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

extm3u.pl generates an extended .m3u playlist from the files in a given
directory. The generated playlist can be used with XMMS, Winamp, and other MP3
players. The playlist is printed to stdout. Extended .m3u files contain
additional information, such as the length of the song and data from the ID3

%setup -q -n splitbrain-extm3u-8fcb714


install -D -m 755 extm3u.pl %{buildroot}%{_bindir}/extm3u.pl

rm -rf %{buildroot}