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

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