update to 2.4.4 [release 2.4.4-1mamba;Wed Dec 02 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:14:31 +01:00
parent 3196072d23
commit 91a4f6d2bf

View File

@ -1,5 +1,5 @@
Name: libffado
Version: 2.2.1
Version: 2.4.4
Release: 1mamba
Summary: Free Firewire Audio Drivers Library
Group: System/Libraries
@ -26,8 +26,8 @@ Patch5: libffado-python26.patch
Patch6: libffado-2.0.1-gcc-4.7.patch
License: GPL, LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: dbus
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libconfig-devel
BuildRequires: libdbus-c++-devel
BuildRequires: libdbus-devel
@ -39,11 +39,8 @@ BuildRequires: libpython-devel
BuildRequires: libraw1394-devel
BuildRequires: libsigc++-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libxml++-devel
BuildRequires: pkg-config
BuildRequires: PyQt4-devel
BuildRequires: python-dbus-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: doxygen
BuildRequires: graphviz
@ -62,54 +59,55 @@ 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.
This package contains static libraries and header files need for development.
This package contains static libraries and header files needed for development.
%package -n ffado
Group: Development/Libraries
Summary: Applications and utilities for use with %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: dbus
Requires: python-dbus
Requires: PyQt4
Requires: python-dbus-py3
Requires: PyQt5
%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}.
%prep
%debug_package
%prep
%setup -q
#%patch0 -p1
#%patch1 -p1
#%patch2 -p1
#%patch3 -p1
%patch4 -p1
#%patch5
#%patch6 -p1
#%patch4 -p1
cp -a %{SOURCE1} .
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
#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
for s in $(find . -name "*~"); do
rm -rf $s
done
#for s in $(find . -name "*~"); do
# rm -rf $s
#done
%build
export CFLAGS="%{optflags} -ffast-math"
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
scons %{?_smp_mflags} \
COMPILE_FLAGS="%{optflags} -ffast-math -lpthread" \
PREFIX=%{_prefix} \
LIBDIR=%{_libdir} \
MANDIR=%{_mandir} \
PYUIC4=%{_bindir}/pyuic4 \
PYTHONDIR=%{python26_sitearch} \
ENABLE_SETBUFFERSIZE_API_VER=True \
ENABLE_OPTIMIZATIONS=True \
CUSTOM_ENV=True \
BUILD_DOC=user \
PYTHON_INTERPRETER=%{__python3} \
BUILD_TESTS=0
# PYUIC4=%{_bindir}/pyuic4 \
# COMPILE_FLAGS="%{optflags} -ffast-math -lpthread" \
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -144,19 +142,21 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_libdir}/libffado.so.*
%dir %{_datadir}/libffado
%{_datadir}/libffado/configuration
%doc AUTHORS ChangeLog LICENSE.* README
%doc AUTHORS LICENSE.*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/libffado
%{_includedir}/libffado/ffado.h
%{_libdir}/libffado/static_info.txt
%{_libdir}/libffado.so
%{_libdir}/pkgconfig/libffado.pc
#%doc doc/reference/html/*
%doc ChangeLog README
%files -n ffado
%defattr(-,root,root)
/lib/udev/rules.d/60-ffado.rules
%{_udevrulesdir}/60-ffado.rules
%{_bindir}/ffado-bridgeco-downloader
%{_bindir}/ffado-dbus-server
%{_bindir}/ffado-diag
@ -165,23 +165,26 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%{_bindir}/ffado-mixer
%{_bindir}/ffado-set-nickname
%{_datadir}/libffado/*.xml
%{_datadir}/libffado/python
%{_datadir}/applications/ffado.org-ffadomixer.desktop
%{_datadir}/metainfo/ffado-mixer.appdata.xml
%{_datadir}/dbus-1/services/org.ffado.Control.service
%{_datadir}/icons/hicolor/64x64/apps/ffado.png
%{_datadir}/libffado/icons/hi64-apps-ffado.png
%dir %{python_sitearch}/ffado
%{python_sitearch}/ffado/*.py*
%{python_sitearch}/ffado/*.ui
%dir %{python_sitearch}/ffado/mixer
%{python_sitearch}/ffado/mixer/*.py*
%{python_sitearch}/ffado/mixer/*.ui
%dir %{python_sitearch}/ffado/widgets
%{python_sitearch}/ffado/widgets/*.py*
%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*
%{_mandir}/man1/ffado-*.1*
%doc README.ffado
%changelog
* Wed Dec 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-1mamba
- update to 2.4.4
* Tue Jun 24 2014 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic version update by autodist