File gamix.spec of Package gamix
#
# spec file for package gamix (Version 1.99.p14)
#
# 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: gamix
BuildRequires: alsa-devel gtk2-devel update-desktop-files
Summary: GTK ALSA Audio Mixer
Version: 1.99.p14
Release: 196
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Mixers
AutoReqProv: on
Source: http://www1.tcnet.ne.jp/fmurata/linux/down/gamix-%{version}.tar.bz2
Source1: gamix.desktop
Source2: gamix.png
Patch: gamix-gtk2-fix.diff
Patch1: gamix-nogtk1.diff
Patch2: gamix-disconnect-redraw.diff
Url: http://www1.tcnet.ne.jp/fmurata/linux/down/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
A graphical mixer program for ALSA. Its GUI is based on GTK+.
Authors:
--------
Fumihiko Murata <fmurata@p1.tcnet.ne.jp>
%prep
%setup -q
%patch
%patch1
%patch2
%build
autoreconf --force --install
test ! -f po/Makevars.template || mv po/Makevars.template po/Makevars
CFLAGS="$RPM_OPT_FLAGS"
%configure \
--with-gtk-target=-2.0
make
cd ..
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%suse_update_desktop_file -i gamix AudioVideo Mixer GTK
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README.euc TODO
%{_bindir}/*
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%changelog
* Sun Mar 16 2008 crrodriguez@suse.de
- fix file-not-in-lang errors
* Wed Feb 14 2007 tiwai@suse.de
- fix inifinite loop with USB-audio disconnection (#245266)
* Thu Feb 23 2006 tiwai@suse.de
- added GTK to Categories
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Oct 19 2005 tiwai@suse.de
- removed gtk1 stuff from neededforbuild
* Tue Feb 08 2005 tiwai@suse.de
- build with gtk2
* Tue Feb 17 2004 adrian@suse.de
- fix Categories
* Mon Feb 16 2004 tiwai@suse.de
- updated to version 1.99.p14.
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Mon Sep 15 2003 tiwai@suse.de
- added desktop icon.
* Thu Aug 21 2003 tiwai@suse.de
- fixed categories.
* Thu Aug 14 2003 tiwai@suse.de
- added desktop file.
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Thu Jun 19 2003 ro@suse.de
- build with current gettext
* Tue Nov 19 2002 mmj@suse.de
- Add AM_GNU_GETTEXT_VERSION
* Fri Jul 05 2002 tiwai@suse.de
- initial version: 1.99.p13; split off from alsa package.