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

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