Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Jaroslav Kysela
5076a2c47f updated to 1.1.6 2018-04-03 19:06:55 +02:00
Jaroslav Kysela
bf87a3365b updated to 1.1.5 2017-11-14 10:24:34 +01:00
9 changed files with 32 additions and 93 deletions

View file

@ -3,8 +3,8 @@
# (see alsa-firmware), it is some complementary tools.
# Do *NOT* set it to zero or have a commented out define here, or it will not
# work. (RPM spec file voodoo)
%if 0%{?rhel}
%global _without_tools 1
%if 0%{?rhel}
%global _without_tools 1
%endif
%ifarch ppc ppc64
@ -24,28 +24,17 @@
Summary: Specialist tools for ALSA
Name: alsa-tools
Version: 1.1.3
Release: 4%{?dist}
Version: 1.1.6
Release: 1%{?dist}
# Checked at least one source file from all the sub-projects contained in
# the source tarball and they are consistent GPLv2+ - TJ 2007-11-15
License: GPLv2+
Group: Applications/Multimedia
URL: http://www.alsa-project.org/
Source: ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
Source: ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
# The icons below were created by Tim Jackson from screenshots of the
# apps in question. They suck, a lot. Better alternatives welcome!
Source1: envy24control.desktop
Source2: envy24control.png
Source3: echomixer.desktop
Source4: echomixer.png
Source5: 90-alsa-tools-firmware.rules
# Resized version of public domain clipart found here:
# http://www.openclipart.org/detail/17428
Source6: hwmixvolume.png
Source7: hwmixvolume.desktop
Source9: hdajackretask.desktop
Source1: 90-alsa-tools-firmware.rules
BuildRequires: alsa-lib-devel >= %{version}
%if 0%{!?_without_tools:1}
@ -112,35 +101,18 @@ do
cd ..
done
%install
mkdir -p %{buildroot}%{_datadir}/{pixmaps,applications}
for i in %{?builddirstools:%builddirstools} %{?builddirsfirmw:%builddirsfirmw}
do
case $i in
echomixer)
(cd $i ; %make_install ; install -m 644 %{SOURCE4} %{buildroot}%{_datadir}/pixmaps/ ; install -m 644 %{SOURCE3} %{buildroot}%{_datadir}/applications/ ) || exit 1
;;
envy24control)
(cd $i ; %make_install ; install -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/ ; install -m 644 %{SOURCE1} %{buildroot}%{_datadir}/applications/ ) || exit 1
;;
hdspconf)
(cd $i ; %make_install ) || exit 1
;;
hdspmixer)
(cd $i ; %make_install ) || exit 1
;;
hwmixvolume)
(cd $i ; %make_install ; install -m 644 %{SOURCE6} %{buildroot}%{_datadir}/pixmaps/ ; install -m 644 %{SOURCE7} %{buildroot}%{_datadir}/applications/ ) || exit 1
;;
usx2yloader)
(cd $i ; %make_install hotplugdir=/lib/udev) || exit 1
;;
hdajackretask)
(cd $i ; %make_install ; install -m 644 %{SOURCE9} %{buildroot}%{_datadir}/applications/ ) || exit 1
*)
(cd $i ; %make_install) || exit 1
;;
*) (cd $i ; %make_install) || exit 1
esac
if [[ -s "${i}"/README ]]
then
@ -159,6 +131,7 @@ do
cp "${i}"/COPYING "%{buildroot}%{_pkgdocdir}/${i}"
fi
if [[ -s %{buildroot}%{_datadir}/applications/${i}.desktop ]] ; then
desktop-file-validate %{buildroot}%{_datadir}/applications/${i}.desktop
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
%{buildroot}%{_datadir}/applications/${i}.desktop
fi
@ -167,7 +140,19 @@ done
# convert hotplug stuff to udev
rm -f %{buildroot}/lib/udev/tascam_fw.usermap
mkdir -p %{buildroot}/lib/udev/rules.d
install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
install -m 644 %{SOURCE1} %{buildroot}/lib/udev/rules.d
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%if 0%{!?_without_tools:1}
%files
@ -195,19 +180,10 @@ install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
%{_bindir}/hda-verb
%{_bindir}/hdajackretask
%{_bindir}/hdajacksensetest
%{_datadir}/applications/echomixer.desktop
%{_datadir}/applications/envy24control.desktop
%{_datadir}/applications/hdspconf.desktop
%{_datadir}/applications/hdspmixer.desktop
%{_datadir}/applications/hwmixvolume.desktop
%{_datadir}/applications/hdajackretask.desktop
%{_datadir}/man/man1/envy24control.1.gz
%{_datadir}/pixmaps/echomixer.png
%{_datadir}/pixmaps/envy24control.png
%{_datadir}/pixmaps/hdspconf.png
%{_datadir}/pixmaps/hdspmixer.png
%{_datadir}/pixmaps/hwmixvolume.png
%{_datadir}/sounds/*
%{_datadir}/man/man1/envy24control.1.gz
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps*
# sb16_csp stuff which is excluded for PPCx
%ifnarch ppc ppc64
@ -235,6 +211,12 @@ install -m 644 %{SOURCE5} %{buildroot}/lib/udev/rules.d
%endif
%changelog
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
- Updated to 1.1.6
* Tue Nov 14 2017 Jaroslav Kysela <perex@perex.cz> - 1.1.5-1
- Updated to 1.1.5
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Echomixer
GenericName=Control Echo Digital Audio sound cards
Comment=Mixer and GUI control utility for Echo Digital Audio sound cards
Exec=echomixer
Icon=echomixer
Terminal=false
Type=Application
Categories=Application;AudioVideo;
Version=0.9.4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 841 B

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Envy24 Control
GenericName=Envy24 Control Utility
Comment=Mixer and GUI control utility for Envy24-based sound cards
Exec=envy24control
Icon=envy24control
Terminal=false
Type=Application
Categories=Application;AudioVideo;
Version=0.9.4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 945 B

View file

@ -1,10 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=HDAJackRetask
GenericName=Retask the audio jacks for the HDA sound driver
Comment=Retask the audio jacks for the HDA sound driver
Exec=hdajackretask
Terminal=false
Type=Application
Categories=Application;AudioVideo;
Version=0.9.4

View file

@ -1,11 +0,0 @@
[Desktop Entry]
Encoding=UTF-8
Name=Hwmixvolume
GenericName=Control the volume of individual streams on sound cards that use hardware mixing
Comment=Control the volume of individual streams on sound cards that use hardware mixing
Exec=hwmixvolume
Icon=hwmixvolume
Terminal=false
Type=Application
Categories=Application;AudioVideo;
Version=0.9.4

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

View file

@ -1 +1 @@
MD5 (alsa-tools-1.1.3.tar.bz2) = b23eaae687d55410b92587c2053b301f
SHA512 (alsa-tools-1.1.6.tar.bz2) = 33617ec6726ca11f66849c893a8dd9bf9faa8832374788819d9280159ac358c83443331faac24881df593cfd0b24b22769a41cbcb0af3c1fd781baab0c802d17