File jack-rack.spec of Package jack-rack

#
# spec file for package jack-rack (Version 1.4.4)
#
# 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:           jack-rack
BuildRequires:  jack-devel ladspa-devel libgnomeui-devel liblrdf-devel mDNSResponder-devel raptor-devel update-desktop-files
%define _prefix	/usr
Summary:        LADSPA Effects Rack for JACK
Version:        1.4.4
Release:        66
License:        GNU General Public License (GPL)
Group:          Productivity/Multimedia/Sound/Utilities
Requires:       jack ladspa
Source:         %{name}-%{version}.tar.bz2
Patch:          jack-rack-gettext.dif
Patch1:         jack-rack-inc-fix.dif
Patch2:         jack-rack-undeprec.dif
Patch3:         jack-rack-gcc4-fix.diff
Patch4:         jack-rack-warning-fix.diff
URL:            http://jack-rack.sf.net/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
JACK Rack is a stereo LADSPA effects rack for the JACK audio API.  You
can insert LADSPA effects through JACK Rack. It uses GTK+ 2 for the
GUI.



Authors:
--------
    Bob Ham <node@users.sourceforge.net>

%prep
%setup
%patch
%patch1
%patch2
%patch3
%patch4

%build
%{?suse_update_config:%{suse_update_config -f}}
# gettextize --force --copy
autoreconf --force --install
test -f po/Makevars || mv po/Makevars.template po/Makevars
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
    --libdir=%{_libdir} \
    --mandir=%{_mandir} \
    --disable-desktop-inst
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%suse_update_desktop_file jack-rack AudioVideo Music

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

%files
%defattr(-, root, root)
%doc AUTHORS BUGS COPYING ChangeLog NEWS README THANKS TODO
%{_bindir}/*
%{_datadir}/applications/*
%dir %{_datadir}/dtds
%{_datadir}/dtds/*
%{_datadir}/jack-rack
%{_datadir}/pixmaps/*.png
%{_datadir}/locale/*/*/*

%changelog
* Tue Apr 17 2007 - tiwai@suse.de
- fix buildrequires ladspa -> ladspa-devel
* Tue Apr 03 2007 - tiwai@suse.de
- Add jack to Requires explicitly.
* Mon Jan 08 2007 - ro@suse.de
- GNOME moved to /usr
* Sat Oct 07 2006 - aj@suse.de
- Cleanup BuildRequires.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 12 2005 - tiwai@suse.de
- removed glib* from neededforbuild.
* Tue Oct 11 2005 - tiwai@suse.de
- removed ladcca support (temporarily)
- fixed some compile warnings.
* Thu Oct 06 2005 - tiwai@suse.de
- updated to 1.4.4.
* Mon Apr 11 2005 - tiwai@suse.de
- fix the build with gcc-4.0.
* Mon Feb 14 2005 - tiwai@suse.de
- added resmgr to neededforbuild.
* Mon Jan 31 2005 - ro@suse.de
- fix build: do not define GNOME_DISABLE_DEPRECATED
* Tue Sep 14 2004 - mskibbe@suse.de
- fix specfile: create icon in Multimedia Music
* Tue May 18 2004 - ro@suse.de
- don't define GTK_DISABLE_DEPRECATED (stuff used in ui.c)
* Mon Feb 16 2004 - tiwai@suse.de
- build as non-root.
* Thu Jan 29 2004 - ro@suse.de
- update to 1.4.3 to fix build
* Tue Aug 05 2003 - tiwai@suse.de
- added the call of suse_update_desktop_file macro.
* Fri Jul 25 2003 - tiwai@suse.de
- fixed the inclusion of glib.h.
* Mon Jul 14 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Mon Jul 07 2003 - tiwai@suse.de
- updated to version 1.4.2.
* Thu Jul 03 2003 - tiwai@suse.de
- initial version: 1.4.1
openSUSE Build Service is sponsored by