alsa-oss-vl.spec 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Summary: Advanced Linux Sound Architecture (ALSA) wrapper for OSS
  2. Name: alsa-oss
  3. Version: 1.0.25
  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. %patch1 -p1
  36. %build
  37. %ifarch x86_64
  38. autoreconf -f -i
  39. %endif
  40. %configure \
  41. %ifarch x86_64
  42. --disable-rpath \
  43. %endif
  44. --disable-static
  45. %{__make} %{?_smp_mflags}
  46. %install
  47. %{__rm} -rf $RPM_BUILD_ROOT
  48. %{__make} install DESTDIR=$RPM_BUILD_ROOT
  49. %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
  50. %clean
  51. %{__rm} -rf $RPM_BUILD_ROOT
  52. %post libs -p /sbin/ldconfig
  53. %postun libs -p /sbin/ldconfig
  54. %files
  55. %defattr(-,root,root,-)
  56. %doc COPYING
  57. %{_bindir}/aoss
  58. %files libs
  59. %defattr(-,root,root,-)
  60. %{_libdir}/*.so.*
  61. %{_mandir}/man?/*
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %doc oss-redir/README
  65. %{_includedir}/*
  66. %{_libdir}/*.a
  67. %{_libdir}/*.so
  68. %changelog
  69. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1
  70. - new upstream release
  71. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.17-1
  72. - initial build for Vine Linux
  73. * Tue Jul 29 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.17-1
  74. - New upstream version
  75. * Mon Oct 22 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.15-0.1
  76. - New upstream version
  77. * Thu Aug 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-3
  78. - License clarification
  79. - Copied glibc open() workaround from alsa-lib-1.0.14-glibc-open.patch
  80. * Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> 1.0.14-2
  81. - binutils/gcc bug rebuild (#249435)
  82. * Tue Jul 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-1
  83. - Updated to match F8 alsa-libs
  84. - Changed reference to patch filename
  85. * Thu Feb 08 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-4
  86. - Split out libraries to -libs subpackage, fixing BZ#221711
  87. - Implemented changes as recommended by Jason Tibbitts
  88. - Adjusted aoss patch to allow for 32-bit library use on x86_64
  89. - Added reference in man page to added functionality
  90. - Resultant alsa-oss package reports no-binary error (necessary evil, I guess)
  91. * Fri Oct 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-3
  92. - Added conditionalized rpath fixes for x86_64 (thanks Denis!)
  93. - Re-added *.a to -devel package
  94. - Added %%defattr for -devel, added oss-redir/README as %%doc
  95. * Thu Oct 05 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-2
  96. - Adding --disable-static to configure
  97. - Removing *.a from -devel package
  98. - Adding name and version to patch
  99. - Removing commented-out autoreconf line
  100. - Forcibly deleting *.a files in %%install (why didn't it believe me?)
  101. * Tue Oct 03 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-1
  102. - Hijacked from stalled review (BZ#187706)
  103. - Bumped to 1.0.12 for devel branch
  104. - Removed Req for /sbin/ldconfig (unnecessary when using -p in scriptlets)
  105. - Added dist tag!
  106. - Made macros slightly more consistent
  107. - Deleted .la files in %%install
  108. * Sun Apr 2 2006 Michel Salim <michel.salim@gmail.com> 1.0.11-1.rc3
  109. - Initial build.