File jamin.spec of Package jamin

#
# spec file for package jamin (Version 0.95.0)
#
# Copyright (c) 2008 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 libxml2-devel perl-XML-Parser shared-mime-info update-desktop-files
Summary:        JACK Audio Mastering Interface
Version:        0.95.0
Release:        234
License:        GPL v2 or later
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

%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
* Wed Oct 15 2008 tiwai@suse.de
- run intltoolize to fix build errors
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang errors
* Wed Apr 18 2007 tiwai@suse.de
- fix filelist.
* Tue Apr 17 2007 tiwai@suse.de
- fix buildrequires ladspa -> ladspa-devel
* Tue Apr 03 2007 tiwai@suse.de
- Add jack to Requires explicitly.
* Tue Dec 19 2006 tiwai@suse.de
- update mime database for *.jam files (#225665)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 12 2005 tiwai@suse.de
- remove glib* from neededforbuild.
* Thu Jul 28 2005 tiwai@suse.de
- updated to version 0.95.0.
* Fri Apr 08 2005 tiwai@suse.de
- fixed build with gcc-4.0.
* Tue Aug 17 2004 tiwai@suse.de
- updated to version 0.9.0.
* Thu Feb 12 2004 tiwai@suse.de
- initial version: 0.8.0.
openSUSE Build Service is sponsored by