File resample.spec of Package resample

#
# spec file for package resample (Version 1.7)
#
# Copyright (c) 2009 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.7
Release:        249
Url:            http://www-ccrma.stanford.edu/~jos/resample
Source0:        %{name}-%{version}.tar.bz2
Patch:          resample-fix.dif
Patch1:         resample-var-init-fix.diff
Patch2:         resample-makefile.diff
Patch3:         resample-typo-fix.diff
License:        LGPL v2.1 or later
Group:          Productivity/Multimedia/Video/Editors and Convertors
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
%patch
%patch1
%patch2
%patch3

%build
make

%install
make INSTALLDIR=$RPM_BUILD_ROOT%{_bindir} \
     MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 install

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

%files
%defattr(-,root,root)
%doc README* INSTALL
%{_bindir}/*
%{_mandir}/man1/*

%changelog
* Fri Jan 12 2007 tiwai@suse.de
- fixed (x = x++;) like operations
* Wed May 17 2006 schwab@suse.de
- Use RPM_OPT_FLAGS.
- Don't strip binaries.
* Mon Mar 13 2006 tiwai@suse.de
- fix uninitialized variable (#157411)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Apr 16 2004 tiwai@suse.de
- fixed the wrong pointer assignment.
- disabled the removal of $RPM_BUILD_ROOT in %%install.
* Tue Jan 13 2004 tiwai@suse.de
- build as non-root.
* Mon Aug 05 2002 tiwai@suse.de
- initial version: 1.7
openSUSE Build Service is sponsored by