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