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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. Summary: The Jack Audio Connection Kit
  2. Name: jack-audio-connection-kit
  3. Version: 0.116.1
  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_connect
  107. %{_bindir}/jack_disconnect
  108. %{_bindir}/jack_evmon
  109. %{_bindir}/jack_impulse_grabber
  110. %{_bindir}/jack_lsp
  111. %{_bindir}/jack_metro
  112. %{_bindir}/jack_showtime
  113. %{_bindir}/jack_transport
  114. %{_bindir}/jack_monitor_client
  115. %{_bindir}/jack_simple_client
  116. %{_bindir}/jack_midiseq
  117. %{_bindir}/jack_midisine
  118. %{_bindir}/jack_netsource
  119. %{_bindir}/jack_transport_client
  120. %{_bindir}/alsa_in
  121. %{_bindir}/alsa_out
  122. %changelog
  123. * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.116.1-1
  124. - new upstream release
  125. - rebuild with ncurses-devel
  126. * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.109.2-1
  127. - initial build for Vine Linux
  128. * Wed Feb 13 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-1.1
  129. - update to the last official release
  130. * Mon Jan 21 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.0-1
  131. - update to the last official release (#429162)
  132. - shut up the postinstall script (#359291)
  133. * Sat Oct 20 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-5
  134. - fix timestamps to avoid multiarch conflicts (#341621)
  135. * Tue Sep 04 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-4
  136. - fix Source Forge's URL scheme
  137. * Thu Aug 16 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-3
  138. - fix according to new guidelines:
  139. - License tag
  140. - group creation
  141. * Wed May 23 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-1
  142. - update to the last official release
  143. - append defaults to the limits.conf (#221785, #235624)
  144. * Wed Mar 07 2007 Andy Shevchenko <andy@smile.org.ua> 0.102.20-4
  145. - drop libtermcap-devel build requirement (#231203)
  146. - create special jackuser group (#221785)
  147. * Sat Oct 28 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-3
  148. - fix BuildRequires: libfreebob -> libfreebob-devel
  149. * Tue Oct 24 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.1
  150. - rebuild with libfreebob (should closed #211751)
  151. * Wed Oct 11 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.0
  152. - update to 0.102.20
  153. - drop patch0 (already in mainstream)
  154. - no pack jack_transport (build error)
  155. - pack new JACK MIDI files
  156. * Tue Aug 29 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-13
  157. - http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
  158. * Tue Aug 01 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-12
  159. - use install instead of cp (#200835)
  160. * Tue Jul 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-11
  161. - update URL
  162. - add BR: libtool
  163. * Tue Jun 20 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-10
  164. - add BRs: autoconf, automake
  165. (http://fedoraproject.org/wiki/QA/FixBuildRequires)
  166. * Sat May 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-9
  167. - remove --enable-stripped-jackd and --enable-optimize (use default flags)
  168. * Fri May 19 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-8
  169. - uniform directories items at %files section
  170. * Wed May 17 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-7
  171. - change License tag to GPL/LGPL
  172. - remove --enable-shared (it should be default)
  173. - add a -p flag to the line that copies README.Fedora
  174. * Wed May 10 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-6
  175. - apply clock fix for AMD X2 CPUs (please, refer to
  176. http://sourceforge.net/mailarchive/forum.php?thread_id=8085535&forum_id=3040)
  177. * Wed May 03 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-5
  178. - adjust spec after reviewing
  179. * Thu Apr 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-4
  180. - reformatting README.Fedora to 72 symbols width
  181. * Wed Apr 26 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-3
  182. - add README.Fedora
  183. - remove useless BRs
  184. * Mon Apr 24 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-2
  185. - disable oss and portaudio engines
  186. - use /dev/shm as jack tmpdir
  187. - remove capabilities stuff
  188. * Tue Apr 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-1
  189. - update to 0.101.1
  190. * Mon Mar 27 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  191. - update to 0.100.7 (#183912)
  192. - adjust BR (add versions)
  193. - replace files between examples and main packages
  194. - own jack tmpdir
  195. * Fri Mar 17 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  196. - no libs subpackage
  197. - From Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>:
  198. - added configuration variable to build with/without capabilities
  199. - added --enable-optimize flag to configure script
  200. - disabled sse/mmx instructions in i386 build
  201. - create temporary directory as /var/lib/jack/tmp
  202. - create and erase tmp directory at install or uninstall
  203. - try to umount the temporary directory before uninstalling the package
  204. * Fri Mar 03 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  205. - fix spec for extras injection
  206. * Fri Nov 18 2005 Andy Shevchenko <andriy@asplinux.ru>
  207. - exclude *.la files
  208. - use dist tag
  209. * Fri Oct 14 2005 Andy Shevchenko <andriy@asplinux.ru>
  210. - 0.100.0
  211. - no optimization
  212. * Tue Sep 28 2004 Andy Shevchenko <andriy@asplinux.ru>
  213. - 0.99.1
  214. * Fri Aug 20 2004 Andy Shevchenko <andriy@asplinux.ru>
  215. - rebuild from Mandrake