Bring alsa-tools in line with the version already in extras-FC-3. Also:
Wed Apr 06 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.8-1 - Update to 1.0.8
This commit is contained in:
parent
a5c25946ee
commit
ecc67a90f5
@ -1 +1 @@
|
|||||||
alsa-tools-1.0.4.tar.bz2
|
alsa-tools-1.0.8.tar.bz2
|
||||||
|
11
alsa-tools-as10k1gcc_fix.patch
Normal file
11
alsa-tools-as10k1gcc_fix.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- as10k1/as10k1.c.org 2004-12-19 19:30:31.944508232 +0100
|
||||||
|
+++ as10k1/as10k1.c 2004-12-19 19:30:45.336472344 +0100
|
||||||
|
@@ -159,7 +159,7 @@
|
||||||
|
|
||||||
|
}
|
||||||
|
next_cli_arg:
|
||||||
|
-
|
||||||
|
+ ;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
100
alsa-tools.spec
100
alsa-tools.spec
@ -1,21 +1,23 @@
|
|||||||
|
%{?!_without_tools: %define builddirstools ac3dec as10k1 envy24control hdspconf hdspmixer rmedigicontrol sbiload sb16_csp sscape_ctl us428control }
|
||||||
|
%{?_without_tools: %{!?_with_firmware: %define _with_firmware 1}}
|
||||||
|
%{?_with_firmware: %define builddirsfirmw hdsploader mixartloader usx2yloader vxloader }
|
||||||
|
|
||||||
Summary: The ALSA Tools
|
Summary: The ALSA Tools
|
||||||
Name: alsa-tools
|
Name: alsa-tools
|
||||||
Version: 1.0.4
|
Version: 1.0.8
|
||||||
Release: 1.1
|
Release: 1
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
URL: http://www.alsa-project.org/
|
URL: http://www.alsa-project.org/
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
|
||||||
|
Patch0: %{name}-as10k1gcc_fix.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: gtk+-devel alsa-driver fltk-devel automake
|
BuildRequires: alsa-lib-devel >= %{version}
|
||||||
BuildRequires: alsa-lib-devel >= 1.0.4
|
%if 0%{!?_without_tools:1}
|
||||||
Buildrequires: desktop-file-utils
|
BuildRequires: gtk+-devel
|
||||||
|
BuildRequires: fltk-devel
|
||||||
%package firmware
|
Buildrequires: desktop-file-utils
|
||||||
Summary: Alsa-Tool to upload the firmware (needed for some soundcards)
|
%endif
|
||||||
Group: Applications/System
|
|
||||||
Requires: hotplug alsa-firmware
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains several tools which can be used together with
|
This package contains several tools which can be used together with
|
||||||
@ -29,6 +31,14 @@ Some Noteable:
|
|||||||
* sbiload - An OPL2/3 FM instrument loader for ALSA sequencer
|
* sbiload - An OPL2/3 FM instrument loader for ALSA sequencer
|
||||||
* sscape_ctl - ALSA SoundScape control utility
|
* sscape_ctl - ALSA SoundScape control utility
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
%package firmware
|
||||||
|
Summary: Alsa-Tool to upload the firmware (needed for some soundcards)
|
||||||
|
Group: Applications/System
|
||||||
|
Requires: hotplug alsa-firmware
|
||||||
|
|
||||||
|
|
||||||
%description firmware
|
%description firmware
|
||||||
This package contains several tools which will flash the firmware into the
|
This package contains several tools which will flash the firmware into the
|
||||||
Soundcards. The following tools are available:
|
Soundcards. The following tools are available:
|
||||||
@ -40,18 +50,13 @@ usx2yloader - Second Phase Firmware loader for Tascam USX2Y USB soundcards
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
echo "
|
%setup -q -n %{name}-%{version}
|
||||||
--------------------------------------------------------------
|
%patch0 -b .patch0
|
||||||
Hasn't been built nor updated since FC1.
|
|
||||||
Needs decision on whether to drop it.
|
|
||||||
--------------------------------------------------------------" > /dev/null
|
|
||||||
exit 1
|
|
||||||
%setup -q
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mv seq/sbiload . ; rmdir seq
|
mv seq/sbiload . ; rmdir seq
|
||||||
for i in *
|
for i in %{?builddirstools:%builddirstools} %{?builddirsfirmw:%builddirsfirmw}
|
||||||
do
|
do
|
||||||
cd $i ; %configure
|
cd $i ; %configure
|
||||||
%{__make} %{?_smp_mflags} || exit 1
|
%{__make} %{?_smp_mflags} || exit 1
|
||||||
@ -61,24 +66,22 @@ done
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
[ -f debugfiles.list ] && rm debugfiles.list
|
|
||||||
[ -f debugsources.list ] && rm debugsources.list
|
|
||||||
|
|
||||||
for i in *
|
for i in %{?builddirstools:%builddirstools} %{?builddirsfirmw:%builddirsfirmw}
|
||||||
do
|
do
|
||||||
case $i in
|
case $i in
|
||||||
hdspconf)
|
hdspconf)
|
||||||
(cd $i ; %makeinstall pixmapdir=${RPM_BUILD_ROOT}%{_datadir}/pixmaps desktopdir=${RPM_BUILD_ROOT}%{_datadir}/applications ) || exit 1
|
(cd $i ; %makeinstall pixmapdir=${RPM_BUILD_ROOT}%{_datadir}/pixmaps desktopdir=${RPM_BUILD_ROOT}%{_datadir}/applications ) || exit 1
|
||||||
;;
|
;;
|
||||||
hdspmixer)
|
hdspmixer)
|
||||||
(cd $i ; %makeinstall pixmapdir=${RPM_BUILD_ROOT}%{_datadir}/pixmaps desktopdir=${RPM_BUILD_ROOT}%{_datadir}/applications ) || exit 1
|
(cd $i ; %makeinstall pixmapdir=${RPM_BUILD_ROOT}%{_datadir}/pixmaps desktopdir=${RPM_BUILD_ROOT}%{_datadir}/applications ) || exit 1
|
||||||
;;
|
;;
|
||||||
usx2yloader)
|
usx2yloader)
|
||||||
(cd $i ; %makeinstall hotplugdir=${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb) || exit 1
|
(cd $i ; %makeinstall hotplugdir=${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb) || exit 1
|
||||||
;;
|
;;
|
||||||
*) (cd $i ; %makeinstall) || exit 1
|
*) (cd $i ; %makeinstall) || exit 1
|
||||||
esac
|
esac
|
||||||
if [[ -s "${i}"/README ]]
|
if [[ -s "${i}"/README ]]
|
||||||
then
|
then
|
||||||
if [[ ! -d "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}" ]]
|
if [[ ! -d "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}" ]]
|
||||||
then
|
then
|
||||||
@ -86,31 +89,27 @@ do
|
|||||||
fi
|
fi
|
||||||
cp "${i}"/README "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
cp "${i}"/README "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
||||||
fi
|
fi
|
||||||
if [[ -s "${i}"/COPYING ]]
|
if [[ -s "${i}"/COPYING ]]
|
||||||
then
|
then
|
||||||
if [[ ! -d "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}" ]]
|
if [[ ! -d "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}" ]]
|
||||||
then
|
then
|
||||||
mkdir -p "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
mkdir -p "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
||||||
fi
|
fi
|
||||||
cp "${i}"/COPYING "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
cp "${i}"/COPYING "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
||||||
|
fi
|
||||||
|
if [[ -s ${RPM_BUILD_ROOT}%{_datadir}/applications/${i}.desktop ]] ; then
|
||||||
|
desktop-file-install --vendor fedora \
|
||||||
|
--add-category "X-Fedora" \
|
||||||
|
--delete-original \
|
||||||
|
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||||
|
${RPM_BUILD_ROOT}%{_datadir}/applications/${i}.desktop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
done
|
done
|
||||||
|
|
||||||
for f in ${RPM_BUILD_ROOT}%{_datadir}/applications/*.desktop; do
|
|
||||||
desktop-file-install --vendor fedora \
|
|
||||||
--add-category "X-Fedora" \
|
|
||||||
--delete-original \
|
|
||||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
||||||
$f
|
|
||||||
done
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%if 0%{!?_without_tools:1}
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc %{_docdir}/%{name}-%{version}/ac3dec
|
%doc %{_docdir}/%{name}-%{version}/ac3dec
|
||||||
@ -138,7 +137,10 @@ done
|
|||||||
%{_datadir}/man/man1/envy24control.1.gz
|
%{_datadir}/man/man1/envy24control.1.gz
|
||||||
%{_datadir}/pixmaps/hdspconf.png
|
%{_datadir}/pixmaps/hdspconf.png
|
||||||
%{_datadir}/pixmaps/hdspmixer.png
|
%{_datadir}/pixmaps/hdspmixer.png
|
||||||
|
%{_datadir}/sounds/
|
||||||
|
%endif # ?!_without_tools
|
||||||
|
|
||||||
|
%if 0%{?_with_firmware:1}
|
||||||
%files firmware
|
%files firmware
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc %{_docdir}/%{name}-%{version}/hdsploader
|
%doc %{_docdir}/%{name}-%{version}/hdsploader
|
||||||
@ -152,9 +154,21 @@ done
|
|||||||
%{_bindir}/mixartloader
|
%{_bindir}/mixartloader
|
||||||
%{_bindir}/usx2yloader
|
%{_bindir}/usx2yloader
|
||||||
%{_bindir}/vxloader
|
%{_bindir}/vxloader
|
||||||
|
%endif # ?_with_firmware
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 06 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 1.0.8-1
|
||||||
|
- Update to 1.0.8
|
||||||
|
|
||||||
|
* Sun Mar 29 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.6-2
|
||||||
|
- Add "--without tools" and "--with firmware" options
|
||||||
|
- Drop unneeded BR: automake
|
||||||
|
|
||||||
|
* Sun Jan 02 2005 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.6-0.fdr.1
|
||||||
|
- Update to 1.0.6 for FC3
|
||||||
|
- add new files in {_datadir}/sounds/
|
||||||
|
- add patch0 for as10k1
|
||||||
|
|
||||||
* Sat Apr 03 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.4-0.fdr.1
|
* Sat Apr 03 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.4-0.fdr.1
|
||||||
- Update to 1.0.4
|
- Update to 1.0.4
|
||||||
|
|
||||||
@ -183,5 +197,3 @@ done
|
|||||||
|
|
||||||
* Wed Aug 13 2003 Dams <anvil[AT]livna.org> 0:tools-0.fdr.1
|
* Wed Aug 13 2003 Dams <anvil[AT]livna.org> 0:tools-0.fdr.1
|
||||||
- Initial build.
|
- Initial build.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user