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

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