jack1 codebase
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

116 lines
3.2KB

  1. # $Id$
  2. # set to 0 to build rpms without capabilities support
  3. %define enable_capabilities 1
  4. Summary: the Jack Audio Connection Kit
  5. Name: jack-audio-connection-kit
  6. Version: @JACK_VERSION@
  7. Release: 1
  8. License: GPL
  9. Group: System Environment/Daemons
  10. Source0: %{name}-%{version}.tar.gz
  11. URL: http://jackit.sourceforge.net
  12. BuildRoot: /var/tmp/%{name}-%{version}-root-%(id -u -n)
  13. %description
  14. JACK is a low-latency audio server, written primarily for the Linux
  15. operating system. It can connect a number of different applications to
  16. an audio device, as well as allowing them to share audio between
  17. themselves. Its clients can run in their own processes (ie. as a
  18. normal application), or can they can run within a JACK server (ie. a
  19. "plugin").
  20. JACK is different from other audio server efforts in that it has been
  21. designed from the ground up to be suitable for professional audio
  22. work. This means that it focuses on two key areas: synchronous
  23. execution of all clients, and low latency operation.
  24. %package devel
  25. Summary: Header files for Jack
  26. Group: Development/Libraries
  27. Requires: %{name} = %{version}
  28. %description devel
  29. Header files for the Jack Audio Connection Kit.
  30. %package example-clients
  31. Summary: Example clients that use Jack
  32. Group: Applications/Multimedia
  33. Requires: %{name} = %{version}
  34. %description example-clients
  35. Small example clients that use the Jack Audio Connection Kit.
  36. %prep
  37. %setup -q
  38. %build
  39. %if "%{enable_capabilities}" == "1"
  40. %configure --enable-capabilities --enable-stripped-jackd
  41. %else
  42. %configure
  43. %endif
  44. make
  45. %install
  46. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  47. make install DESTDIR=$RPM_BUILD_ROOT
  48. %post -p /sbin/ldconfig
  49. %postun -p /sbin/ldconfig
  50. %clean
  51. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  52. %files
  53. %defattr(-,root,root)
  54. %doc AUTHORS TODO COPYING* doc/reference
  55. %if "%{enable_capabilities}" == "1"
  56. %attr(4755, root, root) %{_bindir}/jackstart
  57. %endif
  58. %{_bindir}/jackd
  59. %{_libdir}/libjack.so
  60. %{_libdir}/libjack.so.*
  61. %{_libdir}/jack/jack_alsa.so
  62. %{_libdir}/jack/jack_alsa.so.*
  63. %files devel
  64. %defattr(-,root,root)
  65. %{_includedir}/jack
  66. %{_libdir}/libjack.a
  67. %{_libdir}/libjack.la
  68. %{_libdir}/jack/jack_alsa.a
  69. %{_libdir}/jack/jack_alsa.la
  70. %{_libdir}/pkgconfig/jack.pc
  71. %files example-clients
  72. %defattr(-,root,root)
  73. %{_bindir}/jackrec
  74. %{_bindir}/jack_cache_killer
  75. %{_bindir}/jack_connect
  76. %{_bindir}/jack_disconnect
  77. %{_bindir}/jack_impulse_grabber
  78. %{_bindir}/jack_monitor_client
  79. %{_bindir}/jack_simple_client
  80. %changelog
  81. * Thu May 23 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
  82. - added configuration variable to build with/without capabilities
  83. * Tue May 21 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
  84. - split the examples into a different package so that the base
  85. package does not depend on, for example, fltk.
  86. - disable stripping of binaries
  87. * Mon May 13 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
  88. - do not compress documentation, added doxygen docs directory
  89. - changed defattr directives
  90. - added libdir/jack*, libdir/*.a and libdir/*.so.* to files
  91. - moved all so's to libs, jack will not start without jack_alsa.so
  92. - merged base and libs packages
  93. * Sat May 4 2002 Christian Fredrik Kalager Schaller <uraeus@linuxrising.org>
  94. - initial release of jack sound server package for GStreamer