File postfish.spec of Package postfish

#
# spec file for package postfish (Version 2005_11_21)
#
# Copyright (c) 2008 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:           postfish
Url:            https://trac.xiph.org/browser/trunk/postfish/
BuildRequires:  fftw3-devel gtk2-devel
Requires:       fftw3 gtk2
License:        GPL v2 or later
Group:          Productivity/Multimedia/Sound/Editors and Convertors
PreReq:         %install_info_prereq
AutoReqProv:    on
Version:        2005_11_21
Release:        48
Summary:        Postfish - digital audio post-processing tool
Source:         %{name}-%{version}.tar.bz2
Patch:          happy-gcc43.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
the Postfish is a digital audio post-processing, restoration, filtering
and mixdown tool. It works as a linear audio filter, much like a rack
of analog effects. The first stage of the filter pipeline provides a
bank of configurable per-channel processing filters for up to 32 input
channels. The second stage provides mixdown of the processed input
audio into a group of up to eight output channels. The third stage
applies processing filters to the output group post-mixdown.



Authors:
--------
    Monty
    TD, Xiph.Org

%prep
%setup -n %{name}
%patch -p1

%build
%define archopt %{nil}
%ifarch ppc ppc64
%define archopt -maltivec
%endif
make CC="gcc %{archopt} $RPM_OPT_FLAGS"  ETCDIR=%{_datadir}/%{name}

%install
install -d -m 0755 $RPM_BUILD_ROOT/%{_bindir}
install -d -m 0755 $RPM_BUILD_ROOT/%{_mandir}/man1
install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
install -m 0755 postfish   $RPM_BUILD_ROOT/%{_bindir}
install -m 0644 postfish.1 $RPM_BUILD_ROOT/%{_mandir}/man1
install -m 0644 postfish-*rc $RPM_BUILD_ROOT/%{_datadir}/%{name}

%files
%defattr(-,root,root)
%doc README COPYING
%{_mandir}/man1/postfish.1.gz
%{_bindir}/*
%{_datadir}/postfish

%changelog
* Wed Mar 12 2008 jw@suse.de
- fixed vector types for ggc43
* Mon Dec 17 2007 jw@suse.de
- added -maltivec for pcc
* Fri Oct 12 2007 ro@suse.de
- fix filelist
* Wed Oct 10 2007 jw@suse.de
- minimal spec file to build postfish.
openSUSE Build Service is sponsored by