alsa-oss-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. Summary: Advanced Linux Sound Architecture (ALSA) wrapper for OSS
  2. Name: alsa-oss
  3. Version: 1.0.17
  4. Release: 1%{?_dist_release}
  5. License: GPLv2+
  6. Group: Applications/Multimedia
  7. URL: http://www.alsa-project.org/
  8. Source: ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-%{version}.tar.bz2
  9. Patch: %{name}-1.0.12-aoss.patch
  10. Patch1: %{name}-glibc-open.patch
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  12. BuildRequires: alsa-lib-devel >= %{version}
  13. %ifarch x86_64
  14. BuildRequires: automake, libtool
  15. %endif
  16. Requires: %{name}-libs = %{version}-%{release}
  17. %description
  18. This package contains the compatibility library and wrapper script for
  19. running legacy OSS applications through ALSA. Unlike the kernel
  20. driver, this has the advantage of supporting DMIX software mixing.
  21. %package libs
  22. Summary: ALSA/OSS wrapper libraries
  23. Group: System Environment/Libraries
  24. Requires: %{name} = %{version}-%{release}
  25. %description libs
  26. System libraries for alsa-oss.
  27. %package devel
  28. Summary: Headers for ALSA wrapper for OSS
  29. Group: Development/Libraries
  30. Requires: %{name} = %{version}-%{release}, %{name}-libs = %{version}-%{release}
  31. %description devel
  32. Header files for alsa-oss.
  33. %prep
  34. %setup -q
  35. %patch0 -p1
  36. %patch1 -p1
  37. %build
  38. %ifarch x86_64
  39. autoreconf -f -i
  40. %endif
  41. %configure \
  42. %ifarch x86_64
  43. --disable-rpath \
  44. %endif
  45. --disable-static
  46. %{__make} %{?_smp_mflags}
  47. %install
  48. %{__rm} -rf $RPM_BUILD_ROOT
  49. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  50. %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
  51. %clean
  52. %{__rm} -rf $RPM_BUILD_ROOT
  53. %post libs -p /sbin/ldconfig
  54. %postun libs -p /sbin/ldconfig
  55. %files
  56. %defattr(-,root,root,-)
  57. %doc COPYING
  58. %{_bindir}/aoss
  59. %files libs
  60. %defattr(-,root,root,-)
  61. %{_libdir}/*.so.*
  62. %{_mandir}/man?/*
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %doc oss-redir/README
  66. %{_includedir}/*
  67. %{_libdir}/*.a
  68. %{_libdir}/*.so
  69. %changelog
  70. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.17-1
  71. - initial build for Vine Linux
  72. * Tue Jul 29 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.17-1
  73. - New upstream version
  74. * Mon Oct 22 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.15-0.1
  75. - New upstream version
  76. * Thu Aug 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-3
  77. - License clarification
  78. - Copied glibc open() workaround from alsa-lib-1.0.14-glibc-open.patch
  79. * Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> 1.0.14-2
  80. - binutils/gcc bug rebuild (#249435)
  81. * Tue Jul 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-1
  82. - Updated to match F8 alsa-libs
  83. - Changed reference to patch filename
  84. * Thu Feb 08 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-4
  85. - Split out libraries to -libs subpackage, fixing BZ#221711
  86. - Implemented changes as recommended by Jason Tibbitts
  87. - Adjusted aoss patch to allow for 32-bit library use on x86_64
  88. - Added reference in man page to added functionality
  89. - Resultant alsa-oss package reports no-binary error (necessary evil, I guess)
  90. * Fri Oct 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-3
  91. - Added conditionalized rpath fixes for x86_64 (thanks Denis!)
  92. - Re-added *.a to -devel package
  93. - Added %%defattr for -devel, added oss-redir/README as %%doc
  94. * Thu Oct 05 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-2
  95. - Adding --disable-static to configure
  96. - Removing *.a from -devel package
  97. - Adding name and version to patch
  98. - Removing commented-out autoreconf line
  99. - Forcibly deleting *.a files in %%install (why didn't it believe me?)
  100. * Tue Oct 03 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-1
  101. - Hijacked from stalled review (BZ#187706)
  102. - Bumped to 1.0.12 for devel branch
  103. - Removed Req for /sbin/ldconfig (unnecessary when using -p in scriptlets)
  104. - Added dist tag!
  105. - Made macros slightly more consistent
  106. - Deleted .la files in %%install
  107. * Sun Apr 2 2006 Michel Salim <michel.salim@gmail.com> 1.0.11-1.rc3
  108. - Initial build.