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

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