Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37405193
en ru br
ALT Linux repos
S:3.3.11.1-alt2
5.0: 3.1.11-alt0.6
4.1: 3.1.11-alt0.4
4.0: 3.1.11-alt0.2
3.0: 3.1.10-alt3

Group :: System/Libraries
RPM: libmikmod

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_with esound
%def_with pulse

Name: libmikmod
Version: 3.3.11.1
Release: alt1

Summary: A portable sound library for Unix
License: GPLv2 and LGPLv2+
Group: System/Libraries

Url: http://mikmod.raphnet.net
# http://download.sourceforge.net/mikmod/%name-%version.tar.gz
Source: %name-%version.tar
Patch0: 0014-playercode-mdreg-Register-the-NULL-driver-before-the.patch
Patch1: use-gnu-install-directories.patch
Patch2: libmikmod-3.3.7-mcst-e2k.patch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Thu Mar 03 2011

BuildRequires: libalsa-devel
%{?_with_esound:BuildRequires: libesd-devel}
%{?_with_pulse:BuildRequires: libpulseaudio-devel}
# explicitly added texinfo for info files
BuildRequires: texinfo

%description
Libmikmod is a portable sound library, capable of playing samples as
well as module files, originally written by Jean-Paul Mikkers (MikMak)
for DOS. It has subsequently been hacked by many hands and now runs on
many Unix flavours.

It uses the OSS /dev/dsp driver including in all recent kernels for
output, as well as ALSA and EsounD, and will also write wav files.

Supported file formats include mod, stm, s3m, mtm, xm, and it.
Full source included, use of this library for music/sound effects in
your own programs is encouraged!

%package devel
Summary: Header files and libraries for developing apps which will use %name
Group: Development/C
Requires: %name = %version-%release
%{?_with_pulse:Requires: libpulseaudio-devel}

%description devel
Install the %name-devel package if you want to develop applications that
will use the %name library.

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
%autoreconf
%configure --disable-static
%make_build

%install
%makeinstall_std

%files
%_libdir/*.so.*
%doc AUTHORS NEWS README TODO

%files devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_man1dir/*
%_infodir/*.info*
%_datadir/aclocal/*
%_pkgconfigdir/*.pc

# TODO:

# - consider --enable-simd (marked unstable as of 3.3.7)

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin