jack-audio-connection-kit-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. Summary: The Jack Audio Connection Kit
  2. Name: jack-audio-connection-kit
  3. Version: 0.121.3
  4. Release: 1%{?_dist_release}
  5. License: GPLv2 and LGPLv2
  6. Group: System Environment/Daemons
  7. Source0: http://www.jackaudio.org/downloads/%{name}-%{version}.tar.gz
  8. URL: http://www.jackaudio.org
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  10. BuildRequires: alsa-lib-devel
  11. BuildRequires: libsndfile-devel >= 1.0.0
  12. BuildRequires: pkgconfig
  13. BuildRequires: doxygen
  14. BuildRequires: readline-devel, ncurses-devel
  15. BuildRequires: autoconf >= 2.59, automake >= 1.9.3, libtool
  16. BuildRequires: libfreebob-devel >= 1.0.0
  17. BuildRequires: libsamplerate-devel
  18. BuildRequires: celt-devel
  19. %define groupname jackuser
  20. Requires(pre): shadow-utils
  21. Requires(post): /sbin/ldconfig
  22. %description
  23. JACK is a low-latency audio server, written primarily for the Linux
  24. operating system. It can connect a number of different applications to
  25. an audio device, as well as allowing them to share audio between
  26. themselves. Its clients can run in their own processes (ie. as a
  27. normal application), or can they can run within a JACK server (ie. a
  28. "plugin").
  29. JACK is different from other audio server efforts in that it has been
  30. designed from the ground up to be suitable for professional audio
  31. work. This means that it focuses on two key areas: synchronous
  32. execution of all clients, and low latency operation.
  33. %package devel
  34. Summary: Development files for %{name}
  35. Summary(ja): %{name} の開発用ファイル
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}
  38. Requires: pkgconfig
  39. %description devel
  40. Development files for the Jack Audio Connection Kit.
  41. %package example-clients
  42. Summary: Example clients that use Jack
  43. Summary(ja): %{name} を利用したサンプルプログラム
  44. Group: Applications/Multimedia
  45. Requires: %{name} = %{version}
  46. %description example-clients
  47. Small example clients that use the Jack Audio Connection Kit.
  48. %prep
  49. %setup -q
  50. %build
  51. # x86_64 issue reported by Rudolf Kastl (not checked, but not bad).
  52. autoreconf --force --install
  53. %configure \
  54. --with-html-dir=%{_docdir} \
  55. --enable-freebob \
  56. --disable-oss \
  57. --disable-portaudio \
  58. --with-default-tmpdir=/dev/shm
  59. make %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. # can't use the makeinstall macro, jack needs DESTDIR and prefix gets
  63. # added to it and messes up part of the install
  64. make install DESTDIR=$RPM_BUILD_ROOT
  65. # remove extra install of the documentation
  66. rm -fr $RPM_BUILD_ROOT%{_docdir}
  67. # remove *.la files
  68. rm -f $RPM_BUILD_ROOT%{_libdir}/jack/*.la
  69. rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
  70. # Fix timestamps to avoid multiarch conflicts
  71. find doc/reference -type f | xargs touch -r doc/reference.doxygen.in
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %pre
  75. getent group %groupname > /dev/null || groupadd -r %groupname
  76. exit 0
  77. %post
  78. /sbin/ldconfig
  79. # Add default limits for jackuser group
  80. grep -q %groupname /etc/security/limits.conf > /dev/null 2>&1 || cat >> /etc/security/limits.conf << EOF
  81. ## Automatically appended by jack-audio-connection-kit
  82. @%groupname - rtprio 20
  83. @%groupname - memlock 4194304
  84. EOF
  85. %postun -p /sbin/ldconfig
  86. %files
  87. %defattr(-,root,root)
  88. %doc AUTHORS TODO COPYING*
  89. %{_bindir}/jackd
  90. %{_bindir}/jack_load
  91. %{_bindir}/jack_unload
  92. %{_bindir}/jack_freewheel
  93. %{_libdir}/jack/
  94. %{_mandir}/man1/jack*.1*
  95. %{_libdir}/libjack.so.*
  96. %{_libdir}/libjackserver.so.*
  97. %files devel
  98. %defattr(-,root,root)
  99. %doc doc/reference
  100. %{_includedir}/jack/
  101. %{_libdir}/libjack.so
  102. %{_libdir}/libjackserver.so
  103. %{_libdir}/pkgconfig/jack.pc
  104. %files example-clients
  105. %defattr(-,root,root)
  106. %{_bindir}/jack_alias
  107. %{_bindir}/jack_bufsize
  108. %{_bindir}/jack_connect
  109. %{_bindir}/jack_disconnect
  110. %{_bindir}/jack_evmon
  111. %{_bindir}/jack_impulse_grabber
  112. %{_bindir}/jack_iodelay
  113. %{_bindir}/jack_latent_client
  114. %{_bindir}/jack_load_test
  115. %{_bindir}/jack_lsp
  116. %{_bindir}/jack_metro
  117. %{_bindir}/jack_midiseq
  118. %{_bindir}/jack_midisine
  119. %{_bindir}/jack_midi_dump
  120. %{_bindir}/jack_monitor_client
  121. %{_bindir}/jack_netsource
  122. %{_bindir}/jack_rec
  123. %{_bindir}/jack_samplerate
  124. %{_bindir}/jack_server_control
  125. %{_bindir}/jack_session_notify
  126. %{_bindir}/jack_showtime
  127. %{_bindir}/jack_simple_client
  128. %{_bindir}/jack_simple_session_client
  129. %{_bindir}/jack_transport
  130. %{_bindir}/jack_transport_client
  131. %{_bindir}/jack_wait
  132. %{_bindir}/alsa_in
  133. %{_bindir}/alsa_out
  134. %changelog
  135. * Wed Feb 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.121.3
  136. - update to 0.121.3
  137. - add BuildRequires: celt-devel
  138. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.118.0-2
  139. - rebuild with rpm-4.8.1 for pkg-config file
  140. - add BuildRequires: libsamplerate-devel
  141. * Fri May 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.118.0-1
  142. - new upstream release
  143. * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.116.1-1
  144. - new upstream release
  145. - rebuild with ncurses-devel
  146. * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.109.2-1
  147. - initial build for Vine Linux
  148. * Wed Feb 13 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-1.1
  149. - update to the last official release
  150. * Mon Jan 21 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.0-1
  151. - update to the last official release (#429162)
  152. - shut up the postinstall script (#359291)
  153. * Sat Oct 20 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-5
  154. - fix timestamps to avoid multiarch conflicts (#341621)
  155. * Tue Sep 04 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-4
  156. - fix Source Forge's URL scheme
  157. * Thu Aug 16 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-3
  158. - fix according to new guidelines:
  159. - License tag
  160. - group creation
  161. * Wed May 23 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-1
  162. - update to the last official release
  163. - append defaults to the limits.conf (#221785, #235624)
  164. * Wed Mar 07 2007 Andy Shevchenko <andy@smile.org.ua> 0.102.20-4
  165. - drop libtermcap-devel build requirement (#231203)
  166. - create special jackuser group (#221785)
  167. * Sat Oct 28 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-3
  168. - fix BuildRequires: libfreebob -> libfreebob-devel
  169. * Tue Oct 24 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.1
  170. - rebuild with libfreebob (should closed #211751)
  171. * Wed Oct 11 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.0
  172. - update to 0.102.20
  173. - drop patch0 (already in mainstream)
  174. - no pack jack_transport (build error)
  175. - pack new JACK MIDI files
  176. * Tue Aug 29 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-13
  177. - http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
  178. * Tue Aug 01 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-12
  179. - use install instead of cp (#200835)
  180. * Tue Jul 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-11
  181. - update URL
  182. - add BR: libtool
  183. * Tue Jun 20 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-10
  184. - add BRs: autoconf, automake
  185. (http://fedoraproject.org/wiki/QA/FixBuildRequires)
  186. * Sat May 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-9
  187. - remove --enable-stripped-jackd and --enable-optimize (use default flags)
  188. * Fri May 19 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-8
  189. - uniform directories items at %files section
  190. * Wed May 17 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-7
  191. - change License tag to GPL/LGPL
  192. - remove --enable-shared (it should be default)
  193. - add a -p flag to the line that copies README.Fedora
  194. * Wed May 10 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-6
  195. - apply clock fix for AMD X2 CPUs (please, refer to
  196. http://sourceforge.net/mailarchive/forum.php?thread_id=8085535&forum_id=3040)
  197. * Wed May 03 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-5
  198. - adjust spec after reviewing
  199. * Thu Apr 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-4
  200. - reformatting README.Fedora to 72 symbols width
  201. * Wed Apr 26 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-3
  202. - add README.Fedora
  203. - remove useless BRs
  204. * Mon Apr 24 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-2
  205. - disable oss and portaudio engines
  206. - use /dev/shm as jack tmpdir
  207. - remove capabilities stuff
  208. * Tue Apr 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-1
  209. - update to 0.101.1
  210. * Mon Mar 27 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  211. - update to 0.100.7 (#183912)
  212. - adjust BR (add versions)
  213. - replace files between examples and main packages
  214. - own jack tmpdir
  215. * Fri Mar 17 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  216. - no libs subpackage
  217. - From Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>:
  218. - added configuration variable to build with/without capabilities
  219. - added --enable-optimize flag to configure script
  220. - disabled sse/mmx instructions in i386 build
  221. - create temporary directory as /var/lib/jack/tmp
  222. - create and erase tmp directory at install or uninstall
  223. - try to umount the temporary directory before uninstalling the package
  224. * Fri Mar 03 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  225. - fix spec for extras injection
  226. * Fri Nov 18 2005 Andy Shevchenko <andriy@asplinux.ru>
  227. - exclude *.la files
  228. - use dist tag
  229. * Fri Oct 14 2005 Andy Shevchenko <andriy@asplinux.ru>
  230. - 0.100.0
  231. - no optimization
  232. * Tue Sep 28 2004 Andy Shevchenko <andriy@asplinux.ru>
  233. - 0.99.1
  234. * Fri Aug 20 2004 Andy Shevchenko <andriy@asplinux.ru>
  235. - rebuild from Mandrake