dbmix/dbmix.spec

Name: dbmix
Summary: Digital Audio Mixing System
Version: 0.9.8
Release: 3.2
License: GPL
Group: Applications/Multimedia
URL: http://dbmix.sourceforge.net/
Description: DBMix is a software DJ mixing system for digital audio. DBMix allows a user to output multiple simultaneous audio streams on a single sound device, and to transform/modify each stream independently.

CentOS 7 x86_64

The build could not start because of the following missing build requirements:

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

# Distcc: 0

%define plugindir %(xmms-config --output-plugin-dir)
%define real_name DBMix

Summary: Digital Audio Mixing System
Name: dbmix
Version: 0.9.8
Release: 3.2%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://dbmix.sourceforge.net/

Source: http://dl.sf.net/DBMix/DBMix-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: xmms-devel >= 1.2.0
Obsoletes: DBMix <= %{version}
Provides: DBMix = %{version}-%{release}

%description
DBMix is a software DJ mixing system for digital audio. DBMix allows a user
to output multiple simultaneous audio streams on a single sound device, and
to transform/modify each stream independently.

%prep
%setup -n %{real_name}-%{version}

### FIXME: Fix the errno problem on RH9
%{__perl} -pi.orig -e 's|^(\s*extern int errno;\s*)$|#include <errno.h>\n\n\1|' dbaudiolib/dbaudiolib.c dbaudiolib/DBAudio_Volume.c dbaudiolib/DBAudio_Mute.c

%build
#configure
./configure \
	--prefix="%{_prefix}" \
	--bindir="%{_bindir}" \
	--libdir="%{_libdir}"
%{__make} %{?_smp_mflags} \
	LDFLAGS="-L%{_builddir}/%{buildsubdir}/dbaudiolib/.libs"

%install
%{__rm} -rf %{buildroot}
%makeinstall
%{__install} -d %{buildroot}%{plugindir}
%{__mv} -f %{buildroot}%{_libdir}/libdbmix.* %{buildroot}%{plugindir}

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README Readme.*
%{_bindir}/*
%{_libdir}/libdbaudiolib.*
%{plugindir}/*
%exclude %{plugindir}/*.la

%changelog
* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 0.9.8-3.2
- Rebuild for Fedora Core 5.

* Tue Feb 24 2004 Dag Wieers <dag@wieers.com> - 0.9.8-3
- Renamed package to lowercase 'dbmix'.

* Fri Aug 01 2003 Dag Wieers <dag@wieers.com> - 0.9.8-2
- Removed the remaining .la file and use plugindir macro.

* Thu Jun 27 2002 Dag Wieers <dag@wieers.com> - 0.9.8-0
- Initial package.