ALT Linux repositórios
S: | 1.2.8-alt1 |
D: | 1.0.16-alt1 |
5.0: | 1.0.18-alt2 |
4.1: | 1.0.15-alt1 |
4.0: | 1.0.14a-alt2.1 |
+updates: | 1.0.14a-alt2.1 |
3.0: | 1.0.9-alt7 |
Group :: Sistema/Bibliotecas
RPM: libalsa
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: libalsa
Version: 1.0.14a
Release: alt2.1
%define srcname alsa-lib
%define beta %nil
%define ver %{version}%beta
Summary: Advanced Linux Sound Architecture (ALSA) library
License: LGPL 2.1+
Group: System/Libraries
Url: http://www.alsa-project.org
Packager: Michael Shigorin <mike at altlinux.org>
Source0: ftp://ftp.alsa-project.org/pub/lib/%srcname-%ver.tar.bz2
Source1: asound.conf.sonicvibes_2
Patch0: alsa-lib-1.0.14a-lfloat.patch
Obsoletes: libalsa2 < 0.9.4
Provides: libalsa2 = %version
# Automatically added by buildreq on Thu Dec 16 2004 (-bi)
BuildRequires: common-licenses doxygen gcc-c++ hostinfo libstdc++-devel python-base python-modules-compiler python-modules-encodings rpm-build-python
%if_disabled static
%define configure_args ""
%else
BuildRequires: glibc-devel-static
%define configure_args --enable-static
%endif
%add_optflags %optflags_shared
%define pkgdocdir %_docdir/%name-%version
%define modutils_oss /etc/modutils.d/oss
%define modules_conf /etc/modules.conf
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÉ ALSA
Summary(uk_UA.KOI8-U): â¦Â̦ÏÔÅËÉ ALSA
%description
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.
%description -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ALSA (Advanced Linux Sound Architecture,
ÓÏ×ÒÅÍÅÎÎÁÑ Ú×ÕËÏ×ÁÑ ÐÏÄÓÉÓÔÅÍÁ ÄÌÑ Linux)
%description -l uk_UA.KOI8-U
ãÅÊ ÐÁËÕÎÏË Í¦ÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ALSA (Advanced Linux Sound Architecture,
ÓÕÞÁÓÎÁ Ú×ÕËÏ×Á ЦÄÓÉÓÔÅÍÁ ÄÌÑ Linux)
%package -n aserver
Summary: Sound server for alsa
Summary(ru_RU.KOI8-R): ú×ÕËÏ×ÏÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
Summary(uk_UA.KOI8-U): ú×ÕËÏ×ÉÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
License: GPL
Group: Sound
Requires: %name = %version-%release
%description -n aserver
Sound server for ALSA
%description -l ru_RU.KOI8-R
ú×ÕËÏ×ÏÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
%description -l uk_UA.KOI8-U
ú×ÕËÏ×ÉÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
%package devel
Summary: Development environment for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C
Requires: %name = %version-%release
Provides: libalsa2-devel = %version
Obsoletes: libalsa2-devel
%description devel
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.
This is the development environment to compile ALSA applications.
%if_disabled static
%else
%package devel-static
Summary: Static libraries for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.
This package contains static library to build statically linked ALSA
applications.
%endif
%package docs
Summary: Documentation for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/Documentation
%description docs
Advanced Linux Sound Architecture (ALSA) Developer Documentation
(C library reference)
%prep
%setup -q -n %srcname-%ver
%patch0 -p1
%build
%configure \
%configure_args \
--with-configdir=%_datadir/alsa/
%make_build
%make doc
%install
%make_install DESTDIR=%buildroot install
rm -f %buildroot%_libdir/alsa-lib/*/*.{a,la}
install -pD -pm644 %SOURCE1 \
%buildroot%_datadir/alsa/cards/SonicVibes.conf
install -d -m755 %buildroot%pkgdocdir
install -p -m644 NOTES MEMORY-LEAK TODO %buildroot%pkgdocdir/
cp -a doc/doxygen/html %buildroot%pkgdocdir/
mkdir -p %buildroot%_sysconfdir/modprobe.d/
cat << __EOF__ >> %buildroot%_sysconfdir/modprobe.d/alsa-modindex
#### AC97 software sound chips
## spare index=0 for a real soundcard (if any)
#options snd_intel8x0 index=2
#options snd_via82xx index=2
#options snd-bt87x index=3
#options snd_intel8x0m index=4
#options snd-atiixp-modem index=4
#options snd-via82xx-modem index=4
## if you experience noisy sound with VIA AC97 audio,
## try to uncomment this and play with 4/2/1:
#options snd-via82xx dxs_support=4
#### MIDI
#alias midi snd-seq-oss
## bank autoload; get from driver CD and uncomment these lines
#install snd-seq-oss /sbin/modprobe --ignore-install snd-seq-oss && { /bin/sfxload /etc/midi/8mbgmsfx.sf2 > /dev/null 2>&1 || :; }
## -- or -- install awesfx and uncomment this:
#install snd-seq-oss /sbin/modprobe --ignore-install snd-seq-oss && { /bin/sfxload /etc/midi/gu11-rom.sf2 > /dev/null 2>&1 || :; }
__EOF__
%pre
[ ! -f %modutils_oss ] || {
grep -q "^above snd-" %modules_conf && {
echo '*** %modutils_oss found:'
echo '*** commenting out "above/below snd-*-oss" lines in %modules_conf'
subst 's/^above snd-.* snd-.*-oss$/#&/' %modules_conf ||:
} ||:
}
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%dir %_libdir/alsa-lib/
%_libdir/alsa-lib/smixer/
%_sysconfdir/modprobe.d/alsa-modindex
%_datadir/alsa/
%files devel
%_libdir/*.so
%_libdir/pkgconfig/alsa.pc
%_includedir/sys/*
%_includedir/alsa/
%_datadir/aclocal/*
#_bindir/alsalisp
%if_disabled static
%else
%files devel-static
#_libdir/*.la
%_libdir/*.a
%endif
%files docs
%dir %pkgdocdir
%pkgdocdir/[D-Z]*
%pkgdocdir/html
%files -n aserver
%_bindir/aserver
%changelog
…
Todas as alterações você pod ver aqui
Version: 1.0.14a
Release: alt2.1
%define srcname alsa-lib
%define beta %nil
%define ver %{version}%beta
Summary: Advanced Linux Sound Architecture (ALSA) library
License: LGPL 2.1+
Group: System/Libraries
Url: http://www.alsa-project.org
Packager: Michael Shigorin <mike at altlinux.org>
Source0: ftp://ftp.alsa-project.org/pub/lib/%srcname-%ver.tar.bz2
Source1: asound.conf.sonicvibes_2
Patch0: alsa-lib-1.0.14a-lfloat.patch
Obsoletes: libalsa2 < 0.9.4
Provides: libalsa2 = %version
# Automatically added by buildreq on Thu Dec 16 2004 (-bi)
BuildRequires: common-licenses doxygen gcc-c++ hostinfo libstdc++-devel python-base python-modules-compiler python-modules-encodings rpm-build-python
%if_disabled static
%define configure_args ""
%else
BuildRequires: glibc-devel-static
%define configure_args --enable-static
%endif
%add_optflags %optflags_shared
%define pkgdocdir %_docdir/%name-%version
%define modutils_oss /etc/modutils.d/oss
%define modules_conf /etc/modules.conf
Summary(ru_RU.KOI8-R): âÉÂÌÉÏÔÅËÉ ALSA
Summary(uk_UA.KOI8-U): â¦Â̦ÏÔÅËÉ ALSA
%description
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.
%description -l ru_RU.KOI8-R
üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÂÉÂÌÉÏÔÅËÉ ALSA (Advanced Linux Sound Architecture,
ÓÏ×ÒÅÍÅÎÎÁÑ Ú×ÕËÏ×ÁÑ ÐÏÄÓÉÓÔÅÍÁ ÄÌÑ Linux)
%description -l uk_UA.KOI8-U
ãÅÊ ÐÁËÕÎÏË Í¦ÓÔÉÔØ Â¦Â̦ÏÔÅËÉ ALSA (Advanced Linux Sound Architecture,
ÓÕÞÁÓÎÁ Ú×ÕËÏ×Á ЦÄÓÉÓÔÅÍÁ ÄÌÑ Linux)
%package -n aserver
Summary: Sound server for alsa
Summary(ru_RU.KOI8-R): ú×ÕËÏ×ÏÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
Summary(uk_UA.KOI8-U): ú×ÕËÏ×ÉÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
License: GPL
Group: Sound
Requires: %name = %version-%release
%description -n aserver
Sound server for ALSA
%description -l ru_RU.KOI8-R
ú×ÕËÏ×ÏÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
%description -l uk_UA.KOI8-U
ú×ÕËÏ×ÉÊ ÓÅÒ×ÅÒ ÄÌÑ ALSA
%package devel
Summary: Development environment for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C
Requires: %name = %version-%release
Provides: libalsa2-devel = %version
Obsoletes: libalsa2-devel
%description devel
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.
This is the development environment to compile ALSA applications.
%if_disabled static
%else
%package devel-static
Summary: Static libraries for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/C
Requires: %name-devel = %version-%release
%description devel-static
Advanced Linux Sound Architecture (ALSA) libs. Modularized architecture with
support for a large range of ISA and PCI cards. Fully compatible with OSS/Lite
(kernel sound drivers), but contains many enhanced features.
This package contains static library to build statically linked ALSA
applications.
%endif
%package docs
Summary: Documentation for Advanced Linux Sound Architecture (ALSA)
License: GPL
Group: Development/Documentation
%description docs
Advanced Linux Sound Architecture (ALSA) Developer Documentation
(C library reference)
%prep
%setup -q -n %srcname-%ver
%patch0 -p1
%build
%configure \
%configure_args \
--with-configdir=%_datadir/alsa/
%make_build
%make doc
%install
%make_install DESTDIR=%buildroot install
rm -f %buildroot%_libdir/alsa-lib/*/*.{a,la}
install -pD -pm644 %SOURCE1 \
%buildroot%_datadir/alsa/cards/SonicVibes.conf
install -d -m755 %buildroot%pkgdocdir
install -p -m644 NOTES MEMORY-LEAK TODO %buildroot%pkgdocdir/
cp -a doc/doxygen/html %buildroot%pkgdocdir/
mkdir -p %buildroot%_sysconfdir/modprobe.d/
cat << __EOF__ >> %buildroot%_sysconfdir/modprobe.d/alsa-modindex
#### AC97 software sound chips
## spare index=0 for a real soundcard (if any)
#options snd_intel8x0 index=2
#options snd_via82xx index=2
#options snd-bt87x index=3
#options snd_intel8x0m index=4
#options snd-atiixp-modem index=4
#options snd-via82xx-modem index=4
## if you experience noisy sound with VIA AC97 audio,
## try to uncomment this and play with 4/2/1:
#options snd-via82xx dxs_support=4
#### MIDI
#alias midi snd-seq-oss
## bank autoload; get from driver CD and uncomment these lines
#install snd-seq-oss /sbin/modprobe --ignore-install snd-seq-oss && { /bin/sfxload /etc/midi/8mbgmsfx.sf2 > /dev/null 2>&1 || :; }
## -- or -- install awesfx and uncomment this:
#install snd-seq-oss /sbin/modprobe --ignore-install snd-seq-oss && { /bin/sfxload /etc/midi/gu11-rom.sf2 > /dev/null 2>&1 || :; }
__EOF__
%pre
[ ! -f %modutils_oss ] || {
grep -q "^above snd-" %modules_conf && {
echo '*** %modutils_oss found:'
echo '*** commenting out "above/below snd-*-oss" lines in %modules_conf'
subst 's/^above snd-.* snd-.*-oss$/#&/' %modules_conf ||:
} ||:
}
%post -p %post_ldconfig
%postun -p %postun_ldconfig
%files
%_libdir/*.so.*
%dir %_libdir/alsa-lib/
%_libdir/alsa-lib/smixer/
%_sysconfdir/modprobe.d/alsa-modindex
%_datadir/alsa/
%files devel
%_libdir/*.so
%_libdir/pkgconfig/alsa.pc
%_includedir/sys/*
%_includedir/alsa/
%_datadir/aclocal/*
#_bindir/alsalisp
%if_disabled static
%else
%files devel-static
#_libdir/*.la
%_libdir/*.a
%endif
%files docs
%dir %pkgdocdir
%pkgdocdir/[D-Z]*
%pkgdocdir/html
%files -n aserver
%_bindir/aserver
%changelog
…
Todas as alterações você pod ver aqui