sndconfig-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. Name: sndconfig
  2. Version: 0.68
  3. Release: 2vl3
  4. License: GPL
  5. Summary: The Red Hat Linux sound configuration tool.
  6. Summary(ja): Vine Linux サウンド設定ツール
  7. Group: Applications/Multimedia
  8. Source: sndconfig-%{PACKAGE_VERSION}.tar.bz2
  9. Source1: sndconfig-0.68-ja.po
  10. Patch0: sndconfig-0.67-makefile.patch
  11. Requires: sox, kudzu
  12. %ifarch %{ix86} alpha
  13. Requires: aumix, kernel >= 2.4.0
  14. %endif
  15. BuildPrereq: kudzu-devel >= 0.97, sharutils, newt-devel
  16. Conflicts: modutils < 2.3.11-5
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. ExclusiveArch: %{ix86} sparc alpha ia64
  19. %description
  20. Sndconfig is a text based tool which sets up the configuration files
  21. you'll need to use a sound card with a Red Hat Linux system.
  22. Sndconfig can be used to set the proper sound type for programs which
  23. use the /dev/dsp, /dev/audio and /dev/mixer devices. The sound
  24. settings are saved by the aumix and sysV runlevel scripts.
  25. %description -l ja
  26. sndconfig は Vine Linux システムのサウンドカードを使用するのに必要な
  27. 設定ファイルをセットするテキストベースのツールです。
  28. sndconfig は /dev/dsp、/dev/audio そして /dev/mixser デバイスを
  29. 使用するプログラムのために適切なサウンドの種類をセットするために
  30. 使用することができます。サウンドのセッティングは aumix と sysV の
  31. runlevel スクリプトにセーブされます。
  32. もしサウンドカードを設定する必要があるなら sndconfig をインストールしなさい。
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .makefile
  36. # FIXME: Vine Linux gettext does not recognize zh_TW po file.
  37. rm po/zh_TW*
  38. cp %{SOURCE1} po/ja.po
  39. %build
  40. make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make prefix=$RPM_BUILD_ROOT/%{_prefix} mandir=$RPM_BUILD_ROOT/%{_mandir} install
  44. mkdir -p $RPM_BUILD_ROOT/sbin
  45. mv $RPM_BUILD_ROOT/usr/sbin/sndconfig $RPM_BUILD_ROOT/sbin
  46. ln -s ../../sbin/sndconfig $RPM_BUILD_ROOT/usr/sbin/sndconfig
  47. %find_lang %{name}
  48. %clean
  49. rm -rf $RPM_BUILD_ROOT
  50. %files -f %{name}.lang
  51. %defattr (-,root,root)
  52. /sbin/sndconfig
  53. %{_sbindir}/sndconfig
  54. %{_datadir}/sndconfig
  55. %{_mandir}/man8/sndconfig.*
  56. %changelog
  57. * Wed Nov 27 2002 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 0.68-2vl3
  58. - rebuilt on gcc-3.2.1
  59. * Mon May 27 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.68-2vl2
  60. - change spec file kanjicode from sjis to euc.
  61. * Sat May 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.68-2vl1
  62. - merged with 0.68-2
  63. * Sat May 25 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 0.67-1vl1
  64. - merged with rawhide
  65. - add patch0 to add -lm for LDFLAGS
  66. - do not make zh_TW po file. Vine Linux gettext cannot recognize it.
  67. * Sat Apr 6 2002 Bill Nottingham <notting@redhat.com> 0.67-1
  68. - fix cancel button (#60950)
  69. * Fri Jan 25 2002 Bill Nottingham <notting@redhat.com> 0.66-1
  70. - remove playmidi/awesfx requirements, and midi test
  71. * Tue Aug 28 2001 Trond Eivind Glomsr藷?<teg@redhat.com> 0.65.2-1
  72. - Translation update
  73. * Tue Aug 21 2001 Bill Nottingham <notting@redhat.com>
  74. - don't remove the cs4232 module when we go to load opl3 either (#52176)
  75. * Mon Jul 23 2001 Trond Eivind Glomsr藷?<teg@redhat.com>
  76. - Translation update
  77. * Fri Jul 6 2001 Bill Nottingham <notting@redhat.com>
  78. - own /usr/share/sndconfig
  79. * Mon May 21 2001 Bill Nottingham <notting@redhat.com>
  80. - fix segfault when LANG is unset (#41394)
  81. * Fri Mar 30 2001 Bill Nottingham <notting@redhat.com>
  82. - add translation files
  83. * Thu Mar 22 2001 Preston Brown <pbrown@redhat.com>
  84. - update japanese translation
  85. * Mon Mar 19 2001 Bill Nottingham <notting@redhat.com>
  86. - add 'support' for the Inspiron 3500, and potentially other wacky
  87. nm256 stuff (#19685)
  88. - fix aumix lines, again (#32163)
  89. * Fri Mar 16 2001 Bill Nottingham <notting@redhat.com>
  90. - don't unload sb before trying to load opl3
  91. * Tue Mar 13 2001 Bill Nottingham <notting@redhat.com>
  92. - write *correcct* save/restore lines for aumix
  93. - use correct driver for the nm256
  94. - use sox for all PCI cards
  95. * Wed Feb 28 2001 Bill Nottingham <notting@redhat.com>
  96. - fix a segfault if no cards are probed
  97. * Wed Feb 28 2001 Than Ngo <than@redhat.com>
  98. - add require aumix (bug #29946)
  99. * Tue Feb 27 2001 Bill Nottingham <notting@redhat.com>
  100. - kill the userland isapnp code, switch to dealing with the kernel isapnp
  101. (part of #29450)
  102. - link in newt/slang statically (bleah), put sndconfig on the root partition
  103. - rebuild
  104. * Tue Feb 20 2001 Bill Nottingham <notting@redhat.com>
  105. - add lines to modules.conf to save/restore sound settings (#28504)
  106. * Wed Feb 14 2001 Preston Brown <pbrown@redhat.com>
  107. - last translation update.
  108. * Wed Feb 14 2001 Bill Nottingham <notting@redhat.com>
  109. - add cs4281, fix some driver mappings
  110. - die, code, die.
  111. * Tue Feb 6 2001 Bill Nottingham <notting@redhat.com>
  112. - don't write modules.conf until we're sure it works (patch originally from
  113. <denice@deatrich@epfl.ch>)
  114. * Mon Feb 5 2001 Bill Nottingham <notting@redhat.com>
  115. - add a special dialog for disabled devices
  116. * Wed Jan 24 2001 Preston Brown <pbrown@redhat.com>
  117. - final i18n update before beta
  118. - use lang finder macro
  119. * Mon Dec 11 2000 Bill Nottingham <notting@redhat.com>
  120. - fix emu10k1 on 2.4. Wow, this code must *die*.
  121. * Fri Nov 17 2000 Bill Nottingham <notting@redhat.com>
  122. - ugly hacks for ftsodell support
  123. * Mon Nov 6 2000 Bill Nottingham <notting@redhat.com>
  124. - add Maestro3 support
  125. * Thu Aug 24 2000 Erik Troan <ewt@redhat.com>
  126. - updated it/es translations
  127. * Wed Aug 23 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  128. - kernel 2.4 support in FindModules (Bug #16779)
  129. * Sun Aug 20 2000 Matt Wilson <msw@redhat.com>
  130. - new translations
  131. * Tue Aug 15 2000 Bill Nottingham <notting@redhat.com>
  132. - fix sound test on maestro cards
  133. * Wed Aug 9 2000 Bill Nottingham <notting@redhat.com>
  134. - translation updates
  135. * Sun Aug 6 2000 Bill Nottingham <notting@redhat.com>
  136. - newt fixes
  137. * Sat Aug 5 2000 Bil lNottingham <notting@redhat.com>
  138. - fix PCI probing
  139. * Fri Aug 4 2000 Bill Nottingham <notting@redhat.com>
  140. - fix ymfsb driver mapping
  141. - random translation/message fixes
  142. * Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
  143. - actually build version with cs46xx support
  144. * Tue Jul 18 2000 Bill Nottingham <notting@redhat.com>
  145. - add cs46xx, fix some other random crap
  146. * Mon Jul 10 2000 Bill Nottingham <notting@redhat.com>
  147. - fix ugly typo in i810 module name
  148. * Thu Jun 1 2000 Bill Nottingham <notting@redhat.com>
  149. - merge Sound-Boostar 16 3D with AD1816 - they're identical
  150. - add YMF legacy, I810, and trident drivers
  151. * Thu Jun 1 2000 Bill Nottingham <notting@redhat.com>
  152. - conf.modules -> modules.conf
  153. * Mon May 8 2000 Ngo Than <than@redhat.de>
  154. - add support for Highscreen Sound-Boostar 16 3D
  155. * Sun May 6 2000 Bill Nottingham <notting@redhat.com>
  156. - hack up ia64 support
  157. * Tue Feb 8 2000 Bill Nottingham <notting@redhat.com>
  158. - sound-slot-0 fixes
  159. * Wed Feb 02 2000 Cristian Gafton <gafton@redhat.com>
  160. - fix description
  161. * Mon Jan 31 2000 Bill Nottingham <notting@redhat.com>
  162. - fix alias
  163. * Mon Dec 20 1999 Bill Nottingham <notting@redhat.com>
  164. - fix VIA chips
  165. * Thu Sep 30 1999 Bill Nottingham <notting@redhat.com>
  166. - add a '--quiet' autoconfiguration option
  167. * Sat Sep 25 1999 Bill Nottingham <notting@redhat.com>
  168. - add a warning about running under X
  169. * Sat Sep 18 1999 Bill Nottingham <notting@redhat.com>
  170. - add newtSuspend/newtResume around initial pnpdump
  171. * Mon Sep 13 1999 Bill Nottingham <notting@redhat.com>
  172. - add support for ESS Maestro & Neomagic MagicMedia 256AV
  173. - only support cards for which there are modules
  174. * Sat Sep 11 1999 Bill Nottingham <notting@redhat.com>
  175. - add support for CMI8x38, VIA 82Cxxx, ESS Solo1
  176. * Thu Sep 9 1999 Bill Nottingham <notting@redhat.com>
  177. - kudzu-ify
  178. * Tue Aug 24 1999 Bill Nottingham <notting@redhat.com>
  179. - club AWE32 cards over the head. Bleah.
  180. * Tue Aug 10 1999 Bill Nottingham <notting@redhat.com>
  181. - oops, debugging code slipped in
  182. * Mon Aug 9 1999 Bill Nottingham <notting@redhat.com>
  183. - fix for sgalaxy
  184. * Mon Aug 2 1999 Matt Wilson <msw@redhat.com>
  185. - rebuilt against newt 0.50
  186. * Thu Apr 22 1999 Bill Nottingham <notting@redhat.com>
  187. - add "support" for a lot more PCI cards
  188. * Mon Apr 19 1999 Cristian Gafton <gafton@redhat.com>
  189. - release for Red Hat Linux 6.0
  190. * Fri Apr 9 1999 Bill Nottingham <notting@redhat.com>
  191. - allow both 0x530 & 0x534 as IO port choices for WSS based things
  192. * Mon Apr 5 1999 Bill Nottingham <notting@redhat.com>
  193. - add a double-extra sanity check for pci cards
  194. * Wed Mar 17 1999 Bill Nottingham <notting@redhat.com>
  195. - add a kludge for Vibra16X
  196. * Thu Mar 11 1999 Bill Nottingham <notting@redhat.com>
  197. - switch CMI8330 to use ad1848 driver
  198. - rework Multisound Pinnacle support
  199. * Tue Mar 9 1999 Jeff Johnson <jbj@redhat.com>
  200. - add in_ID.po
  201. * Tue Feb 23 1999 Bill Nottingham <notting@redhat.com>
  202. - midi testing support
  203. * Thu Feb 18 1999 Bill Nottingham <notting@redhat.com>
  204. - add ALS100, add PnP support for it
  205. * Thu Jan 28 1999 Bill Nottingham <notting@redhat.com>
  206. - make everything use two dma= parameters
  207. * Mon Jan 24 1999 Bill Nottingham <notting@redhat.com>
  208. - card lists weren't in sync
  209. - fix pci probing bug
  210. * Sun Jan 10 1999 Bill Nottingham <notting@redhat.com>
  211. - build against gpm (new newt)
  212. * Mon Jan 4 1999 Bill Nottingham <notting@redhat.com>
  213. - more PnP fixes (Opti PnP, CMI8330)
  214. - require newer isapnptools so we don't run into LD bug.
  215. * Mon Dec 28 1998 Bill Nottingham <notting@redhat.com>
  216. - large pile of PnP fixes (Opti, SGalaxy, SSVIVO, ESS1868, others....)
  217. - bump version to 0.29
  218. * Thu Dec 3 1998 Bill Nottingham <notting@redhat.com>
  219. - fix for SoundScape VIVO...
  220. * Mon Nov 16 1998 Bill Nottingham <notting@redhat.com>
  221. - awesfx goes in /bin
  222. * Mon Nov 2 1998 Bill Nottingham <notting@redhat.com>
  223. - added hack to make it less likely to lock up alphas
  224. * Fri Oct 30 1998 Bill Nottingham <notting@redhat.com>
  225. - stupid programmer error, part deux
  226. * Thu Oct 22 1998 Bill Nottingham <notting@redhat.com>
  227. - build for Raw Hide (slang-1.2.2)
  228. - now for alpha
  229. - organize by bus, not platform
  230. * Wed Oct 14 1998 Cristian Gafton <gafton@redhat.com>
  231. - translation updates
  232. * Mon Oct 12 1998 Bill Nottingham <notting@redhat.com>
  233. - fixes to lists of resources
  234. - add more translations
  235. - don't set auto-unload
  236. * Thu Oct 8 1998 Bill Nottingham <notting@redhat.com>
  237. - oops, forgot a newtResume()
  238. - make /etc/conf.modules mode 0644, not 0600
  239. - merge SBPCI entries with ES1370, since we can't tell them apart anyways
  240. * Fri Oct 2 1998 Bill Nottingham <notting@redhat.com>
  241. - added scrollbar to card list
  242. - updated to 0.26
  243. * Wed Sep 30 1998 Bill Nottingham <notting@redhat.com>
  244. - fixes for AudioTrix Pro, add OPL3-SA2/3/x
  245. - assorted random bugfixes
  246. - add Turkish translations (from H. Turgut Uyar <uyar@cs.itu.edu.tr>)
  247. - add Romanian translations
  248. * Thu Sep 24 1998 Bill Nottingham <notting@redhat.com>
  249. - add a few more cards
  250. - disable Wavefront support for now
  251. * Thu Sep 24 1998 Arnaldo Carvalho de Melo <acme@conectiva.com.br>
  252. - added pt_BR translations
  253. - i18n patches
  254. * Wed Sep 23 1998 Bill Nottingham <notting@redhat.com>
  255. - fix PCI-probing bug
  256. * Tue Sep 22 1998 Bill Nottingham <notting@redhat.com>
  257. - when merging isapnp.conf changes, use current preamble
  258. * Fri Sep 18 1998 Bill Nottingham <notting@redhat.com>
  259. - check that they actually have modular sound
  260. * Fri Sep 11 1998 Bill Nottingham <notting@redhat.com>
  261. - PCI probing!
  262. * Tue Sep 8 1998 Bill Nottingham <notting@redhat.com>
  263. - SPARC support.
  264. * Wed Aug 26 1998 Bill Nottingham <notting@redhat.com>
  265. - YABF
  266. * Tue Aug 25 1998 Bill Nottingham <notting@redhat.com>
  267. - fixed bad logic w/midi assignment
  268. * Fri Aug 21 1998 Bill Nottingham <notting@redhat.com>
  269. - fixed message segfault
  270. * Thu Aug 20 1998 Bill Nottingham <notting@redhat.com>
  271. - changed bug reporting address
  272. * Wed Aug 19 1998 Bill Nottingham <notting@redhat.com>
  273. - introduce support for non SB sound cards
  274. * Sun Aug 02 1998 Erik Troan <ewt@redhat.com>
  275. - built aginst newt 0.30
  276. * Tue May 05 1998 Cristian Gafton <gafton@redhat.com>
  277. - fixed problem with overwriting the conf.modules file
  278. * Tue Dec 30 1997 Erik Troan <ewt@redhat.com>
  279. - fixed problem w/ free()ing bad pointers
  280. * Fri Dec 19 1997 Erik Troan <ewt@redhat.com>
  281. - general Makefile cleanups
  282. * Fri Nov 7 1997 Michael Fulbright <msf@redhat.com>
  283. - fixed bug in reading current settings from conf.modules
  284. * Fri Oct 31 1997 Michael Fulbright <msf@redhat.com>
  285. - fixed behavior to work with rhsound service
  286. - added support for midi in conf.modules, isapnp.conf
  287. - reduced duplicate info stored in /etc/sysconfig/sound
  288. * Wed Oct 29 1997 Mike Wangsmo <wanger@redhat.com>
  289. - removed README's from tarball and coverted to buildroot
  290. * Thu Oct 24 1997 Michael Fulbright <msf@redhat.com>
  291. - added some docs on the sound modules
  292. * Tue Oct 22 1997 Michael Fulbright <msf@redhat.com>
  293. - changed sound sample to linux d00d instead of gorby d00d
  294. * Tue Oct 14 1997 Michael Fulbright <msf@redhat.com>
  295. - fixed creation of temporary files to be more secure.
  296. * Mon Oct 6 1997 Michael Fulbright <msf@redhat.com>
  297. - added man page
  298. * Fri Oct 3 1997 Michael Fulbright <msf@redhat.com>
  299. - first version