File qamix.spec of Package qamix
#
# spec file for package qamix (Version 0.0.7e)
#
# 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: qamix
BuildRequires: alsa-devel libdrm-devel libjpeg-devel qt3-devel update-desktop-files
Url: https://sourceforge.net/projects/alsamodular
License: GPL v2 or later
Group: Productivity/Multimedia/Sound/Mixers
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Version: 0.0.7e
Release: 352
Summary: Qt Mixer for ALSA
Source: qamix-%{version}.tar.bz2
Patch: qamix-optflags.patch
%description
QAMix is a configurable mixer for ALSA. The GUI description is defined
in an XML file. Default interfaces for standard AC 97 cards and other
cards are provided. QAMix can be controlled via MIDI. Any number of
MIDI events can be bound to any mixer control.
Authors:
--------
Matthias Nagorni <mana@suse.com>
%prep
%setup -q -n qamix-%{version}
%patch0 -p0
%build
make -f make_qamix \
QT_LIB_DIR=\$\(QT_BASE_DIR\)/%{_lib} \
X11_LIB_DIR=/usr/X11R6/%{_lib} \
OPTFLAGS="$RPM_OPT_FLAGS"
for f in po/*.po ; do
f=${f%.po} ; f=${f##*/}
msgfmt -v -o po/$f.gmo po/$f.po
done
%install
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
mkdir -p $RPM_BUILD_ROOT/usr/share/qamix
install -D -m 755 qamix $RPM_BUILD_ROOT%{_bindir}/qamix
cp README LICENSE THANKS *.ams $RPM_BUILD_ROOT%{_docdir}/%{name}
cp *.xml $RPM_BUILD_ROOT/usr/share/qamix
install -D qamix.desktop $RPM_BUILD_ROOT/usr/share/applications/qamix.desktop
for f in po/*.gmo ; do
f=${f%.gmo} ; f=${f##*/}
install -D -m 644 po/$f.gmo $RPM_BUILD_ROOT/usr/share/locale/$f/LC_MESSAGES/qamix.mo
done
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps
cp mini-kamix.png $RPM_BUILD_ROOT/usr/share/pixmaps/kamix.png
%suse_update_desktop_file %name AudioVideo Mixer
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/*
/usr/share/qamix
/usr/share/applications/*.desktop
/usr/share/locale/*/LC_MESSAGES/*.mo
%doc %{_docdir}/%{name}
/usr/share/pixmaps/*.png
%changelog
* Wed Aug 20 2008 meissner@suse.de
- use RPM_OPT_FLAGS
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 20 2006 schwab@suse.de
- Don't strip binaries.
* Tue Feb 17 2004 adrian@suse.de
- fix Categories
* Sun Jan 11 2004 adrian@suse.de
- fix build as user
* Thu Sep 18 2003 arvin@suse.de
- added Hungarian translation
* Mon Sep 15 2003 mana@suse.de
- Updated to qamix-0.0.7b to reflect recent fixes in kamix.
* Mon Sep 01 2003 mana@suse.de
- Added de.po. Fixed support for internationalisation.
* Fri Aug 29 2003 mana@suse.de
- updated to version 0.0.7_pre11
* Sat Aug 23 2003 arvin@suse.de
- updated to version 0.0.7_pre08
* Mon Aug 18 2003 mana@suse.de
- QAMix-0.0.7_pre04
- source can now also be compiled as KDE application
(see separate package kamix)
* Fri Aug 15 2003 adrian@suse.de
- add desktop file
* Wed Aug 06 2003 mana@suse.de
- QAMix-0.0.6
- Three different views: Full, Master only, Simple
- Tag <single /> --> one slider for all channels of a parameter
* Mon Aug 04 2003 mana@suse.de
- QAMix-0.0.5
- Can switch between soundcards via soundcard menu
- Load different GUI descriptions during runtime
* Mon Jul 28 2003 mana@suse.de
- QAMix-0.0.4b: Added GUI description for RME Digi32 cards.
* Fri Jul 25 2003 mana@suse.de
- QAMix-0.0.4: Added GUI description for RME Digi96 cards.
* Mon Jul 21 2003 mana@suse.de
- Initial package using tarball qamix-0.0.4_pre03