alsa-oss-vl.spec 4.1 KB

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