2024-01-06 04:14:30 +01:00
|
|
|
Name: libffado
|
2024-01-06 04:14:31 +01:00
|
|
|
Version: 2.4.5
|
|
|
|
Release: 1mamba
|
2024-01-06 04:14:30 +01:00
|
|
|
Summary: Free Firewire Audio Drivers Library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 04:14:31 +01:00
|
|
|
URL: http://ffado.org/
|
2024-01-06 04:14:30 +01:00
|
|
|
Source0: http://www.ffado.org/files/libffado-%{version}.tgz
|
|
|
|
Source1: README.ffado
|
|
|
|
Patch4: libffado-libconfig145.patch
|
|
|
|
Patch5: libffado-python26.patch
|
|
|
|
Patch6: libffado-2.0.1-gcc-4.7.patch
|
|
|
|
License: GPL, LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libconfig-devel
|
|
|
|
BuildRequires: libdbus-c++-devel
|
|
|
|
BuildRequires: libdbus-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 04:14:31 +01:00
|
|
|
BuildRequires: libglibmm24-devel
|
2024-01-06 04:14:30 +01:00
|
|
|
BuildRequires: libiec61883-devel
|
2024-01-06 04:14:31 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 04:14:30 +01:00
|
|
|
BuildRequires: libraw1394-devel
|
2024-01-06 04:14:31 +01:00
|
|
|
BuildRequires: libsigc++2-devel
|
2024-01-06 04:14:30 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 04:14:31 +01:00
|
|
|
BuildRequires: libxml++3-devel
|
2024-01-06 04:14:31 +01:00
|
|
|
BuildRequires: libxml2-devel
|
2024-01-06 04:14:30 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: graphviz
|
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: scons
|
|
|
|
BuildRequires: subversion
|
2024-01-06 04:14:31 +01:00
|
|
|
Requires: ffado = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The FFADO project aims to provide a generic, open-source solution for the support of FireWire based audio devices for the Linux platform. It is the successor of the FreeBoB project.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
The FFADO project aims to provide a generic, open-source solution for the support of FireWire based audio devices for the Linux platform. It is the successor of the FreeBoB project.
|
2024-01-06 04:14:31 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%package -n ffado
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Applications and utilities for use with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: dbus
|
2024-01-06 04:14:31 +01:00
|
|
|
Requires: python-dbus-py3
|
|
|
|
Requires: PyQt5
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%description -n ffado
|
|
|
|
The FFADO project aims to provide a generic, open-source solution for the support of FireWire based audio devices for the Linux platform. It is the successor of the FreeBoB project.
|
|
|
|
This package contains applications and utilities for use with %{name}.
|
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
%debug_package
|
2024-01-06 04:14:30 +01:00
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
%prep
|
2024-01-06 04:14:30 +01:00
|
|
|
%setup -q
|
2024-01-06 04:14:31 +01:00
|
|
|
#%patch4 -p1
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
cp -a %{SOURCE1} .
|
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
#sed -i '1s|#!/usr/bin/python|#!%{__python}|' support/mixer-qt4/ffado-mixer.in
|
|
|
|
#sed -i '1s|#!/usr/bin/python|#!%{__python}|' support/mixer-qt4/ffado-mixer-profiler.in
|
|
|
|
#sed -i '1s|#!/usr/bin/python|#!%{__python}|' support/tools/ffado-diag.in
|
|
|
|
#sed -i '1s|#!/usr/bin/python|#!%{__python}|' support/tools/ffado-diag-static
|
2024-01-06 04:14:30 +01:00
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
#for s in $(find . -name "*~"); do
|
|
|
|
# rm -rf $s
|
|
|
|
#done
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 04:14:31 +01:00
|
|
|
export CFLAGS="%{optflags} -ffast-math"
|
|
|
|
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
|
|
|
|
2024-01-06 04:14:30 +01:00
|
|
|
scons %{?_smp_mflags} \
|
|
|
|
PREFIX=%{_prefix} \
|
|
|
|
LIBDIR=%{_libdir} \
|
|
|
|
MANDIR=%{_mandir} \
|
2024-01-06 04:14:31 +01:00
|
|
|
UDEVDIR=%{_udevrulesdir} \
|
2024-01-06 04:14:31 +01:00
|
|
|
ENABLE_SETBUFFERSIZE_API_VER=True \
|
|
|
|
ENABLE_OPTIMIZATIONS=True \
|
|
|
|
CUSTOM_ENV=True \
|
|
|
|
BUILD_DOC=user \
|
|
|
|
PYTHON_INTERPRETER=%{__python3} \
|
2024-01-06 04:14:30 +01:00
|
|
|
BUILD_TESTS=0
|
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
# PYUIC4=%{_bindir}/pyuic4 \
|
|
|
|
# COMPILE_FLAGS="%{optflags} -ffast-math -lpthread" \
|
|
|
|
|
2024-01-06 04:14:30 +01:00
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
scons DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
install -pm 644 support/xdg/ffado.org-ffadomixer.desktop %{buildroot}%{_datadir}/applications/
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
|
|
|
|
ln -s ../../../../libffado/icons/hi64-apps-ffado.png \
|
|
|
|
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ffado.png
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n ffado
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%postun -n ffado
|
|
|
|
if [ $1 -eq 0 ] ; then
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
fi
|
2024-01-06 04:14:31 +01:00
|
|
|
:
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%posttrans -n ffado
|
|
|
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libffado.so.*
|
|
|
|
%dir %{_datadir}/libffado
|
|
|
|
%{_datadir}/libffado/configuration
|
2024-01-06 04:14:31 +01:00
|
|
|
%doc AUTHORS LICENSE.*
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/libffado
|
|
|
|
%{_includedir}/libffado/ffado.h
|
2024-01-06 04:14:31 +01:00
|
|
|
%{_libdir}/libffado/static_info.txt
|
2024-01-06 04:14:30 +01:00
|
|
|
%{_libdir}/libffado.so
|
|
|
|
%{_libdir}/pkgconfig/libffado.pc
|
2024-01-06 04:14:31 +01:00
|
|
|
%doc ChangeLog README README.ffado
|
2024-01-06 04:14:30 +01:00
|
|
|
|
|
|
|
%files -n ffado
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:14:31 +01:00
|
|
|
%{_udevrulesdir}/60-ffado.rules
|
2024-01-06 04:14:30 +01:00
|
|
|
%{_bindir}/ffado-bridgeco-downloader
|
|
|
|
%{_bindir}/ffado-dbus-server
|
|
|
|
%{_bindir}/ffado-diag
|
|
|
|
%{_bindir}/ffado-dice-firmware
|
|
|
|
%{_bindir}/ffado-fireworks-downloader
|
|
|
|
%{_bindir}/ffado-mixer
|
|
|
|
%{_bindir}/ffado-set-nickname
|
|
|
|
%{_datadir}/libffado/*.xml
|
|
|
|
%{_datadir}/applications/ffado.org-ffadomixer.desktop
|
2024-01-06 04:14:31 +01:00
|
|
|
%{_datadir}/metainfo/ffado-mixer.appdata.xml
|
2024-01-06 04:14:30 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.ffado.Control.service
|
|
|
|
%{_datadir}/icons/hicolor/64x64/apps/ffado.png
|
|
|
|
%{_datadir}/libffado/icons/hi64-apps-ffado.png
|
2024-01-06 04:14:31 +01:00
|
|
|
%dir %{python3_sitelib}/ffado
|
|
|
|
%{python3_sitelib}/ffado/*.py*
|
|
|
|
%{python3_sitelib}/ffado/*.ui
|
|
|
|
%dir %{python3_sitelib}/ffado/mixer
|
|
|
|
%{python3_sitelib}/ffado/mixer/*.py*
|
|
|
|
%{python3_sitelib}/ffado/mixer/*.ui
|
|
|
|
%dir %{python3_sitelib}/ffado/widgets
|
|
|
|
%{python3_sitelib}/ffado/widgets/*.py*
|
2024-01-06 04:14:30 +01:00
|
|
|
%{_mandir}/man1/ffado-*.1*
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:14:31 +01:00
|
|
|
* Sun Feb 27 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.5-1mamba
|
|
|
|
- update to 2.4.5
|
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
* Fri Mar 26 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-3mamba
|
|
|
|
- rebuilt against legact libxml++3
|
|
|
|
|
|
|
|
* Tue Mar 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libxml++-devel>=5.0.0-1mamba
|
|
|
|
|
2024-01-06 04:14:31 +01:00
|
|
|
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-1mamba
|
|
|
|
- update to 2.4.4
|
|
|
|
|
2024-01-06 04:14:30 +01:00
|
|
|
* Tue Jun 24 2014 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:14:30 +01:00
|
|
|
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
|
|
|
|
- python 2.7 mass rebuild
|
|
|
|
|
|
|
|
* Fri Oct 19 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- update to 2.1.0
|
|
|
|
|
|
|
|
* Tue Sep 04 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-3mamba
|
|
|
|
- rebuild (added gcc 4.7 patch)
|
|
|
|
|
|
|
|
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-2mamba
|
|
|
|
- imported from milestone1-contrib to devel
|
|
|
|
|
|
|
|
* Sat Oct 02 2010 gil <puntogil@libero.it> 2.0.1-1mamba
|
|
|
|
- package created by autospec
|