File resample.spec of Package resample

#
# spec file for package resample (Version 1.7)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           resample
Summary:        Sampling-rate conversion program
Version:        1.7
Release:        147
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:        GNU Library General Public License v. 2.0 and 2.1 (LGPL)
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 -n resample
* 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