File jamin.spec of Package jamin

#
# spec file for package jamin
#
# Copyright (c) 2011 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:           jamin
BuildRequires:  alsa-devel fftw3-devel gtk2-devel intltool jack-devel ladspa-devel liblo-devel
BuildRequires:  libxml2-devel perl-XML-Parser shared-mime-info update-desktop-files
BuildRequires:  libtool
Summary:        JACK Audio Mastering Interface
Version:        0.95.0
Release:        235
License:        GPL-2.0+
Group:          Productivity/Multimedia/Sound/Editors and Convertors
Url:            http://jamin.sf.net
Requires:       jack ladspa
Source:         %{name}-%{version}.tar.bz2
Patch:          jamin-ladspa-path-fix.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         shared-mime-info

%description
JAMin is the JACK Audio Connection Kit (JACK) audio mastering
interface.  JAMin is designed to perform professional audio mastering
of stereo input streams.  It uses LADSPA for digital signal processing
(DSP).



Authors:
--------
    Jan Depner
    Steve Harris
    Jack O'Quin
    Ron Parker
    Patrick Shirkey

%prep
%setup -q
%patch -p1

%build
intltoolize -f
autoreconf -fi
%configure
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
mv $RPM_BUILD_ROOT%{_datadir}/icons $RPM_BUILD_ROOT%{_datadir}/pixmaps
rm -f $RPM_BUILD_ROOT%{_libdir}/ladspa/*.la
%suse_update_desktop_file %name AudioVideo AudioVideoEditing
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%post
usr/bin/update-mime-database usr/share/mime >/dev/null || :

%postun
usr/bin/update-mime-database usr/share/mime >/dev/null || :

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README* TODO
%doc %{_mandir}/man?/*
%{_bindir}/*
%{_libdir}/ladspa
%{_datadir}/jamin
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*
%{_datadir}/mime/packages/*.xml

%changelog
openSUSE Build Service is sponsored by