9648851
Summary:        Free firewire audio driver library
9648851
Name:           libffado
Orcan Ogetbil afff2e5
Version:        2.3.0
2a2b45a
Release:        2%{?dist}
9648851
# src/libutil/float_cast.h is LGPLv2+.
9648851
# The rest is (GPLv2 or GPLv3)
9648851
License:        LGPLv2+ and (GPLv2 or GPLv3)
9648851
Group:          System Environment/Libraries
9648851
URL:            http://www.ffado.org/
1c84d6d
Source0:        http://www.ffado.org/files/%{name}-%{version}.tgz
9648851
# The trunk is tarballed as follows:
75bf0fc
# bash libffado-snapshot.sh 2088
9368290
# The fetch script
9368290
Source9:        libffado-snapshot.sh
9648851
# We want the documentation for the library API only, not for the entire source:
9648851
# http://subversion.ffado.org/ticket/293
9648851
Patch0:         libffado-api-doc-only.patch
e7d51c2
Patch2:         libffado-gcc6.patch
c2b4450
# http://subversion.ffado.org/changeset/2673
c2b4450
Patch3:         libffado-derefptr.patch
49ad40f
9648851
BuildRequires:  alsa-lib-devel
9648851
BuildRequires:  dbus-c++-devel
9648851
BuildRequires:  dbus-devel
9648851
BuildRequires:  dbus-python-devel
9648851
BuildRequires:  desktop-file-utils
9648851
BuildRequires:  doxygen
9648851
BuildRequires:  glibmm24-devel
9648851
BuildRequires:  graphviz
9648851
BuildRequires:  libconfig-devel
9648851
BuildRequires:  libiec61883-devel
9648851
BuildRequires:  libraw1394-devel
9648851
BuildRequires:  libxml++-devel
9648851
BuildRequires:  pkgconfig
9648851
BuildRequires:  PyQt4-devel
9648851
BuildRequires:  python2-devel
9648851
BuildRequires:  scons
9648851
BuildRequires:  subversion
c26cd06
ExcludeArch:    s390 s390x
1c84d6d
Requires:       udev
9648851
9648851
%description
9648851
The FFADO project aims to provide a generic, open-source solution for the
9648851
support of FireWire based audio devices for the Linux platform. It is the
9648851
successor of the FreeBoB project.
9648851
9648851
%package devel
9648851
Summary:        Free firewire audio driver library development headers
9648851
Group:          Development/Libraries
9648851
License:        GPLv2 or GPLv3
423a268
Requires:       %{name}%{?_isa} = %{version}-%{release}
9648851
9648851
%description devel
9648851
Development files needed to build applications against libffado.
9648851
9648851
%package -n ffado
9648851
Summary:        Free firewire audio driver library applications and utilities
9648851
Group:          Applications/Multimedia
9648851
# support/tools/* is GPLv3
9648851
# Some files in support/mixer-qt4/ffado are GPLv3+
9648851
# The rest is GPLv2 or GPLv3
9648851
License:        GPLv3 and GPLv3+ and (GPLv2 or GPLv3)
423a268
Requires:       %{name}%{?_isa} = %{version}-%{release}
9648851
Requires:       dbus
9648851
Requires:       dbus-python
9648851
Requires:       PyQt4
9648851
9648851
%description -n ffado
9648851
Applications and utilities for use with libffado.
9648851
9648851
9648851
%prep
9368290
%setup -q
9648851
%patch0 -p1 -b .api.doc.only
e7d51c2
%patch2 -p1 -b .gcc6
c2b4450
%patch3 -p1 -b .derefptr
9648851
925a2e6
# We don't want to install all tests
925a2e6
sed -i '/Install/d' tests/{,*/}SConscript
925a2e6
9648851
%build
9648851
scons %{?_smp_mflags} \
49ad40f
      COMPILE_FLAGS="%{optflags} -ffast-math --std=gnu++11" \
9648851
      PREFIX=%{_prefix} \
9648851
      LIBDIR=%{_libdir} \
1c84d6d
      MANDIR=%{_mandir} \
1c84d6d
      UDEVDIR=%{_prefix}/lib/udev/rules.d/ \
925a2e6
      BUILD_TESTS=1
Brendan Jones eabded1
9648851
%install
9648851
scons DESTDIR=%{buildroot} install
9648851
9648851
# We need to install the xdg stuff manually
9648851
mkdir -p %{buildroot}%{_datadir}/applications
9648851
desktop-file-install --dir %{buildroot}%{_datadir}/applications \
925a2e6
   --add-category="Settings" \
9648851
   support/xdg/ffado.org-ffadomixer.desktop
9648851
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/64x64/apps
9648851
ln -s ../../../../libffado/icons/hi64-apps-ffado.png \
9648851
    %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/ffado.png
9648851
925a2e6
# Install ffado-test RHBZ#805940
925a2e6
install -m 755 tests/ffado-test %{buildroot}%{_bindir}
9648851
9648851
%post -p /sbin/ldconfig
9648851
9648851
%postun -p /sbin/ldconfig
9648851
9648851
%post -n ffado
9648851
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
9648851
9648851
%postun -n ffado
9648851
if [ $1 -eq 0 ] ; then
9648851
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
9648851
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
9648851
fi
9648851
9648851
%posttrans -n ffado
9648851
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
9648851
9648851
%files
9648851
%doc AUTHORS ChangeLog LICENSE.* README
9648851
%{_libdir}/libffado.so.*
9648851
%dir %{_datadir}/libffado/
9648851
%{_datadir}/libffado/configuration
1c84d6d
%{_prefix}/lib/udev/rules.d/*
9648851
9648851
%files devel
9648851
%doc doc/reference/html/
9648851
%{_includedir}/libffado/
9648851
%{_libdir}/pkgconfig/libffado.pc
9648851
%{_libdir}/libffado.so
9648851
9648851
%files -n ffado
1c84d6d
%{_mandir}/man1/ffado-*.1*
9648851
%{_bindir}/*
9648851
%{_datadir}/libffado/*.xml
9648851
%{_datadir}/libffado/python/
9648851
%{_datadir}/libffado/icons/
9648851
%{_datadir}/dbus-1/services/org.ffado.Control.service
9648851
%{_datadir}/applications/ffado.org-ffadomixer.desktop
9648851
%{_datadir}/icons/hicolor/64x64/apps/ffado.png
9648851
%{python_sitelib}/ffado/
9648851
1c84d6d
9648851
%changelog
c2b4450
* Thu Feb 16 2017 Jonathan Wakely <jwakely@redhat.com> - 2.3.0-2
c2b4450
- Patch invalid code to build with GCC 7
c2b4450
2a2b45a
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.0-2
2a2b45a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2a2b45a
Orcan Ogetbil afff2e5
* Mon Aug 08 2016 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.3.0-1
Orcan Ogetbil afff2e5
- Update to 2.3.0.
Orcan Ogetbil afff2e5
f3b3180
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-9
f3b3180
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
f3b3180
e7d51c2
* Tue Mar 01 2016 Yaakov Selkowitz <yselkowi@redhat.com> - 2.2.1-8
e7d51c2
- Fix FTBFS with GCC 6 (#1307721)
e7d51c2
175daff
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.1-7
175daff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
175daff
49ad40f
* Fri Jan 22 2016 Lubomir Rintel <lkundrak@v3.sk> - 2.2.1-6
49ad40f
- Fix FTBFS
49ad40f
5b7d0fe
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5
5b7d0fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
5b7d0fe
db10398
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.1-4
db10398
- Rebuilt for GCC 5 C++11 ABI change
db10398
79de29e
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3
79de29e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
79de29e
c6866dc
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
c6866dc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c6866dc
fba5df8
* Sun Jun 01 2014 Brendan Jones <brendan.jones.it@gmail.com> 2.2.1-1
fba5df8
- Update to 2.2.1
fba5df8
- Remove incorporated udev rules patch
fba5df8
c60882b
* Mon Sep 30 2013 Brendan Jones <brendan.jones.it@gmail.com> 2.1.0-4
c60882b
- Corrrect udev rules RFBZ#999580
c60882b
- Correct changelog
c60882b
fafbd52
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3
fafbd52
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fafbd52
c94ff1f
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
c94ff1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c94ff1f
1c84d6d
* Thu Sep 20 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-1
1c84d6d
- Update to 2.1.0.
1c84d6d
- Drop upstreamed & old patches, README.Fedora file.
1c84d6d
30b2de4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.10.20120325.svn2088
30b2de4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
30b2de4
423a268
* Tue Jun 12 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.9.20120325.svn2088
423a268
- Fix multilib confict RHBZ#831405
423a268
- Fix DSO linking #ticket 355
423a268
75bf0fc
* Sun Mar 25 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.8.20120325.svn2088
75bf0fc
- Update to svn2088.
75bf0fc
- Drop upstreamed gcc-4.7 patch.
75bf0fc
925a2e6
* Thu Mar 22 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.7.20111030.svn2000
925a2e6
- Include the ffado-test executable RHBZ#805940
925a2e6
- Fix .desktop file warning
925a2e6
d96be61
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.6.20111030.svn2000
d96be61
- Rebuilt for c++ ABI breakage
d96be61
a7929d2
* Tue Jan 10 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.5.20111030.svn2000
a7929d2
- gcc-4.7 compile fix
a7929d2
fca88cc
* Sun Oct 30 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.4.20111030.svn2000
fca88cc
- Update to svn2000.
fca88cc
- Drop the gold linker patch. The issue is properly solved upstream. See upstream tracker #293
fca88cc
f3af56e
* Tue Apr 26 2011 Brendan Jones <brendan.jones.it@gmail.com> - 2.1.0-0.3.20110426.svn1983
Brendan Jones eabded1
- Update to svn1983
Brendan Jones eabded1
- Clean up redundant patches
Brendan Jones eabded1
- Patch to rebuild using gold linker. Fixes RHBZ#684392
Brendan Jones eabded1
3598fdf
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.2.20101015.svn1913
3598fdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3598fdf
9368290
* Fri Oct 15 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.1.20101015.svn1913
9368290
- Update to svn1913. Fixes RHBZ#635315
9368290
- Drop upstreamed patches
9368290
c26cd06
* Thu Aug 26 2010 Dan HorĂ¡k <dan[at]danny.cz> - 2.0.1-5.20100706.svn1864
c26cd06
- no Firewire on s390(x)
c26cd06
Orcan Ogetbil 2a1e566
* Thu Jul 29 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-4.20100706.svn1864
Orcan Ogetbil 2a1e566
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
Orcan Ogetbil 2a1e566
9648851
* Wed Jul 14 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-3.20100706.svn1864
9648851
- Remove ENABLE_ALL
9648851
- Improve the libffado-dont-use-bundled-libs.patch
9648851
- Drop BR: expat-devel libavc1394-devel
9648851
- Move configuration file to the library package
9648851
- Minor enhancement in the .desktop file
9648851
- Add links to upstream tickets for patches
9648851
- Add -ffast-math to the compiler flags
9648851
- Add patch to compile against libconfig-1.4.5
9648851
9648851
* Tue Jul 13 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-2.20100706.svn1864
9648851
- Add ENABLE_ALL flag to support more devices
9648851
- Don't bundle tests
9648851
- Include some preliminary documentation for the tools until the manpages arrive
9648851
- Patch out bundled libraries. Also fixes some rpmlints
9648851
- Improve the instructions how to create the tarball
9648851
9648851
* Wed Jul 07 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-1.20100706.svn1864
9648851
- Update to trunk, post 2.0.1.
9648851
9648851
* Sat Jun 05 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.0-1.20100605.svn1845
9648851
- Update to trunk, post 2.0.0.
9648851
9648851
* Mon May 18 2009 Jarod Wilson <jarod@redhat.com> - 2.0-0.4.rc2
9648851
- Update to 2.0.0-rc2
9648851
9648851
* Thu Nov 06 2008 Jarod Wilson <jarod@redhat.com> - 2.0-0.3.beta7
9648851
- Update to beta7
9648851
- Put arch-dependent helper/test binaries in libexecdir instead of datadir
9648851
9648851
* Sun Aug 10 2008 Jarod Wilson <jwilson@redhat.com> - 2.0-0.2.beta6
9648851
- Review clean-ups (#456353)
9648851
9648851
* Tue Jul 22 2008 Jarod Wilson <jwilson@redhat.com> - 2.0-0.1.beta6
9648851
- Initial Fedora build of libffado