aumix-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. %define version 2.6.1
  2. %define release 7%{?_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 Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 2.6.1-7
  71. - rebuilt with rpm-4.8.1-3
  72. * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-6
  73. - drop X11 version
  74. - remove X11 subpackage
  75. - add Obsoletes: aumix-X11
  76. * Sat May 30 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-5
  77. - rebuild without gpm
  78. - add --without-gpm to configure option
  79. * Fri May 29 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.1-4vl5
  80. - rebuilt with gpm-1.20.6
  81. * Wed Sep 10 2008 Shu KONNO <owa@bg.wakwak.com> 2.6.1-3vl5
  82. - applied new versioning policy, spec in utf-8
  83. - added aumix-2.6.1-interactive_c.patch
  84. * Wed Oct 18 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.1-2vl6
  85. - modified SOURCE10 (100% volume is too lousy on some environment)
  86. * Wed Sep 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-2vl5
  87. - use /etc/.aumixrc for default setting instead of /etc/aumixrc
  88. * Wed Sep 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-2vl4
  89. - use License: instead of Copyright:
  90. - new upstream source
  91. - add default aumixrc
  92. * Mon Jun 11 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@vinelinux.org>
  93. - 2.6.1-2vl3
  94. - rebuilt for VineSeed (with new %%{mandir} definition)
  95. - added Japanese summary and description
  96. * Sat Dec 09 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  97. - 2.6.1-2vl2
  98. - rebuilt with ncurses >= 5.0 (and with gpm rebuilt with ncurses5)
  99. * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 2.6.1-2vl1
  100. - build on Vine Linux with gcc-2.95.3
  101. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  102. - automatic rebuild
  103. * Tue Jun 27 2000 Preston Brown <pbrown@redhat.com>
  104. - make desktop entry a config file
  105. - 2.6.1
  106. - the nogtk patch has been rolled into the main distro, removed.
  107. * Thu Jun 8 2000 Bill Nottingham <notting@redhat.com>
  108. - FHS stuff
  109. * Mon May 22 2000 Bill Nottingham <notting@redhat.com>
  110. - make desktop link point to correct binary (#11413)
  111. * Wed Apr 13 2000 Bill Nottingham <notting@redhat.com>
  112. - 2.6
  113. * Wed Mar 29 2000 Bill Nottingham <notting@redhat.com>
  114. - 2.5
  115. * Wed Mar 22 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  116. - 2.3
  117. - rebuild with current libncurses
  118. - fix up and re-enable aumix-X11, and move it to a separate package
  119. - add a .desktop file for aumix-X11
  120. * Mon Mar 13 2000 Bill Nottingham <notting@redhat.com>
  121. - update to 2.2
  122. * Thu Feb 3 2000 Bill Nottingham <notting@redhat.com>
  123. - handle compressed man pages
  124. * Mon Dec 20 1999 Bill Nottingham <notting@redhat.com>
  125. - update to 1.30.1
  126. * Mon Nov 29 1999 Bill Nottingham <notting@redhat.com>
  127. - update to 1.28
  128. * Thu Nov 4 1999 Bill Nottingham <notting@redhat.com>
  129. - update to 1.26
  130. * Mon Oct 18 1999 Bill Nottingham <notting@redhat.com>
  131. - update to 1.23.1
  132. * Mon Oct 4 1999 Bill Nottingham <notting@redhat.com>
  133. - update to 1.23
  134. * Mon Sep 20 1999 Bill Nottingham <notting@redhat.com>
  135. - oops, fix regular aumix
  136. * Fri Sep 17 1999 Bill Nottingham <notting@redhat.com>
  137. - add stripped down version in /bin
  138. - kill sound.init (in initscripts now)
  139. * Fri Sep 10 1999 Bill Nottingham <notting@redhat.com>
  140. - chkconfig --del in %preun, not %postun
  141. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  142. - initscript munging
  143. * Wed Jun 23 1999 Bill Nottingham <notting@redhat.com>
  144. - move initscript from rhsound to here. Woohoo - we got rid of a package! ;)
  145. * Tue Jun 22 1999 Bill Nottingham <notting@redhat.com>
  146. - 1.22.1
  147. * Mon Jun 14 1999 Bill Nottingham <notting@redhat.com>
  148. - 1.22
  149. * Sat May 21 1999 Bill Nottingham <notting@redhat.com>
  150. - 1.18.4
  151. * Thu May 06 1999 Bill Nottingham <notting@redhat.com>
  152. - update to 1.18.3
  153. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  154. - auto rebuild in the new build environment (release 2)
  155. * Wed Feb 24 1999 Bill Nottingham <notting@redhat.com>
  156. - update to 1.18.2
  157. * Mon Feb 22 1999 Bill Nottingham <notting@redhat.com>
  158. - update to 1.18.1
  159. * Mon Feb 8 1999 Bill Nottingham <notting@redhat.com>
  160. - update to 1.17
  161. * Mon Feb 1 1999 Bill Nottingham <notting@redhat.com>
  162. - update to 1.15
  163. * Fri Dec 18 1998 Bill Nottingham <notting@redhat.com>
  164. - update to 1.14
  165. * Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
  166. - strip binary
  167. * Fri Oct 2 1998 Bill Nottingham <notting@redhat.com>
  168. - updated to 1.13
  169. * Fri Aug 28 1998 Bill Nottingham <notting@redhat.com>
  170. - updated to 1.12
  171. * Mon Aug 17 1998 Bill Nottingham <notting@redhat.com>
  172. - updated to 1.11
  173. * Tue May 05 1998 Prospector System <bugs@redhat.com>
  174. - translations modified for de, fr, tr
  175. * Thu Apr 09 1998 Cristian Gafton <gafton@redhat.com>
  176. - updated to 1.8
  177. * Tue Oct 21 1997 Otto Hammersmith <otto@redhat.com>
  178. - fixed source url
  179. - updated version
  180. * Thu Jul 10 1997 Erik Troan <ewt@redhat.com>
  181. - built with glibc
  182. * Thu Mar 20 1997 Michael Fulbright <msf@redhat.com>
  183. - Updated to v. 1.6.1.