libfreebob-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: FreeBoB firewire audio driver library
  2. Summary(ja): FreeBoB firewire オーディオドライバライブラリ
  3. Name: libfreebob
  4. Version: 1.0.7
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Libraries
  8. Source0: http://surfnet.dl.sourceforge.net/sourceforge/freebob/libfreebob-%{version}.tar.bz2
  9. Patch0: libfreebob-1.0.3-cstdlib.patch
  10. Patch1: libfreebob-1.0.3-gcc43.patch
  11. URL: http://freebob.sourceforge.net
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: libavc1394-devel >= 0.5.3, libiec61883-devel, libraw1394-devel
  14. BuildRequires: alsa-lib-devel, libxml2-devel, autoconf
  15. %description
  16. libfreebob implements a userland driver for BeBoB-based fireware audio
  17. devices.
  18. %package devel
  19. Summary: Libraries, includes etc to develop with libfreebob
  20. Summary(ja): Libraries, includes etc to develop with libfreebob
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. Requires: pkgconfig
  24. %description devel
  25. Libraries, includes etc to develop with libfreebob.
  26. %prep
  27. %setup -q
  28. %patch1 -p0
  29. # Tweak libiec61883 build requirements.
  30. perl -pi -e 's/1.1.0/1.0.0/' configure
  31. %build
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make DESTDIR=$RPM_BUILD_ROOT install
  37. rm -f ${RPM_BUILD_ROOT}%{_libdir}/*.la
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %files
  43. %defattr(-,root,root,-)
  44. %doc AUTHORS COPYING ChangeLog NEWS README
  45. %{_libdir}/lib*.so.*
  46. %files devel
  47. %defattr(-,root,root,-)
  48. %{_libdir}/lib*.so
  49. %{_libdir}/pkgconfig/libfreebob.pc
  50. %{_includedir}/*
  51. %changelog
  52. * Thu Jul 10 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0.7-1
  53. - initial build for Vine Linux
  54. * Thu Feb 28 2008 Anthony Green <green@redhat.com> 1.0.7-4
  55. - Add another gcc 4.3 patch.
  56. * Thu Feb 28 2008 Anthony Green <green@redhat.com> 1.0.7-3
  57. - Add another gcc 4.3 patch.
  58. * Thu Feb 28 2008 Anthony Green <green@redhat.com> 1.0.7-2
  59. - Add another gcc 4.3 patch.
  60. * Thu Feb 28 2008 Anthony Green <green@redhat.com> 1.0.7-1
  61. - Upgrade to 1.0.7.
  62. * Thu Feb 28 2008 Anthony Green <green@redhat.com> 1.0.3-4
  63. - Add another gcc 4.3 patch.
  64. * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.3-3
  65. - Autorebuild for GCC 4.3
  66. * Thu Jan 03 2008 Anthony Green <green@redhat.com> 1.0.3-2
  67. - Add cstdlib patch for gcc 4.3.
  68. * Thu Mar 15 2007 Anthony Green <green@redhat.com> 1.0.3-1
  69. - Upgrade sources to 1.0.3.
  70. * Sat Oct 21 2006 Anthony Green <green@redhat.com> 1.0.0-3
  71. - Remove %%doc line from devel package.
  72. - Remove trailing '.' from devel package summary.
  73. * Wed Oct 11 2006 Anthony Green <green@redhat.com> 1.0.0-2
  74. - Use upstream tarball release, not svn 1.0 release.
  75. - Tweak %%files.
  76. - Tweak libiec61883 build requirements in configure script.
  77. - Don't generate configure script and remove some autotools dependencies.
  78. * Sat Sep 9 2006 Anthony Green <green@redhat.com> 1.0-1
  79. - Created.