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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402
  1. Summary: The Jack Audio Connection Kit
  2. Name: jack-audio-connection-kit
  3. Version: 1.9.10
  4. Release: 1%{?_dist_release}
  5. # The entire source (~500 files) is a mixture of these three licenses
  6. License: GPLv2 and GPLv2+ and LGPLv2+
  7. Group: System Environment/Daemons
  8. URL: http://www.jackaudio.org
  9. #Source0: http://www.jackaudio.org/downloads/%{name}-%{version}.tar.gz
  10. Source0: https://dl.dropbox.com/u/28869550/jack-%{version}.tar.bz2
  11. Source1: %{name}-README.Fedora
  12. Source2: %{name}-script.pa
  13. Source3: %{name}-limits.conf
  14. # No-date-footer hack to remove dates from doxygen documentation
  15. Patch0: jack-audio-connection-kit-no_date_footer.patch
  16. # Build fix
  17. Patch1: jack-doxygen-output-dir-fix.patch
  18. # We don't want the internal API documentation
  19. Patch2: jack-apidoc-only.patch
  20. # Adjust default priority. RHBZ#795094
  21. Patch3: jack-realtime-compat.patch
  22. # Enable renaming and reordering the jack ports RHBZ#887408
  23. Patch4: jack-portnames.patch
  24. # Fix ppc64 mpd startup issue RHBZ#799552
  25. Patch5: jack-ppc64-long.patch
  26. #Patch0: jack-audio-connection-kit-0.124.1-freebob_driver.patch
  27. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  28. BuildRequires: alsa-lib-devel
  29. BuildRequires: celt-devel
  30. BuildRequires: dbus-devel
  31. BuildRequires: doxygen
  32. BuildRequires: expat-devel
  33. BuildRequires: libfreebob-devel >= 1.0.0
  34. BuildRequires: libsamplerate-devel
  35. BuildRequires: libsndfile-devel >= 1.0.0
  36. BuildRequires: ncurses-devel
  37. BuildRequires: pkgconfig
  38. BuildRequires: python
  39. BuildRequires: readline-devel
  40. #BuildRequires: autoconf >= 2.59, automake >= 1.9.3, libtool
  41. #BuildRequires: libdb-devel
  42. #BuildRequires: libuuid-devel
  43. %global groupname jackuser
  44. %global pagroup pulse-rt
  45. Requires(pre): shadow-utils
  46. Requires(post): /sbin/ldconfig
  47. %description
  48. JACK is a low-latency audio server, written primarily for the Linux
  49. operating system. It can connect a number of different applications to
  50. an audio device, as well as allowing them to share audio between
  51. themselves. Its clients can run in their own processes (ie. as a
  52. normal application), or can they can run within a JACK server (ie. a
  53. "plugin").
  54. JACK is different from other audio server efforts in that it has been
  55. designed from the ground up to be suitable for professional audio
  56. work. This means that it focuses on two key areas: synchronous
  57. execution of all clients, and low latency operation.
  58. %package dbus
  59. Summary: Jack D-Bus launcher
  60. Group: Applications/Multimedia
  61. Requires: %{name} = %{version}-%{release}
  62. %description dbus
  63. Launcher to start Jack through D-Bus.
  64. %package devel
  65. Summary: Development files for %{name}
  66. Summary(ja): %{name} の開発用ファイル
  67. Group: Development/Libraries
  68. Requires: %{name} = %{version}-%{release}
  69. Requires: pkgconfig
  70. %description devel
  71. Development files for the Jack Audio Connection Kit.
  72. %package example-clients
  73. Summary: Example clients that use Jack
  74. Summary(ja): %{name} を利用したサンプルプログラム
  75. Group: Applications/Multimedia
  76. Requires: %{name} = %{version}-%{release}
  77. %description example-clients
  78. Small example clients that use the Jack Audio Connection Kit.
  79. %prep
  80. %setup -q -n jack-%{version}
  81. %patch0 -p1 -b .nodate
  82. %patch1 -p1 -b .outdir
  83. %patch2 -p1 -b .nointernalapi
  84. %patch3 -p1 -b .priority
  85. %patch4 -p1 -b .portnames
  86. %patch5 -p1 -b .mpd
  87. # Fix encoding issues
  88. for file in ChangeLog README TODO; do
  89. sed 's|\r||' $file > $file.tmp
  90. iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
  91. touch -r $file $file.tmp2
  92. mv -f $file.tmp2 $file
  93. done
  94. %build
  95. export CPPFLAGS="$RPM_OPT_FLAGS -O0"
  96. export PREFIX=%{_prefix}
  97. # Parallel build disabled as it fails sometimes
  98. ./waf configure \
  99. %{?_smp_mflags} \
  100. --mandir=%{_mandir}/man1 \
  101. --libdir=%{_libdir} \
  102. --alsa \
  103. --classic \
  104. --clients 256 \
  105. --dbus \
  106. --doxygen \
  107. --freebob \
  108. --ports-per-application=2048
  109. ./waf build %{?_smp_mflags} -v
  110. %install
  111. rm -rf $RPM_BUILD_ROOT
  112. ./waf --destdir=$RPM_BUILD_ROOT install
  113. # move doxygen documentation to the right place
  114. mv $RPM_BUILD_ROOT%{_datadir}/jack-audio-connection-kit/reference .
  115. rm -rf $RPM_BUILD_ROOT%{_datadir}/jack-audio-connection-kit
  116. # install our limits to the /etc/security/limits.d
  117. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d
  118. sed -e 's,@groupname@,%groupname,g; s,@pagroup@,%pagroup,g;' \
  119. %{SOURCE3} > $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/95-jack.conf
  120. # prepare README.Fedora for documentation including
  121. install -p -m644 %{SOURCE1} README.Fedora
  122. # install pulseaudio script for jack (as documentation part)
  123. install -p -m644 %{SOURCE2} jack.pa
  124. # For compatibility with jack1
  125. mv $RPM_BUILD_ROOT%{_bindir}/jack_rec $RPM_BUILD_ROOT%{_bindir}/jackrec
  126. # Fix permissions of the modules
  127. chmod 755 $RPM_BUILD_ROOT%{_libdir}/jack/*.so $RPM_BUILD_ROOT%{_libdir}/libjack*.so.*.*.*
  128. %clean
  129. rm -rf $RPM_BUILD_ROOT
  130. %pre
  131. getent group %groupname > /dev/null || groupadd -r %groupname
  132. exit 0
  133. %post -p /sbin/ldconfig
  134. %postun -p /sbin/ldconfig
  135. %files
  136. %defattr(-,root,root)
  137. %doc ChangeLog README README_NETJACK2 TODO
  138. %doc README.Fedora
  139. %doc jack.pa
  140. %config(noreplace) %{_sysconfdir}/security/limits.d/*.conf
  141. %{_bindir}/jackd
  142. %{_bindir}/jackrec
  143. %{_libdir}/jack/
  144. %{_libdir}/libjack.so.*
  145. %{_libdir}/libjacknet.so.*
  146. %{_libdir}/libjackserver.so.*
  147. %{_mandir}/man1/jackrec.1*
  148. %{_mandir}/man1/jackd*.1*
  149. %files dbus
  150. %defattr(-,root,root)
  151. %{_bindir}/jackdbus
  152. %{_datadir}/dbus-1/services/org.jackaudio.service
  153. %{_bindir}/jack_control
  154. %files devel
  155. %defattr(-,root,root)
  156. %doc reference/html/
  157. %{_includedir}/jack/
  158. %{_libdir}/libjack.so
  159. %{_libdir}/libjacknet.so
  160. %{_libdir}/libjackserver.so
  161. %{_libdir}/pkgconfig/jack.pc
  162. %files example-clients
  163. %defattr(-,root,root)
  164. %{_bindir}/alsa_in
  165. %{_bindir}/alsa_out
  166. %{_bindir}/jack_alias
  167. %{_bindir}/jack_bufsize
  168. %{_bindir}/jack_connect
  169. %{_bindir}/jack_disconnect
  170. %{_bindir}/jack_cpu_load
  171. %{_bindir}/jack_evmon
  172. %{_bindir}/jack_freewheel
  173. # These are not ready yet
  174. #{_bindir}/jack_impulse_grabber
  175. %exclude %{_mandir}/man1/jack_impulse_grabber.1*
  176. %{_bindir}/jack_latent_client
  177. %{_bindir}/jack_load
  178. %{_bindir}/jack_unload
  179. %{_bindir}/jack_lsp
  180. %{_bindir}/jack_metro
  181. %{_bindir}/jack_midi_dump
  182. %{_bindir}/jack_midi_latency_test
  183. %{_bindir}/jack_midiseq
  184. %{_bindir}/jack_midisine
  185. %{_bindir}/jack_monitor_client
  186. %{_bindir}/jack_net_master
  187. %{_bindir}/jack_net_slave
  188. %{_bindir}/jack_netsource
  189. %{_bindir}/jack_samplerate
  190. %{_bindir}/jack_server_control
  191. %{_bindir}/jack_session_notify
  192. %{_bindir}/jack_showtime
  193. %{_bindir}/jack_simple_client
  194. %{_bindir}/jack_simple_session_client
  195. %{_bindir}/jack_thru
  196. %{_bindir}/jack_transport
  197. %{_bindir}/jack_wait
  198. %{_bindir}/jack_zombie
  199. %{_mandir}/man1/alsa_*.1*
  200. %{_mandir}/man1/jack_bufsize.1*
  201. %{_mandir}/man1/jack_connect.1*
  202. %{_mandir}/man1/jack_disconnect.1*
  203. %{_mandir}/man1/jack_freewheel*.1*
  204. %{_mandir}/man1/jack_load*.1*
  205. %{_mandir}/man1/jack_unload*.1*
  206. %{_mandir}/man1/jack_lsp.1*
  207. %{_mandir}/man1/jack_metro.1*
  208. %{_mandir}/man1/jack_monitor_client.1*
  209. %{_mandir}/man1/jack_netsource.1*
  210. %{_mandir}/man1/jack_samplerate.1*
  211. %{_mandir}/man1/jack_showtime.1*
  212. %{_mandir}/man1/jack_simple_client.1*
  213. %{_mandir}/man1/jack_transport.1*
  214. %{_mandir}/man1/jack_wait.1*
  215. # tests
  216. %{_bindir}/jack_cpu
  217. %{_bindir}/jack_iodelay
  218. %{_bindir}/jack_multiple_metro
  219. %{_bindir}/jack_test
  220. %{_mandir}/man1/jack_iodelay.1*
  221. %changelog
  222. * Thu Apr 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.9.10-1
  223. - updated to 1.9.10
  224. - built with readline 6.3
  225. - added dbus subpackage
  226. * Sun Jul 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.124.1
  227. - update to 0.124.1
  228. - add BuildRequires: libdb-devel, libuuid-devel
  229. - add Patch0 (jack-audio-connection-kit-0.124.1-freebob_driver.patch)
  230. * Wed Feb 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.121.3
  231. - update to 0.121.3
  232. - add BuildRequires: celt-devel
  233. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.118.0-2
  234. - rebuild with rpm-4.8.1 for pkg-config file
  235. - add BuildRequires: libsamplerate-devel
  236. * Fri May 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.118.0-1
  237. - new upstream release
  238. * Sun Jul 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.116.1-1
  239. - new upstream release
  240. - rebuild with ncurses-devel
  241. * Wed Jul 09 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 0.109.2-1
  242. - initial build for Vine Linux
  243. * Wed Feb 13 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-1.1
  244. - update to the last official release
  245. * Mon Jan 21 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.0-1
  246. - update to the last official release (#429162)
  247. - shut up the postinstall script (#359291)
  248. * Sat Oct 20 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-5
  249. - fix timestamps to avoid multiarch conflicts (#341621)
  250. * Tue Sep 04 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-4
  251. - fix Source Forge's URL scheme
  252. * Thu Aug 16 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-3
  253. - fix according to new guidelines:
  254. - License tag
  255. - group creation
  256. * Wed May 23 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-1
  257. - update to the last official release
  258. - append defaults to the limits.conf (#221785, #235624)
  259. * Wed Mar 07 2007 Andy Shevchenko <andy@smile.org.ua> 0.102.20-4
  260. - drop libtermcap-devel build requirement (#231203)
  261. - create special jackuser group (#221785)
  262. * Sat Oct 28 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-3
  263. - fix BuildRequires: libfreebob -> libfreebob-devel
  264. * Tue Oct 24 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.1
  265. - rebuild with libfreebob (should closed #211751)
  266. * Wed Oct 11 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.0
  267. - update to 0.102.20
  268. - drop patch0 (already in mainstream)
  269. - no pack jack_transport (build error)
  270. - pack new JACK MIDI files
  271. * Tue Aug 29 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-13
  272. - http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
  273. * Tue Aug 01 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-12
  274. - use install instead of cp (#200835)
  275. * Tue Jul 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-11
  276. - update URL
  277. - add BR: libtool
  278. * Tue Jun 20 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-10
  279. - add BRs: autoconf, automake
  280. (http://fedoraproject.org/wiki/QA/FixBuildRequires)
  281. * Sat May 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-9
  282. - remove --enable-stripped-jackd and --enable-optimize (use default flags)
  283. * Fri May 19 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-8
  284. - uniform directories items at %files section
  285. * Wed May 17 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-7
  286. - change License tag to GPL/LGPL
  287. - remove --enable-shared (it should be default)
  288. - add a -p flag to the line that copies README.Fedora
  289. * Wed May 10 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-6
  290. - apply clock fix for AMD X2 CPUs (please, refer to
  291. http://sourceforge.net/mailarchive/forum.php?thread_id=8085535&forum_id=3040)
  292. * Wed May 03 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-5
  293. - adjust spec after reviewing
  294. * Thu Apr 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-4
  295. - reformatting README.Fedora to 72 symbols width
  296. * Wed Apr 26 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-3
  297. - add README.Fedora
  298. - remove useless BRs
  299. * Mon Apr 24 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-2
  300. - disable oss and portaudio engines
  301. - use /dev/shm as jack tmpdir
  302. - remove capabilities stuff
  303. * Tue Apr 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-1
  304. - update to 0.101.1
  305. * Mon Mar 27 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  306. - update to 0.100.7 (#183912)
  307. - adjust BR (add versions)
  308. - replace files between examples and main packages
  309. - own jack tmpdir
  310. * Fri Mar 17 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  311. - no libs subpackage
  312. - From Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>:
  313. - added configuration variable to build with/without capabilities
  314. - added --enable-optimize flag to configure script
  315. - disabled sse/mmx instructions in i386 build
  316. - create temporary directory as /var/lib/jack/tmp
  317. - create and erase tmp directory at install or uninstall
  318. - try to umount the temporary directory before uninstalling the package
  319. * Fri Mar 03 2006 Andy Shevchenko <andriy@asplinux.com.ua>
  320. - fix spec for extras injection
  321. * Fri Nov 18 2005 Andy Shevchenko <andriy@asplinux.ru>
  322. - exclude *.la files
  323. - use dist tag
  324. * Fri Oct 14 2005 Andy Shevchenko <andriy@asplinux.ru>
  325. - 0.100.0
  326. - no optimization
  327. * Tue Sep 28 2004 Andy Shevchenko <andriy@asplinux.ru>
  328. - 0.99.1
  329. * Fri Aug 20 2004 Andy Shevchenko <andriy@asplinux.ru>
  330. - rebuild from Mandrake