alsa-oss-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. Summary: Advanced Linux Sound Architecture (ALSA) wrapper for OSS
  2. Name: alsa-oss
  3. Version: 1.0.28
  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 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.28-1
  70. - new upstream release
  71. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.0.25-1
  72. - new upstream release
  73. * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.0.17-1
  74. - initial build for Vine Linux
  75. * Tue Jul 29 2008 Jaroslav Kysela <jkysela@redhat.com> 1.0.17-1
  76. - New upstream version
  77. * Mon Oct 22 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.15-0.1
  78. - New upstream version
  79. * Thu Aug 16 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-3
  80. - License clarification
  81. - Copied glibc open() workaround from alsa-lib-1.0.14-glibc-open.patch
  82. * Wed Jul 25 2007 Warren Togami <wtogami@redhat.com> 1.0.14-2
  83. - binutils/gcc bug rebuild (#249435)
  84. * Tue Jul 24 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.14-1
  85. - Updated to match F8 alsa-libs
  86. - Changed reference to patch filename
  87. * Thu Feb 08 2007 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-4
  88. - Split out libraries to -libs subpackage, fixing BZ#221711
  89. - Implemented changes as recommended by Jason Tibbitts
  90. - Adjusted aoss patch to allow for 32-bit library use on x86_64
  91. - Added reference in man page to added functionality
  92. - Resultant alsa-oss package reports no-binary error (necessary evil, I guess)
  93. * Fri Oct 06 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-3
  94. - Added conditionalized rpath fixes for x86_64 (thanks Denis!)
  95. - Re-added *.a to -devel package
  96. - Added %%defattr for -devel, added oss-redir/README as %%doc
  97. * Thu Oct 05 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-2
  98. - Adding --disable-static to configure
  99. - Removing *.a from -devel package
  100. - Adding name and version to patch
  101. - Removing commented-out autoreconf line
  102. - Forcibly deleting *.a files in %%install (why didn't it believe me?)
  103. * Tue Oct 03 2006 Patrick "Jima" Laughton <jima@beer.tclug.org> 1.0.12-1
  104. - Hijacked from stalled review (BZ#187706)
  105. - Bumped to 1.0.12 for devel branch
  106. - Removed Req for /sbin/ldconfig (unnecessary when using -p in scriptlets)
  107. - Added dist tag!
  108. - Made macros slightly more consistent
  109. - Deleted .la files in %%install
  110. * Sun Apr 2 2006 Michel Salim <michel.salim@gmail.com> 1.0.11-1.rc3
  111. - Initial build.