Compare commits
22 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
891493cc5e | ||
|
|
8d67b43f60 | ||
|
|
eb089fe7b1 | ||
|
|
a2a0448893 | ||
|
|
4a7176d9e7 | ||
|
|
b1f82a3ea6 | ||
|
|
24eee8bfb7 | ||
|
|
c24716dc41 | ||
|
|
3a478acfa8 | ||
|
|
b7cef06a67 | ||
|
|
2d34efb195 | ||
|
|
437df97673 | ||
|
|
a8e5c77510 | ||
|
|
075ed30bf7 | ||
|
|
72af73badd | ||
|
|
ecf0392148 | ||
|
|
ec9c526422 | ||
|
|
23aa915d40 | ||
|
|
ca7b59712d | ||
|
|
8ac0d478c1 | ||
|
|
e4549abebb | ||
|
|
f6ae14f3e1 |
3 changed files with 33 additions and 37 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -13,3 +13,5 @@ libffado-2.0.1-svn1864.tar.bz2
|
||||||
/libffado-2.4.5.tgz
|
/libffado-2.4.5.tgz
|
||||||
/libffado-2.4.6.tgz
|
/libffado-2.4.6.tgz
|
||||||
/libffado-2.4.7.tgz
|
/libffado-2.4.7.tgz
|
||||||
|
/libffado-2.4.8.tgz
|
||||||
|
/libffado-2.4.9.tgz
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,21 @@
|
||||||
%if ! 0%{?rhel} || 0%{?rhel} > 8
|
%if ! 0%{?rhel} || 0%{?rhel} > 8
|
||||||
%global needs_scons_quirk 0
|
%bcond scons_quirk 0
|
||||||
%else
|
%else
|
||||||
%global needs_scons_quirk 1
|
%bcond scons_quirk 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{without scons_quirk}
|
||||||
|
%global scons scons
|
||||||
|
%else
|
||||||
|
%global scons scons-3
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Free firewire audio driver library
|
Summary: Free firewire audio driver library
|
||||||
Name: libffado
|
Name: libffado
|
||||||
Version: 2.4.7
|
Version: 2.4.9
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
License: GPLv2 or GPLv3
|
# Automatically converted from old format: GPLv2 or GPLv3 - review is highly recommended.
|
||||||
|
License: GPL-2.0-only OR GPL-3.0-only
|
||||||
URL: http://www.ffado.org/
|
URL: http://www.ffado.org/
|
||||||
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz
|
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz
|
||||||
# The trunk is tarballed as follows:
|
# The trunk is tarballed as follows:
|
||||||
|
|
@ -24,7 +31,6 @@ BuildRequires: dbus-c++-devel
|
||||||
BuildRequires: dbus-devel
|
BuildRequires: dbus-devel
|
||||||
BuildRequires: python3-dbus
|
BuildRequires: python3-dbus
|
||||||
BuildRequires: python3-rpm-macros
|
BuildRequires: python3-rpm-macros
|
||||||
BuildRequires: desktop-file-utils
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glibmm24-devel
|
BuildRequires: glibmm24-devel
|
||||||
|
|
@ -37,11 +43,13 @@ BuildRequires: libxml++-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python3-qt5-devel
|
BuildRequires: python3-qt5-devel
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
%if ! %needs_scons_quirk
|
%if %{without scons_quirk}
|
||||||
BuildRequires: python3-scons >= 3.0.2
|
BuildRequires: python3-scons >= 3.0.2
|
||||||
%else
|
%else
|
||||||
BuildRequires: python3-scons
|
BuildRequires: python3-scons
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: python3dist(setuptools)
|
||||||
|
BuildRequires: rpm_macro(py3_shebang_fix)
|
||||||
ExcludeArch: s390 s390x
|
ExcludeArch: s390 s390x
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -52,7 +60,8 @@ successor of the FreeBoB project.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Free firewire audio driver library development headers
|
Summary: Free firewire audio driver library development headers
|
||||||
License: GPLv2 or GPLv3
|
# Automatically converted from old format: GPLv2 or GPLv3 - review is highly recommended.
|
||||||
|
License: GPL-2.0-only OR GPL-3.0-only
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
|
|
@ -63,7 +72,8 @@ Summary: Free firewire audio driver library applications and utilities
|
||||||
# support/tools/* is GPLv3
|
# support/tools/* is GPLv3
|
||||||
# Some files in support/mixer-qt4/ffado are GPLv3+
|
# Some files in support/mixer-qt4/ffado are GPLv3+
|
||||||
# The rest is GPLv2 or GPLv3
|
# The rest is GPLv2 or GPLv3
|
||||||
License: GPLv3 and GPLv3+ and (GPLv2 or GPLv3)
|
# Automatically converted from old format: GPLv3 and GPLv3+ and (GPLv2 or GPLv3) - review is highly recommended.
|
||||||
|
License: GPL-3.0-only AND GPL-3.0-or-later AND ( GPL-2.0-only OR GPL-3.0-only )
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
Requires: python3-dbus
|
Requires: python3-dbus
|
||||||
|
|
@ -75,14 +85,14 @@ Applications and utilities for use with libffado.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -N
|
%autosetup -N
|
||||||
%patch0 -p1 -b .no-test-apps
|
%patch -P0 -p1 -b .no-test-apps
|
||||||
%patch1 -p1 -b .icon-name
|
%patch -P1 -p1 -b .icon-name
|
||||||
%if %needs_scons_quirk
|
%if %{with scons_quirk}
|
||||||
%patch2 -p1 -b .scons-quirk
|
%patch -P2 -p1 -b .scons-quirk
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Fix Python shebangs
|
# Fix Python shebangs
|
||||||
sed -i 's|/usr/bin/.*python$|/usr/bin/python3|' \
|
%py3_shebang_fix \
|
||||||
admin/*.py doc/SConscript tests/python/*.py tests/*.py \
|
admin/*.py doc/SConscript tests/python/*.py tests/*.py \
|
||||||
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
|
support/mixer-qt4/ffado-mixer* support/mixer-qt4/SConscript \
|
||||||
support/tools/*.py support/tools/SConscript
|
support/tools/*.py support/tools/SConscript
|
||||||
|
|
@ -91,10 +101,10 @@ sed -i 's|/usr/bin/.*python$|/usr/bin/python3|' \
|
||||||
export CFLAGS="%{optflags} -ffast-math"
|
export CFLAGS="%{optflags} -ffast-math"
|
||||||
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
||||||
export LDFLAGS="%{build_ldflags}"
|
export LDFLAGS="%{build_ldflags}"
|
||||||
scons-3 %{?_smp_mflags} \
|
%{scons} %{?_smp_mflags} \
|
||||||
DETECT_USERSPACE_ENV=False \
|
DETECT_USERSPACE_ENV=False \
|
||||||
ENABLE_SETBUFFERSIZE_API_VER=True \
|
ENABLE_SETBUFFERSIZE_API_VER=True \
|
||||||
ENABLE_OPTIMIZATIONS=True \
|
ENABLE_OPTIMIZATIONS=False \
|
||||||
CUSTOM_ENV=True \
|
CUSTOM_ENV=True \
|
||||||
BUILD_DOC=user \
|
BUILD_DOC=user \
|
||||||
PREFIX=%{_prefix} \
|
PREFIX=%{_prefix} \
|
||||||
|
|
@ -110,30 +120,14 @@ scons-3 %{?_smp_mflags} \
|
||||||
export CFLAGS="%{optflags} -ffast-math"
|
export CFLAGS="%{optflags} -ffast-math"
|
||||||
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
export CXXFLAGS="%{optflags} -ffast-math --std=gnu++11"
|
||||||
export LDFLAGS="%{build_ldflags}"
|
export LDFLAGS="%{build_ldflags}"
|
||||||
scons-3 DESTDIR=%{buildroot} PREFIX=%{_prefix}\
|
%{scons} DESTDIR=%{buildroot} PREFIX=%{_prefix}\
|
||||||
install
|
install
|
||||||
|
|
||||||
# We need to install the xdg stuff manually
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
|
||||||
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
|
|
||||||
--add-category="Settings" \
|
|
||||||
--set-icon=ffado \
|
|
||||||
support/xdg/ffado.org-ffadomixer.desktop
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
|
|
||||||
ln -s ../../../../libffado/icons/hi64-apps-ffado.png \
|
|
||||||
%{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ffado.png
|
|
||||||
|
|
||||||
# Install ffado-test RHBZ#805940
|
# Install ffado-test RHBZ#805940
|
||||||
install -m 755 tests/ffado-test %{buildroot}%{_bindir}
|
install -m 755 tests/ffado-test %{buildroot}%{_bindir}
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
%check
|
|
||||||
desktop-file-validate \
|
|
||||||
%{buildroot}%{_datadir}/applications/ffado.org-ffadomixer.desktop
|
|
||||||
appstream-util validate-relax --nonet \
|
|
||||||
%{buildroot}%{_datadir}/metainfo/ffado-mixer.appdata.xml
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE.*
|
%license LICENSE.*
|
||||||
%doc AUTHORS ChangeLog README
|
%doc AUTHORS ChangeLog README
|
||||||
|
|
@ -141,7 +135,7 @@ appstream-util validate-relax --nonet \
|
||||||
%dir %{_datadir}/libffado/
|
%dir %{_datadir}/libffado/
|
||||||
%{_datadir}/libffado/configuration
|
%{_datadir}/libffado/configuration
|
||||||
%{_prefix}/lib/udev/rules.d/*
|
%{_prefix}/lib/udev/rules.d/*
|
||||||
%{_libdir}/libffado/static_info.txt
|
%{_libdir}/libffado
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc doc/reference/html/
|
%doc doc/reference/html/
|
||||||
|
|
@ -155,9 +149,9 @@ appstream-util validate-relax --nonet \
|
||||||
%{_datadir}/libffado/*.xml
|
%{_datadir}/libffado/*.xml
|
||||||
%{_datadir}/libffado/icons/
|
%{_datadir}/libffado/icons/
|
||||||
%{_datadir}/dbus-1/services/org.ffado.Control.service
|
%{_datadir}/dbus-1/services/org.ffado.Control.service
|
||||||
%{_datadir}/applications/ffado.org-ffadomixer.desktop
|
%{_datadir}/applications/org.ffado.FfadoMixer.desktop
|
||||||
%{_datadir}/icons/hicolor/64x64/apps/ffado.png
|
%{_datadir}/icons/hicolor/64x64/apps/hi64-apps-ffado.png
|
||||||
%{_datadir}/metainfo/ffado-mixer.appdata.xml
|
%{_datadir}/metainfo/org.ffado.FfadoMixer.metainfo.xml
|
||||||
%{python3_sitelib}/ffado/
|
%{python3_sitelib}/ffado/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
SHA512 (libffado-2.4.7.tgz) = 424a9ca7ded12e72d77a50d7ddf4e50dc0d55b80d725499df7609ce60d0eac8b24a41d9b8e4e74f78bdefe114b61bd5f1ec09a6d083f4a58475e66d61153f075
|
SHA512 (libffado-2.4.9.tgz) = 0a0c61cf9339ab542c85eaefbe017b7613f716ae0ed08d11a37782dd7ef5815b18256c5d1b9240f077c9f59bbf4b4878019cefbd6cab78140477bcad6a9d3e44
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue