basebuilder_pel7ppc64lebuilder0
3 years ago
4 changed files with 366 additions and 0 deletions
@ -0,0 +1,26 @@
@@ -0,0 +1,26 @@
|
||||
diff -rupN libffado.old/doc/reference.doxygen.in libffado/doc/reference.doxygen.in |
||||
--- libffado.old/doc/reference.doxygen.in 2009-12-18 13:52:13.000000000 -0500 |
||||
+++ libffado/doc/reference.doxygen.in 2010-06-05 21:00:54.000000000 -0400 |
||||
@@ -568,9 +568,7 @@ WARN_LOGFILE = |
||||
# directories like "/usr/src/myproject". Separate the files or directories |
||||
# with spaces. |
||||
|
||||
-INPUT = $top_srcdir/src \ |
||||
- $top_srcdir/doc \ |
||||
- $top_srcdir/libffado |
||||
+INPUT = $top_srcdir/libffado |
||||
|
||||
# This tag can be used to specify the character encoding of the source files |
||||
# that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is |
||||
diff -rupN libffado.old/SConstruct libffado/SConstruct |
||||
--- libffado.old/SConstruct 2010-05-10 15:34:07.000000000 -0400 |
||||
+++ libffado/SConstruct 2010-06-05 21:29:43.000000000 -0400 |
||||
@@ -583,7 +583,7 @@ if not env.GetOption('clean'): |
||||
Default( 'support' ) |
||||
if env['BUILD_TESTS']: |
||||
Default( 'tests' ) |
||||
- |
||||
+ Default( 'doc' ) |
||||
# |
||||
# Deal with the DESTDIR vs. xdg-tools conflict (which is basicely that the |
||||
# xdg-tools can't deal with DESTDIR, so the packagers have to deal with this |
@ -0,0 +1,52 @@
@@ -0,0 +1,52 @@
|
||||
diff --git a/tests/test-enhanced-mixer.cpp b/tests/test-enhanced-mixer.cpp |
||||
index 8ac00aa..d557daf 100644 |
||||
--- a/tests/test-enhanced-mixer.cpp |
||||
+++ b/tests/test-enhanced-mixer.cpp |
||||
@@ -77,7 +77,7 @@ main(int argc, char **argv) |
||||
exit(0); |
||||
} |
||||
|
||||
- int errno = 0; |
||||
+ errno = 0; |
||||
char* tail; |
||||
int node_id = strtol( argv[1], &tail, 0 ); |
||||
int fb_id = strtol( argv[2], &tail, 0 ); |
||||
diff --git a/tests/test-mixer.cpp b/tests/test-mixer.cpp |
||||
index 807bd7b..5f426a7 100644 |
||||
--- a/tests/test-mixer.cpp |
||||
+++ b/tests/test-mixer.cpp |
||||
@@ -227,7 +227,7 @@ main( int argc, char **argv ) |
||||
exit(0); |
||||
} |
||||
|
||||
- int errno = 0; |
||||
+ errno = 0; |
||||
char* tail; |
||||
int port = strtol( argv[1], &tail, 0 ); |
||||
int node_id = strtol( argv[2], &tail, 0 ); |
||||
diff --git a/tests/test-pan.cpp b/tests/test-pan.cpp |
||||
index 4b7b825..895c9cf 100644 |
||||
--- a/tests/test-pan.cpp |
||||
+++ b/tests/test-pan.cpp |
||||
@@ -131,7 +131,7 @@ main(int argc, char **argv) |
||||
exit(0); |
||||
} |
||||
|
||||
- int errno = 0; |
||||
+ errno = 0; |
||||
char* tail; |
||||
int node_id = strtol( argv[1], &tail, 0 ); |
||||
int fb_id = strtol( argv[2], &tail, 0 ); |
||||
diff --git a/tests/test-volume.cpp b/tests/test-volume.cpp |
||||
index 65ccb8b..6810819 100644 |
||||
--- a/tests/test-volume.cpp |
||||
+++ b/tests/test-volume.cpp |
||||
@@ -127,7 +127,7 @@ main(int argc, char **argv) |
||||
exit(0); |
||||
} |
||||
|
||||
- int errno = 0; |
||||
+ errno = 0; |
||||
char* tail; |
||||
int node_id = strtol( argv[1], &tail, 0 ); |
||||
int fb_id = strtol( argv[2], &tail, 0 ); |
@ -0,0 +1,34 @@
@@ -0,0 +1,34 @@
|
||||
#!/bin/bash |
||||
|
||||
# $1 - revision number to checkout. |
||||
: ${1?"You must either provide desired revision number \"X\" to checkout: `basename $0` X |
||||
or fetch the latest revision by: `basename $0` HEAD"} |
||||
|
||||
set -e |
||||
|
||||
tmp=$(mktemp -d) |
||||
|
||||
trap cleanup EXIT |
||||
cleanup() { |
||||
set +e |
||||
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp" |
||||
} |
||||
|
||||
unset CDPATH |
||||
unset GREP_OPTIONS |
||||
pwd=$(pwd) |
||||
name=libffado |
||||
version=2.1.0 |
||||
|
||||
revision=$1 |
||||
|
||||
pushd "$tmp" >/dev/null |
||||
echo "Fetching SVN revision: $1" |
||||
svn export -r$revision http://subversion.ffado.org/ffado/trunk/$name $name-$version |tee $name.stdout |
||||
revision=$(cat $name.stdout|grep "Exported revision"|sed 's|[^0-9]*||g') |
||||
echo "Fetched SVN revision: $revision" |
||||
rm -f $name.stdout |
||||
|
||||
tar jcf "$pwd"/$name-$version-svn$revision.tar.bz2 $name-$version |
||||
echo "Written: $name-$version-svn$revision.tar.bz2" |
||||
popd >/dev/null |
@ -0,0 +1,254 @@
@@ -0,0 +1,254 @@
|
||||
Summary: Free firewire audio driver library |
||||
Name: libffado |
||||
Version: 2.2.1 |
||||
Release: 6%{?dist} |
||||
# src/libutil/float_cast.h is LGPLv2+. |
||||
# The rest is (GPLv2 or GPLv3) |
||||
License: LGPLv2+ and (GPLv2 or GPLv3) |
||||
Group: System Environment/Libraries |
||||
URL: http://www.ffado.org/ |
||||
Source0: http://www.ffado.org/files/%{name}-%{version}.tgz |
||||
# The trunk is tarballed as follows: |
||||
# bash libffado-snapshot.sh 2088 |
||||
# The fetch script |
||||
Source9: libffado-snapshot.sh |
||||
# We want the documentation for the library API only, not for the entire source: |
||||
# http://subversion.ffado.org/ticket/293 |
||||
Patch0: libffado-api-doc-only.patch |
||||
Patch1: libffado-errno.patch |
||||
|
||||
BuildRequires: alsa-lib-devel |
||||
BuildRequires: dbus-c++-devel |
||||
BuildRequires: dbus-devel |
||||
BuildRequires: dbus-python-devel |
||||
BuildRequires: desktop-file-utils |
||||
BuildRequires: doxygen |
||||
BuildRequires: glibmm24-devel |
||||
BuildRequires: graphviz |
||||
BuildRequires: libconfig-devel |
||||
BuildRequires: libiec61883-devel |
||||
BuildRequires: libraw1394-devel |
||||
BuildRequires: libxml++-devel |
||||
BuildRequires: pkgconfig |
||||
BuildRequires: PyQt4-devel |
||||
BuildRequires: python2-devel |
||||
BuildRequires: scons |
||||
BuildRequires: subversion |
||||
ExcludeArch: s390 s390x |
||||
Requires: udev |
||||
|
||||
%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 |
||||
Summary: Free firewire audio driver library development headers |
||||
Group: Development/Libraries |
||||
License: GPLv2 or GPLv3 |
||||
Requires: %{name}%{?_isa} = %{version}-%{release} |
||||
|
||||
%description devel |
||||
Development files needed to build applications against libffado. |
||||
|
||||
%package -n ffado |
||||
Summary: Free firewire audio driver library applications and utilities |
||||
Group: Applications/Multimedia |
||||
# support/tools/* is GPLv3 |
||||
# Some files in support/mixer-qt4/ffado are GPLv3+ |
||||
# The rest is GPLv2 or GPLv3 |
||||
License: GPLv3 and GPLv3+ and (GPLv2 or GPLv3) |
||||
Requires: %{name}%{?_isa} = %{version}-%{release} |
||||
Requires: dbus |
||||
Requires: dbus-python |
||||
Requires: PyQt4 |
||||
|
||||
%description -n ffado |
||||
Applications and utilities for use with libffado. |
||||
|
||||
|
||||
%prep |
||||
%setup -q |
||||
%patch0 -p1 -b .api.doc.only |
||||
%patch1 -p1 -b .errno |
||||
|
||||
# We don't want to install all tests |
||||
sed -i '/Install/d' tests/{,*/}SConscript |
||||
|
||||
%build |
||||
scons %{?_smp_mflags} \ |
||||
COMPILE_FLAGS="%{optflags} -ffast-math --std=gnu++11" \ |
||||
PREFIX=%{_prefix} \ |
||||
LIBDIR=%{_libdir} \ |
||||
MANDIR=%{_mandir} \ |
||||
UDEVDIR=%{_prefix}/lib/udev/rules.d/ \ |
||||
BUILD_TESTS=1 |
||||
|
||||
%install |
||||
scons DESTDIR=%{buildroot} install |
||||
|
||||
# We need to install the xdg stuff manually |
||||
mkdir -p %{buildroot}%{_datadir}/applications |
||||
desktop-file-install --dir %{buildroot}%{_datadir}/applications \ |
||||
--add-category="Settings" \ |
||||
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 -m 755 tests/ffado-test %{buildroot}%{_bindir} |
||||
|
||||
%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 |
||||
|
||||
%posttrans -n ffado |
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
||||
|
||||
%files |
||||
%doc AUTHORS ChangeLog LICENSE.* README |
||||
%{_libdir}/libffado.so.* |
||||
%dir %{_datadir}/libffado/ |
||||
%{_datadir}/libffado/configuration |
||||
%{_prefix}/lib/udev/rules.d/* |
||||
|
||||
%files devel |
||||
%doc doc/reference/html/ |
||||
%{_includedir}/libffado/ |
||||
%{_libdir}/pkgconfig/libffado.pc |
||||
%{_libdir}/libffado.so |
||||
|
||||
%files -n ffado |
||||
%{_mandir}/man1/ffado-*.1* |
||||
%{_bindir}/* |
||||
%{_datadir}/libffado/*.xml |
||||
%{_datadir}/libffado/python/ |
||||
%{_datadir}/libffado/icons/ |
||||
%{_datadir}/dbus-1/services/org.ffado.Control.service |
||||
%{_datadir}/applications/ffado.org-ffadomixer.desktop |
||||
%{_datadir}/icons/hicolor/64x64/apps/ffado.png |
||||
%{python_sitelib}/ffado/ |
||||
|
||||
|
||||
%changelog |
||||
* Fri Jan 22 2016 Lubomir Rintel <lkundrak@v3.sk> - 2.2.1-6 |
||||
- Fix FTBFS |
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-5 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
||||
|
||||
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 2.2.1-4 |
||||
- Rebuilt for GCC 5 C++11 ABI change |
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
||||
|
||||
* Sun Jun 01 2014 Brendan Jones <brendan.jones.it@gmail.com> 2.2.1-1 |
||||
- Update to 2.2.1 |
||||
- Remove incorporated udev rules patch |
||||
|
||||
* Mon Sep 30 2013 Brendan Jones <brendan.jones.it@gmail.com> 2.1.0-4 |
||||
- Corrrect udev rules RFBZ#999580 |
||||
- Correct changelog |
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-3 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
||||
|
||||
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
||||
|
||||
* Thu Sep 20 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-1 |
||||
- Update to 2.1.0. |
||||
- Drop upstreamed & old patches, README.Fedora file. |
||||
|
||||
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.10.20120325.svn2088 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
||||
|
||||
* Tue Jun 12 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.9.20120325.svn2088 |
||||
- Fix multilib confict RHBZ#831405 |
||||
- Fix DSO linking #ticket 355 |
||||
|
||||
* Sun Mar 25 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.8.20120325.svn2088 |
||||
- Update to svn2088. |
||||
- Drop upstreamed gcc-4.7 patch. |
||||
|
||||
* Thu Mar 22 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.7.20111030.svn2000 |
||||
- Include the ffado-test executable RHBZ#805940 |
||||
- Fix .desktop file warning |
||||
|
||||
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.6.20111030.svn2000 |
||||
- Rebuilt for c++ ABI breakage |
||||
|
||||
* Tue Jan 10 2012 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.5.20111030.svn2000 |
||||
- gcc-4.7 compile fix |
||||
|
||||
* Sun Oct 30 2011 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.4.20111030.svn2000 |
||||
- Update to svn2000. |
||||
- Drop the gold linker patch. The issue is properly solved upstream. See upstream tracker #293 |
||||
|
||||
* Tue Apr 26 2011 Brendan Jones <brendan.jones.it@gmail.com> - 2.1.0-0.3.20110426.svn1983 |
||||
- Update to svn1983 |
||||
- Clean up redundant patches |
||||
- Patch to rebuild using gold linker. Fixes RHBZ#684392 |
||||
|
||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-0.2.20101015.svn1913 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
||||
|
||||
* Fri Oct 15 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.1.0-0.1.20101015.svn1913 |
||||
- Update to svn1913. Fixes RHBZ#635315 |
||||
- Drop upstreamed patches |
||||
|
||||
* Thu Aug 26 2010 Dan Horák <dan[at]danny.cz> - 2.0.1-5.20100706.svn1864 |
||||
- no Firewire on s390(x) |
||||
|
||||
* Thu Jul 29 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-4.20100706.svn1864 |
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild |
||||
|
||||
* Wed Jul 14 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-3.20100706.svn1864 |
||||
- Remove ENABLE_ALL |
||||
- Improve the libffado-dont-use-bundled-libs.patch |
||||
- Drop BR: expat-devel libavc1394-devel |
||||
- Move configuration file to the library package |
||||
- Minor enhancement in the .desktop file |
||||
- Add links to upstream tickets for patches |
||||
- Add -ffast-math to the compiler flags |
||||
- Add patch to compile against libconfig-1.4.5 |
||||
|
||||
* Tue Jul 13 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-2.20100706.svn1864 |
||||
- Add ENABLE_ALL flag to support more devices |
||||
- Don't bundle tests |
||||
- Include some preliminary documentation for the tools until the manpages arrive |
||||
- Patch out bundled libraries. Also fixes some rpmlints |
||||
- Improve the instructions how to create the tarball |
||||
|
||||
* Wed Jul 07 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.1-1.20100706.svn1864 |
||||
- Update to trunk, post 2.0.1. |
||||
|
||||
* Sat Jun 05 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 2.0.0-1.20100605.svn1845 |
||||
- Update to trunk, post 2.0.0. |
||||
|
||||
* Mon May 18 2009 Jarod Wilson <jarod@redhat.com> - 2.0-0.4.rc2 |
||||
- Update to 2.0.0-rc2 |
||||
|
||||
* Thu Nov 06 2008 Jarod Wilson <jarod@redhat.com> - 2.0-0.3.beta7 |
||||
- Update to beta7 |
||||
- Put arch-dependent helper/test binaries in libexecdir instead of datadir |
||||
|
||||
* Sun Aug 10 2008 Jarod Wilson <jwilson@redhat.com> - 2.0-0.2.beta6 |
||||
- Review clean-ups (#456353) |
||||
|
||||
* Tue Jul 22 2008 Jarod Wilson <jwilson@redhat.com> - 2.0-0.1.beta6 |
||||
- Initial Fedora build of libffado |
Loading…
Reference in new issue