File sph2pipe.spec of Package sph2pipe

# spec file for package sph2pipe
# Copyright (c) 2015 SUSE LINUX 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

Name:           sph2pipe
Version:        2.5
Release:        0
Summary:        Converting sph format files into other formats such as wav.
License:        Public Domain
Group:          System/Base
BuildRequires:  gcc-c++
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The "sph2pipe" program was created by the Linguistic Data Consortium
to provide greater flexibility and ease of use for SPHERE-formatted
digital audio data.  It is equivalent in most respects to the related
utility "sph_convert", but each of these tools provides some abilities
that the other does not.

%setup -q -n %{name}_v%{version}

gcc -o %{name} *.c -lm

mkdir -p %{buildroot}%{_bindir}
install -Dm 0755 %{name} %{buildroot}%{_bindir}

%doc 0readme.1st