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

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