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

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