|
|
@ -5,7 +5,7 @@
|
|
|
|
Summary: Free firewire audio driver library
|
|
|
|
Summary: Free firewire audio driver library
|
|
|
|
Name: libffado
|
|
|
|
Name: libffado
|
|
|
|
Version: 2.1.0
|
|
|
|
Version: 2.1.0
|
|
|
|
Release: 0.6.20111030.svn2000%{?dist}
|
|
|
|
Release: 0.7.20111030.svn2000%{?dist}
|
|
|
|
# src/libutil/float_cast.h is LGPLv2+.
|
|
|
|
# src/libutil/float_cast.h is LGPLv2+.
|
|
|
|
# The rest is (GPLv2 or GPLv3)
|
|
|
|
# The rest is (GPLv2 or GPLv3)
|
|
|
|
License: LGPLv2+ and (GPLv2 or GPLv3)
|
|
|
|
License: LGPLv2+ and (GPLv2 or GPLv3)
|
|
|
@ -24,7 +24,6 @@ Patch0: libffado-api-doc-only.patch
|
|
|
|
# Fix gcc-4.7 compilation error
|
|
|
|
# Fix gcc-4.7 compilation error
|
|
|
|
# http://subversion.ffado.org/ticket/344
|
|
|
|
# http://subversion.ffado.org/ticket/344
|
|
|
|
Patch1: libffado-gcc47.patch
|
|
|
|
Patch1: libffado-gcc47.patch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: alsa-lib-devel
|
|
|
|
BuildRequires: dbus-c++-devel
|
|
|
|
BuildRequires: dbus-c++-devel
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
BuildRequires: dbus-devel
|
|
|
@ -82,12 +81,15 @@ Applications and utilities for use with libffado.
|
|
|
|
|
|
|
|
|
|
|
|
cp -a %{SOURCE1} .
|
|
|
|
cp -a %{SOURCE1} .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# We don't want to install all tests
|
|
|
|
|
|
|
|
sed -i '/Install/d' tests/{,*/}SConscript
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
scons %{?_smp_mflags} \
|
|
|
|
scons %{?_smp_mflags} \
|
|
|
|
COMPILE_FLAGS="%{optflags} -ffast-math" \
|
|
|
|
COMPILE_FLAGS="%{optflags} -ffast-math" \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
BUILD_TESTS=0
|
|
|
|
BUILD_TESTS=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
@ -96,11 +98,14 @@ scons DESTDIR=%{buildroot} install
|
|
|
|
# We need to install the xdg stuff manually
|
|
|
|
# We need to install the xdg stuff manually
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
|
|
|
|
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
|
|
|
|
|
|
|
|
--add-category="Settings" \
|
|
|
|
support/xdg/ffado.org-ffadomixer.desktop
|
|
|
|
support/xdg/ffado.org-ffadomixer.desktop
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
|
|
|
|
ln -s ../../../../libffado/icons/hi64-apps-ffado.png \
|
|
|
|
ln -s ../../../../libffado/icons/hi64-apps-ffado.png \
|
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ffado.png
|
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ffado.png
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Install ffado-test RHBZ#805940
|
|
|
|
|
|
|
|
install -m 755 tests/ffado-test %{buildroot}%{_bindir}
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
@ -143,6 +148,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
%{python_sitelib}/ffado/
|
|
|
|
%{python_sitelib}/ffado/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Mar 22 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.7.20111030.svn2000
|
|
|
|
|
|
|
|
- Include the ffado-test executable RHBZ#805940
|
|
|
|
|
|
|
|
- Fix .desktop file warning
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.6.20111030.svn2000
|
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.6.20111030.svn2000
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
|
|
|
|
|
|
|