ALT Linux repos
Group :: System/Libraries
RPM: libmikmod
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%def_without static
Name: libmikmod
Version: 3.1.11
Release: alt0.4
Summary: A portable sound library for Unix
License: GPL/LGPL
Group: System/Libraries
Source: %name-%version.tar.gz
Patch0: %name-3.1.9-texinfo.patch
Patch1: libmikmod-3.1.11-esdm4.patch.bz2
Patch2: libmikmod-3.1.11-alt-underquoted.patch
# Automatically added by buildreq on Sun Oct 13 2002
BuildRequires: esound-devel glibc-devel-static libaudiofile-devel
Summary(ru_RU.KOI8-R): Библиотека функций для работы с трекерной музыкой
%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!
%description -l ru_RU.KOI8-R
Libmikmod - кроссплатформенная библиотека, предоставляющая прикладным
программам ряд функций для работы с трекерными модулями в форматах IT,
XM, S3M, MTM, 669, STM, ULT, FAR, MED, AMF, DSM, IMF, GDM, STX, OKT и
MOD, работы с драйверами различных устройств вывода и сетевыми
звуковыми сервисами, функции вывода в RAW и WAV файлы и др.
%package devel
Summary: Header files and libraries for developing apps which will use %name
Summary(ru_RU.KOI8-R): Файлы для программиста приложений, использующих %name
Group: Development/C
Requires: %name = %version
Requires: libaudiofile-devel
%description devel
Install the %name-devel package if you want to develop applications that
will use the %name library.
%description -l ru_RU.KOI8-R devel
Этот пакет содержит заголовочные файлы, библиотеки и документацию для
разработки приложений с использованием %name.
%package devel-static
Summary: Static version of %name library
Summary(ru_RU.KOI8-R): Статическая версия библиотеки %name
Group: Development/C
Requires: %name-devel = %version
%description devel-static
Install the %name-devel-static package if you want to develop
applications that will use the %name library statically linked.
%description -l ru_RU.KOI8-R devel-static
Этот пакет содержит статическую версию библиотеки %name, необходимую для
разработки приложений, статически слинкованых с %name.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p0
%build
autoreconf -fisv
%configure
#--disable-alsa
%make_build
%install
%makeinstall
chmod a+x %buildroot%_libdir/*.so.*
# remove non-packaged files
rm -f %buildroot%_libdir/*.la
%if_without static
rm -f %buildroot%_libdir/*.a
%endif
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%post devel
%install_info mikmod.info
%preun devel
%uninstall_info mikmod.info
%files
%_libdir/*.so.*
%doc AUTHORS NEWS README TODO
%files devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_man1dir/*
%_infodir/*.info*
%_datadir/aclocal/*
%if_with static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here
Name: libmikmod
Version: 3.1.11
Release: alt0.4
Summary: A portable sound library for Unix
License: GPL/LGPL
Group: System/Libraries
Source: %name-%version.tar.gz
Patch0: %name-3.1.9-texinfo.patch
Patch1: libmikmod-3.1.11-esdm4.patch.bz2
Patch2: libmikmod-3.1.11-alt-underquoted.patch
# Automatically added by buildreq on Sun Oct 13 2002
BuildRequires: esound-devel glibc-devel-static libaudiofile-devel
Summary(ru_RU.KOI8-R): Библиотека функций для работы с трекерной музыкой
%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!
%description -l ru_RU.KOI8-R
Libmikmod - кроссплатформенная библиотека, предоставляющая прикладным
программам ряд функций для работы с трекерными модулями в форматах IT,
XM, S3M, MTM, 669, STM, ULT, FAR, MED, AMF, DSM, IMF, GDM, STX, OKT и
MOD, работы с драйверами различных устройств вывода и сетевыми
звуковыми сервисами, функции вывода в RAW и WAV файлы и др.
%package devel
Summary: Header files and libraries for developing apps which will use %name
Summary(ru_RU.KOI8-R): Файлы для программиста приложений, использующих %name
Group: Development/C
Requires: %name = %version
Requires: libaudiofile-devel
%description devel
Install the %name-devel package if you want to develop applications that
will use the %name library.
%description -l ru_RU.KOI8-R devel
Этот пакет содержит заголовочные файлы, библиотеки и документацию для
разработки приложений с использованием %name.
%package devel-static
Summary: Static version of %name library
Summary(ru_RU.KOI8-R): Статическая версия библиотеки %name
Group: Development/C
Requires: %name-devel = %version
%description devel-static
Install the %name-devel-static package if you want to develop
applications that will use the %name library statically linked.
%description -l ru_RU.KOI8-R devel-static
Этот пакет содержит статическую версию библиотеки %name, необходимую для
разработки приложений, статически слинкованых с %name.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p0
%build
autoreconf -fisv
%configure
#--disable-alsa
%make_build
%install
%makeinstall
chmod a+x %buildroot%_libdir/*.so.*
# remove non-packaged files
rm -f %buildroot%_libdir/*.la
%if_without static
rm -f %buildroot%_libdir/*.a
%endif
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%post devel
%install_info mikmod.info
%preun devel
%uninstall_info mikmod.info
%files
%_libdir/*.so.*
%doc AUTHORS NEWS README TODO
%files devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_man1dir/*
%_infodir/*.info*
%_datadir/aclocal/*
%if_with static
%files devel-static
%_libdir/*.a
%endif
%changelog
…
Full changelog you can see here