9612371
Summary: The Jack Audio Connection Kit
9612371
Name: jack-audio-connection-kit
e7094a2
Version: 0.103.0
532df00
Release: 5%{?dist}
ae735f9
License: GPLv2 and LGPLv2
9612371
Group: System Environment/Daemons
aa38a4c
Source0: http://downloads.sourceforge.net/jackit/%{name}-%{version}.tar.gz
9612371
Source1: %{name}-README.Fedora
baeebbe
URL: http://www.jackaudio.org
9612371
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9612371
BuildRequires: alsa-lib-devel
9612371
BuildRequires: libsndfile-devel >= 1.0.0
9612371
BuildRequires: pkgconfig
9612371
BuildRequires: doxygen
b71da60
BuildRequires: readline-devel, ncurses-devel
baeebbe
BuildRequires: autoconf >= 2.59, automake >= 1.9.3, libtool
dff4fc9
BuildRequires: libfreebob-devel >= 1.0.0
9612371
6e3f3c6
%define groupname jackuser
b71da60
4ba380e
Requires(pre): shadow-utils
e7094a2
Requires(post): /sbin/ldconfig
b71da60
9612371
%description
9612371
JACK is a low-latency audio server, written primarily for the Linux
9612371
operating system. It can connect a number of different applications to
9612371
an audio device, as well as allowing them to share audio between
9612371
themselves. Its clients can run in their own processes (ie. as a
9612371
normal application), or can they can run within a JACK server (ie. a
9612371
"plugin").
9612371
9612371
JACK is different from other audio server efforts in that it has been
9612371
designed from the ground up to be suitable for professional audio
9612371
work. This means that it focuses on two key areas: synchronous
9612371
execution of all clients, and low latency operation.
9612371
9612371
%package devel
9612371
Summary: Header files for Jack
9612371
Group: Development/Libraries
9612371
Requires: %{name} = %{version}
9612371
Requires: pkgconfig
9612371
9612371
%description devel
9612371
Header files for the Jack Audio Connection Kit.
9612371
9612371
%package example-clients
9612371
Summary: Example clients that use Jack 
9612371
Group: Applications/Multimedia
9612371
Requires: %{name} = %{version}
9612371
9612371
%description example-clients
9612371
Small example clients that use the Jack Audio Connection Kit.
9612371
9612371
%prep
9612371
%setup -q
9612371
9612371
%build
9612371
# x86_64 issue reported by Rudolf Kastl (not checked, but not bad).
9612371
autoreconf --force --install
9612371
73a1866
%configure \
9612371
    --with-html-dir=%{_docdir} \
e20b4a1
    --enable-freebob \
9612371
    --disable-oss \
9612371
    --disable-portaudio \
9612371
    --with-default-tmpdir=/dev/shm
9612371
make %{?_smp_mflags}
9612371
9612371
%install
9612371
rm -rf $RPM_BUILD_ROOT
9612371
9612371
# can't use the makeinstall macro, jack needs DESTDIR and prefix gets
9612371
# added to it and messes up part of the install
9612371
make install DESTDIR=$RPM_BUILD_ROOT
9612371
9612371
# prepare README.Fedora for documentation including
251b512
install -p -m644 %{SOURCE1} README.Fedora
9612371
9612371
# remove extra install of the documentation
9612371
rm -fr $RPM_BUILD_ROOT%{_docdir}
9612371
9612371
# remove *.la files
9612371
rm -f $RPM_BUILD_ROOT%{_libdir}/jack/*.la
9612371
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
9612371
532df00
# Fix timestamps to avoid multiarch conflicts
532df00
find doc/reference -type f | xargs touch -r doc/reference.doxygen.in
532df00
9612371
%clean
9612371
rm -rf $RPM_BUILD_ROOT
9612371
b71da60
%pre
4ba380e
getent group %groupname >/dev/null || groupadd -r %groupname
4ba380e
exit 0
b71da60
e7094a2
%post
e7094a2
/sbin/ldconfig
e7094a2
e7094a2
# Add default limits for jackuser group
aa38a4c
grep -q %groupname /etc/security/limits.conf || cat >> /etc/security/limits.conf << EOF
e7094a2
e7094a2
## Automatically appended by jack-audio-connection-kit
01c7221
@jackuser - rtprio 20
01c7221
@jackuser - memlock 4194304
e7094a2
EOF
9612371
9612371
%postun -p /sbin/ldconfig
9612371
9612371
%files 
9612371
%defattr(-,root,root)
9612371
%doc AUTHORS TODO COPYING*
9612371
%doc README.Fedora
9612371
%{_bindir}/jackd
9612371
%{_bindir}/jack_load
9612371
%{_bindir}/jack_unload
9612371
%{_bindir}/jack_bufsize
9612371
%{_bindir}/jack_freewheel
9612371
%{_libdir}/jack/
9612371
%{_mandir}/man1/jack*.1*
9612371
%{_libdir}/libjack.so.*
9612371
9612371
%files devel
9612371
%defattr(-,root,root)
9612371
%doc doc/reference
9612371
%{_includedir}/jack/
9612371
%{_libdir}/libjack.so
9612371
%{_libdir}/pkgconfig/jack.pc
9612371
9612371
%files example-clients
9612371
%defattr(-,root,root)
9612371
%{_bindir}/jackrec
9612371
%{_bindir}/jack_connect
9612371
%{_bindir}/jack_disconnect
9612371
%{_bindir}/jack_impulse_grabber
9612371
%{_bindir}/jack_lsp
9612371
%{_bindir}/jack_metro
9612371
%{_bindir}/jack_showtime
9612371
%{_bindir}/jack_monitor_client
9612371
%{_bindir}/jack_simple_client
864e914
%{_bindir}/jack_midiseq
864e914
%{_bindir}/jack_midisine
9612371
9612371
%changelog
532df00
* Sat Oct 20 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-5
532df00
- fix timestamps to avoid multiarch conflicts (#341621)
532df00
aa38a4c
* Tue Sep 04 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-4
aa38a4c
- fix Source Forge's URL scheme
aa38a4c
ae735f9
* Thu Aug 16 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-3
4ba380e
- fix according to new guidelines:
4ba380e
  - License tag
4ba380e
  - group creation
4ba380e
e7094a2
* Wed May 23 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-1
e7094a2
- update to the last official release
01c7221
- append defaults to the limits.conf (#221785, #235624)
e7094a2
b71da60
* Wed Mar 07 2007 Andy Shevchenko <andy@smile.org.ua> 0.102.20-4
b71da60
- drop libtermcap-devel build requirement (#231203)
b71da60
- create special jackuser group (#221785)
b71da60
dff4fc9
* Sat Oct 28 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-3
dff4fc9
- fix BuildRequires: libfreebob -> libfreebob-devel
dff4fc9
e20b4a1
* Tue Oct 24 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.1
e20b4a1
- rebuild with libfreebob (should closed #211751)
e20b4a1
864e914
* Wed Oct 11 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.0
34575da
- update to 0.102.20
34575da
- drop patch0 (already in mainstream)
d6ab0f3
- no pack jack_transport (build error)
864e914
- pack new JACK MIDI files
34575da
bdb2d37
* Tue Aug 29 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-13
bdb2d37
- http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
bdb2d37
251b512
* Tue Aug 01 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-12
251b512
- use install instead of cp (#200835)
251b512
baeebbe
* Tue Jul 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-11
baeebbe
- update URL
baeebbe
- add BR: libtool
baeebbe
b028bf1
* Tue Jun 20 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-10
b028bf1
- add BRs: autoconf, automake
b028bf1
  (http://fedoraproject.org/wiki/QA/FixBuildRequires)
b028bf1
73a1866
* Sat May 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-9
73a1866
- remove --enable-stripped-jackd and --enable-optimize (use default flags)
73a1866
9612371
* Fri May 19 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-8
9612371
- uniform directories items at %files section
9612371
9612371
* Wed May 17 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-7
9612371
- change License tag to GPL/LGPL
9612371
- remove --enable-shared (it should be default)
9612371
- add a -p flag to the line that copies README.Fedora
9612371
9612371
* Wed May 10 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-6
9612371
- apply clock fix for AMD X2 CPUs (please, refer to
9612371
  http://sourceforge.net/mailarchive/forum.php?thread_id=8085535&forum_id=3040)
9612371
9612371
* Wed May 03 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-5
9612371
- adjust spec after reviewing
9612371
9612371
* Thu Apr 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-4
9612371
- reformatting README.Fedora to 72 symbols width
9612371
9612371
* Wed Apr 26 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-3
9612371
- add README.Fedora
9612371
- remove useless BRs
9612371
9612371
* Mon Apr 24 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-2
9612371
- disable oss and portaudio engines
9612371
- use /dev/shm as jack tmpdir
9612371
- remove capabilities stuff
9612371
9612371
* Tue Apr 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-1
9612371
- update to 0.101.1
9612371
9612371
* Mon Mar 27 2006 Andy Shevchenko <andriy@asplinux.com.ua>
9612371
- update to 0.100.7 (#183912)
9612371
- adjust BR (add versions)
9612371
- replace files between examples and main packages
9612371
- own jack tmpdir
9612371
9612371
* Fri Mar 17 2006 Andy Shevchenko <andriy@asplinux.com.ua>
9612371
- no libs subpackage
9612371
- From Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>:
9612371
  - added configuration variable to build with/without capabilities
9612371
  - added --enable-optimize flag to configure script
9612371
  - disabled sse/mmx instructions in i386 build
9612371
  - create temporary directory as /var/lib/jack/tmp
9612371
  - create and erase tmp directory at install or uninstall
9612371
  - try to umount the temporary directory before uninstalling the package
9612371
9612371
* Fri Mar 03 2006 Andy Shevchenko <andriy@asplinux.com.ua>
9612371
- fix spec for extras injection
9612371
9612371
* Fri Nov 18 2005 Andy Shevchenko <andriy@asplinux.ru>
9612371
- exclude *.la files
9612371
- use dist tag
9612371
9612371
* Fri Oct 14 2005 Andy Shevchenko <andriy@asplinux.ru>
9612371
- 0.100.0
9612371
- no optimization
9612371
9612371
* Tue Sep 28 2004 Andy Shevchenko <andriy@asplinux.ru>
9612371
- 0.99.1
9612371
9612371
* Fri Aug 20 2004 Andy Shevchenko <andriy@asplinux.ru>
9612371
- rebuild from Mandrake