aumix-vl.spec 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. %define version 2.6.1
  2. %define release 6%{?_dist_release}
  3. Summary: An ncurses-based audio mixer.
  4. Summary(ja): ncurses ベースのオーディオミキサ
  5. Name: aumix
  6. Version: %{version}
  7. Release: %{release}
  8. License: GPL
  9. Group: Applications/Multimedia
  10. Source: http://www.jpj.net/~trevor/aumix/%{name}-%{version}.tar.gz
  11. Source10: aumixrc.default
  12. Patch0: aumix-2.6.1-interactive_c.patch
  13. Requires: initscripts >= 4.42
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Obsoletes: aumix-X11
  16. %description
  17. Aumix is a tty-based, interactive method of controlling a sound card
  18. mixer. It lets you adjust the input levels from the CD, microphone,
  19. and board synthesizers, as well as the output volume. Aumix can
  20. adjust audio mixers from the command line, from a script, or
  21. interactively at the console or terminal with an
  22. ncurses-based interface.
  23. Install aumix if you need to control an audio mixer. If you want to use
  24. Aumix's GUI, you'll need to install ncurses and gpm for mouse support.
  25. %description -l ja
  26. Aumix は tty ベースでインタラクティブにサウンドカードのミキシングを操作
  27. するプログラムです.これを使うことにより CD,マイクロフォン,オンボード
  28. シンセサイザの入力レベルを調節することが出来ますし,出力レベルに関しても
  29. 操作することが出来ます.
  30. Aumix によるオーディオミキサの操作は,コマンドライン,スクリプト,コンソール
  31. ターミナル上の ncurses ベースのインタフェースを用いた対話形式等,様々な
  32. 方法で行うことが出来ます.
  33. %prep
  34. %setup -q
  35. %patch0 -p0 -b .interactive_c
  36. %build
  37. %configure --prefix=/ --with-alsa \
  38. --without-ncurses --without-gtk \
  39. --without-gpm
  40. make
  41. mv src/aumix ./aumix-minimal
  42. make distclean
  43. %configure --with-alsa \
  44. --without-gtk \
  45. --without-gpm
  46. make
  47. %install
  48. rm -rf ${RPM_BUILD_ROOT}
  49. %makeinstall
  50. make prefix=${RPM_BUILD_ROOT}/usr install -C po
  51. mkdir -p ${RPM_BUILD_ROOT}/bin
  52. install -c -m755 aumix-minimal ${RPM_BUILD_ROOT}/bin
  53. strip -R .comment \
  54. ${RPM_BUILD_ROOT}/bin/aumix-minimal \
  55. ${RPM_BUILD_ROOT}/usr/bin/aumix
  56. install -d ${RPM_BUILD_ROOT}%{_sysconfdir}
  57. install -m644 %{SOURCE10} ${RPM_BUILD_ROOT}%{_sysconfdir}/.aumixrc
  58. %clean
  59. rm -rf ${RPM_BUILD_ROOT}
  60. %files
  61. %defattr(-,root,root)
  62. %doc README TODO NEWS ChangeLog
  63. /bin/aumix-minimal
  64. %config(noreplace) %{_sysconfdir}/.aumixrc
  65. %{_bindir}/aumix
  66. %{_mandir}/man1/aumix.*
  67. %{_datadir}/aumix
  68. %{_datadir}/locale/*/*/aumix.mo
  69. %changelog
  70. * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-6
  71. - drop X11 version
  72. - remove X11 subpackage
  73. - add Obsoletes: aumix-X11
  74. * Sat May 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-5
  75. - rebuild without gpm
  76. - add --without-gpm to configure option
  77. * Fri May 29 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.1-4vl5
  78. - rebuilt with gpm-1.20.6
  79. * Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.1-3vl5
  80. - applied new versioning policy, spec in utf-8
  81. - added aumix-2.6.1-interactive_c.patch
  82. * Wed Oct 18 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.1-2vl6
  83. - modified SOURCE10 (100% volume is too lousy on some environment)
  84. * Wed Sep 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-2vl5
  85. - use /etc/.aumixrc for default setting instead of /etc/aumixrc
  86. * Wed Sep 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-2vl4
  87. - use License: instead of Copyright:
  88. - new upstream source
  89. - add default aumixrc
  90. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  91. - 2.6.1-2vl3
  92. - rebuilt for VineSeed (with new %%{mandir} definition)
  93. - added Japanese summary and description
  94. * Sat Dec 09 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  95. - 2.6.1-2vl2
  96. - rebuilt with ncurses >= 5.0 (and with gpm rebuilt with ncurses5)
  97. * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 2.6.1-2vl1
  98. - build on Vine Linux with gcc-2.95.3
  99. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  100. - automatic rebuild
  101. * Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
  102. - make desktop entry a config file
  103. - 2.6.1
  104. - the nogtk patch has been rolled into the main distro, removed.
  105. * Thu Jun 8 2000 Bill Nottingham <notting@redhat.com>
  106. - FHS stuff
  107. * Mon May 22 2000 Bill Nottingham <notting@redhat.com>
  108. - make desktop link point to correct binary (#11413)
  109. * Wed Apr 13 2000 Bill Nottingham <notting@redhat.com>
  110. - 2.6
  111. * Wed Mar 29 2000 Bill Nottingham <notting@redhat.com>
  112. - 2.5
  113. * Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  114. - 2.3
  115. - rebuild with current libncurses
  116. - fix up and re-enable aumix-X11, and move it to a separate package
  117. - add a .desktop file for aumix-X11
  118. * Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
  119. - update to 2.2
  120. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  121. - handle compressed man pages
  122. * Mon Dec 20 1999 Bill Nottingham <notting@redhat.com>
  123. - update to 1.30.1
  124. * Mon Nov 29 1999 Bill Nottingham <notting@redhat.com>
  125. - update to 1.28
  126. * Thu Nov 4 1999 Bill Nottingham <notting@redhat.com>
  127. - update to 1.26
  128. * Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
  129. - update to 1.23.1
  130. * Mon Oct 4 1999 Bill Nottingham <notting@redhat.com>
  131. - update to 1.23
  132. * Mon Sep 20 1999 Bill Nottingham <notting@redhat.com>
  133. - oops, fix regular aumix
  134. * Fri Sep 17 1999 Bill Nottingham <notting@redhat.com>
  135. - add stripped down version in /bin
  136. - kill sound.init (in initscripts now)
  137. * Fri Sep 10 1999 Bill Nottingham <notting@redhat.com>
  138. - chkconfig --del in %preun, not %postun
  139. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  140. - initscript munging
  141. * Wed Jun 23 1999 Bill Nottingham <notting@redhat.com>
  142. - move initscript from rhsound to here. Woohoo - we got rid of a package! ;)
  143. * Tue Jun 22 1999 Bill Nottingham <notting@redhat.com>
  144. - 1.22.1
  145. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  146. - 1.22
  147. * Sat May 21 1999 Bill Nottingham <notting@redhat.com>
  148. - 1.18.4
  149. * Thu May 06 1999 Bill Nottingham <notting@redhat.com>
  150. - update to 1.18.3
  151. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  152. - auto rebuild in the new build environment (release 2)
  153. * Wed Feb 24 1999 Bill Nottingham <notting@redhat.com>
  154. - update to 1.18.2
  155. * Mon Feb 22 1999 Bill Nottingham <notting@redhat.com>
  156. - update to 1.18.1
  157. * Mon Feb 8 1999 Bill Nottingham <notting@redhat.com>
  158. - update to 1.17
  159. * Mon Feb 1 1999 Bill Nottingham <notting@redhat.com>
  160. - update to 1.15
  161. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  162. - update to 1.14
  163. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  164. - strip binary
  165. * Fri Oct 2 1998 Bill Nottingham <notting@redhat.com>
  166. - updated to 1.13
  167. * Fri Aug 28 1998 Bill Nottingham <notting@redhat.com>
  168. - updated to 1.12
  169. * Mon Aug 17 1998 Bill Nottingham <notting@redhat.com>
  170. - updated to 1.11
  171. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  172. - translations modified for de, fr, tr
  173. * Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
  174. - updated to 1.8
  175. * Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
  176. - fixed source url
  177. - updated version
  178. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  179. - built with glibc
  180. * Thu Mar 20 1997 Michael Fulbright <msf@redhat.com>
  181. - Updated to v. 1.6.1.