File resample.spec of Package resample

#
# spec file for package resample (Version 1.8.1)
#
# 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           resample
Summary:        Sampling-rate conversion program
Version:        1.8.1
Release:        1
Url:            http://www-ccrma.stanford.edu/~jos/resample
Source0:        http://ccrma.stanford.edu/~jos/gz/%{name}-%{version}.tar.bz2
License:        LGPLv2.1+
Group:          Productivity/Multimedia/Video/Editors and Convertors
BuildRequires:  gcc make
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on

%description
The resample program is a high-quality resampling program. For example,
it can be used to convert the sampling rate from 48 kHz (used by DAT
machines) to 44.1 kHz (the standard sampling rate for Compact Discs).

Authors:
--------
    Julius O. Smith III <jos@ccrma.stanford.edu>

%prep
%setup -q

%build
%{?suse_update_config:%{suse_update_config -f}}
export CFLAGS="%{optflags} -ggdb"
%configure
%__make

%install
%makeinstall
chmod 0644 *

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

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

%changelog
openSUSE Build Service is sponsored by