2004-11-08 04:01:52 +00:00
|
|
|
Summary: The ALSA Tools
|
|
|
|
Name: alsa-tools
|
|
|
|
Version: 1.0.4
|
2004-12-02 01:11:34 +00:00
|
|
|
Release: 1.1
|
2004-11-08 04:01:52 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/Multimedia
|
|
|
|
URL: http://www.alsa-project.org/
|
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: gtk+-devel alsa-driver fltk-devel automake
|
2005-03-03 19:45:26 +00:00
|
|
|
BuildRequires: alsa-lib-devel >= 1.0.4
|
2005-03-03 19:29:59 +00:00
|
|
|
Buildrequires: desktop-file-utils
|
2004-11-08 04:01:52 +00:00
|
|
|
|
|
|
|
%package firmware
|
|
|
|
Summary: Alsa-Tool to upload the firmware (needed for some soundcards)
|
|
|
|
Group: Applications/System
|
|
|
|
Requires: hotplug alsa-firmware
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains several tools which can be used together with
|
|
|
|
ALSA-Drivers and -Libs. Some of this tools are only needed for special
|
|
|
|
Sound-Cards or -Chips.
|
|
|
|
|
|
|
|
Some Noteable:
|
|
|
|
|
|
|
|
* ac3dec - A free AC-3 stream decoder
|
|
|
|
* cspctl - Sound Blaster 16 ASP/CSP control program
|
|
|
|
* sbiload - An OPL2/3 FM instrument loader for ALSA sequencer
|
|
|
|
* sscape_ctl - ALSA SoundScape control utility
|
|
|
|
|
|
|
|
%description firmware
|
|
|
|
This package contains several tools which will flash the firmware into the
|
|
|
|
Soundcards. The following tools are available:
|
|
|
|
|
|
|
|
hdsploader - for the RME Hammerfall DSP cards
|
|
|
|
mixartloader - for Digigram miXart soundcards
|
|
|
|
vxloader - for Digigram VX soundcards
|
|
|
|
usx2yloader - Second Phase Firmware loader for Tascam USX2Y USB soundcards
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2004-12-02 01:11:34 +00:00
|
|
|
echo "
|
|
|
|
--------------------------------------------------------------
|
|
|
|
Hasn't been built nor updated since FC1.
|
|
|
|
Needs decision on whether to drop it.
|
|
|
|
--------------------------------------------------------------" > /dev/null
|
|
|
|
exit 1
|
2005-03-03 19:29:59 +00:00
|
|
|
%setup -q
|
2004-11-08 04:01:52 +00:00
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
mv seq/sbiload . ; rmdir seq
|
|
|
|
for i in *
|
|
|
|
do
|
|
|
|
cd $i ; %configure
|
|
|
|
%{__make} %{?_smp_mflags} || exit 1
|
|
|
|
cd ..
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
[ -f debugfiles.list ] && rm debugfiles.list
|
|
|
|
[ -f debugsources.list ] && rm debugsources.list
|
|
|
|
|
|
|
|
for i in *
|
2005-03-03 19:29:59 +00:00
|
|
|
do
|
2004-11-08 04:01:52 +00:00
|
|
|
case $i in
|
|
|
|
hdspconf)
|
2005-03-03 19:29:59 +00:00
|
|
|
(cd $i ; %makeinstall pixmapdir=${RPM_BUILD_ROOT}%{_datadir}/pixmaps desktopdir=${RPM_BUILD_ROOT}%{_datadir}/applications ) || exit 1
|
2004-11-08 04:01:52 +00:00
|
|
|
;;
|
|
|
|
hdspmixer)
|
2005-03-03 19:29:59 +00:00
|
|
|
(cd $i ; %makeinstall pixmapdir=${RPM_BUILD_ROOT}%{_datadir}/pixmaps desktopdir=${RPM_BUILD_ROOT}%{_datadir}/applications ) || exit 1
|
2004-11-08 04:01:52 +00:00
|
|
|
;;
|
|
|
|
usx2yloader)
|
2005-03-03 19:29:59 +00:00
|
|
|
(cd $i ; %makeinstall hotplugdir=${RPM_BUILD_ROOT}%{_sysconfdir}/hotplug/usb) || exit 1
|
2004-11-08 04:01:52 +00:00
|
|
|
;;
|
|
|
|
*) (cd $i ; %makeinstall) || exit 1
|
|
|
|
esac
|
2005-03-03 19:29:59 +00:00
|
|
|
if [[ -s "${i}"/README ]]
|
2004-11-08 04:01:52 +00:00
|
|
|
then
|
|
|
|
if [[ ! -d "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}" ]]
|
|
|
|
then
|
|
|
|
mkdir -p "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
|
|
|
fi
|
|
|
|
cp "${i}"/README "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
|
|
|
fi
|
2005-03-03 19:29:59 +00:00
|
|
|
if [[ -s "${i}"/COPYING ]]
|
2004-11-08 04:01:52 +00:00
|
|
|
then
|
|
|
|
if [[ ! -d "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}" ]]
|
|
|
|
then
|
|
|
|
mkdir -p "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
|
|
|
fi
|
|
|
|
cp "${i}"/COPYING "${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/${i}"
|
|
|
|
fi
|
|
|
|
|
2005-03-03 19:29:59 +00:00
|
|
|
|
2004-11-08 04:01:52 +00:00
|
|
|
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
|
|
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/ac3dec
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/as10k1
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/envy24control
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/hdspconf
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/hdspmixer
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/rmedigicontrol
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/sbiload
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/sb16_csp
|
|
|
|
%{_bindir}/ac3dec
|
|
|
|
%{_bindir}/as10k1
|
|
|
|
%{_bindir}/cspctl
|
|
|
|
%{_bindir}/envy24control
|
|
|
|
%{_bindir}/extract_ac3
|
|
|
|
%{_bindir}/hdspconf
|
|
|
|
%{_bindir}/hdspmixer
|
|
|
|
%{_bindir}/rmedigicontrol
|
|
|
|
%{_bindir}/sbiload
|
|
|
|
%{_bindir}/sscape_ctl
|
|
|
|
%{_bindir}/us428control
|
|
|
|
%{_datadir}/applications/fedora-hdspconf.desktop
|
|
|
|
%{_datadir}/applications/fedora-hdspmixer.desktop
|
|
|
|
%{_datadir}/man/man1/cspctl.1.gz
|
|
|
|
%{_datadir}/man/man1/envy24control.1.gz
|
|
|
|
%{_datadir}/pixmaps/hdspconf.png
|
|
|
|
%{_datadir}/pixmaps/hdspmixer.png
|
|
|
|
|
|
|
|
%files firmware
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/hdsploader
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/mixartloader
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/usx2yloader
|
|
|
|
%doc %{_docdir}/%{name}-%{version}/vxloader
|
|
|
|
%{_sysconfdir}/hotplug/usb/tascam_fpga
|
|
|
|
%{_sysconfdir}/hotplug/usb/tascam_fw
|
|
|
|
%{_sysconfdir}/hotplug/usb/tascam_fw.usermap
|
|
|
|
%{_bindir}/hdsploader
|
|
|
|
%{_bindir}/mixartloader
|
|
|
|
%{_bindir}/usx2yloader
|
|
|
|
%{_bindir}/vxloader
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Apr 03 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.4-0.fdr.1
|
|
|
|
- Update to 1.0.4
|
|
|
|
|
|
|
|
* Fri Jan 16 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.1-0.fdr.2
|
|
|
|
- Integrate Michaels patch that fixes:
|
|
|
|
- fix desktop files for fedora.us, adds buildreq desktop-file-utils
|
|
|
|
- fix %%install section for short-circuit installs
|
|
|
|
|
|
|
|
* Fri Jan 09 2004 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 0:1.0.1-0.fdr.1
|
|
|
|
- Update to 1.0.1
|
|
|
|
|
|
|
|
* Sun Dec 14 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.3.rc2
|
|
|
|
- exit if error during build or install
|
|
|
|
- fix install errors hdspconf, hdspmixer, usx2yloader
|
|
|
|
- Split package in alsa-tools and alsa-tools-firmware
|
|
|
|
- Integrate more docs
|
|
|
|
|
|
|
|
* Fri Dec 06 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.2.rc2
|
|
|
|
- Update to 1.0.0rc2
|
|
|
|
- some minor corrections in style
|
|
|
|
|
|
|
|
* Thu Dec 04 2003 Thorsten Leemhuis <fedora[AT]leemhuis.info> 1.0.0-0.fdr.0.1.rc1
|
|
|
|
- Update to 1.0.0rc1
|
|
|
|
- Remove firmware files -- extra package now.
|
|
|
|
- Add description
|
|
|
|
|
|
|
|
* Wed Aug 13 2003 Dams <anvil[AT]livna.org> 0:tools-0.fdr.1
|
|
|
|
- Initial build.
|
|
|
|
|
|
|
|
|