9612371
Summary: The Jack Audio Connection Kit
9612371
Name: jack-audio-connection-kit
a983615
Version: 0.118.0
555ce5f
Release: 1%{?dist}
ae735f9
License: GPLv2 and LGPLv2
9612371
Group: System Environment/Daemons
2469867
Source0: http://www.jackaudio.org/downloads/%{name}-%{version}.tar.gz
9612371
Source1: %{name}-README.Fedora
6e8b94c
Source2: %{name}-script.pa
d4b2bf2
Source3: %{name}-no_date_footer.html
a8e113a
Source4: %{name}-limits.conf
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
b0b21bb
%ifnarch s390 s390x
dff4fc9
BuildRequires: libfreebob-devel >= 1.0.0
b0b21bb
%endif
9612371
6e3f3c6
%define groupname jackuser
6e8b94c
%define pagroup   pulse-rt
b71da60
4ba380e
Requires(pre): shadow-utils
e7094a2
Requires(post): /sbin/ldconfig
a8e113a
Requires: pam
b71da60
d4b2bf2
# To fix multilib conflicts take a basepoint as following
d4b2bf2
%define doxyfile	doc/reference.doxygen.in
d4b2bf2
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
d4b2bf2
# Put custom HTML_FOOTER to avoid timestamp inside
d4b2bf2
# (recipe was taken from http://fedoraproject.org/wiki/PackagingDrafts/MultilibTricks)
d4b2bf2
cp %{SOURCE3} doc/no_date_footer.html
0ea5b9b
# Fix Doxyfile:
0ea5b9b
#  - apply custom html footer (#477718, #341621)
0ea5b9b
#  - avoid font packaging (workaround for #477402, fix will come with #478747)
0ea5b9b
sed -e 's,^HTML_FOOTER[ \t]*=.*,HTML_FOOTER = no_date_footer.html,;
0ea5b9b
        s,^GENERATE_LATEX[ \t]*=.*,GENERATE_LATEX = NO,;' %{doxyfile} > %{doxyfile}.new
d4b2bf2
touch -r %{doxyfile} %{doxyfile}.new
d4b2bf2
mv -f %{doxyfile}.new %{doxyfile}
d4b2bf2
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} \
b0b21bb
%ifnarch s390 s390x
e20b4a1
    --enable-freebob \
b0b21bb
%endif
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
a8e113a
# install our limits to the /etc/security/limits.d
a8e113a
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d
a8e113a
sed -e 's,@groupname@,%groupname,g; s,@pagroup@,%pagroup,g;' \
a8e113a
    %{SOURCE4} > $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/99-jack.conf
a8e113a
9612371
# prepare README.Fedora for documentation including
251b512
install -p -m644 %{SOURCE1} README.Fedora
9612371
6e8b94c
# install pulseaudio script for jack (as documentation part)
a8e113a
install -p -m644 %{SOURCE2} jack.pa
6e8b94c
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
d7dcd72
# Fix timestamps to avoid multiarch conflicts
d4b2bf2
find doc/reference -type f | xargs touch -r %{doxyfile}
d7dcd72
9612371
%clean
9612371
rm -rf $RPM_BUILD_ROOT
9612371
b71da60
%pre
46becfa
getent group %groupname > /dev/null || groupadd -r %groupname
4ba380e
exit 0
b71da60
a8e113a
%post -p /sbin/ldconfig
6e8b94c
9612371
%postun -p /sbin/ldconfig
9612371
9612371
%files 
9612371
%defattr(-,root,root)
9612371
%doc AUTHORS TODO COPYING*
9612371
%doc README.Fedora
a8e113a
%doc jack.pa
9612371
%{_bindir}/jackd
9612371
%{_bindir}/jack_load
9612371
%{_bindir}/jack_unload
9612371
%{_bindir}/jack_freewheel
9612371
%{_libdir}/jack/
9612371
%{_mandir}/man1/jack*.1*
9612371
%{_libdir}/libjack.so.*
2469867
%{_libdir}/libjackserver.so.*
a8e113a
%{_sysconfdir}/security/limits.d/*.conf
9612371
9612371
%files devel
9612371
%defattr(-,root,root)
9612371
%doc doc/reference
9612371
%{_includedir}/jack/
9612371
%{_libdir}/libjack.so
2469867
%{_libdir}/libjackserver.so
9612371
%{_libdir}/pkgconfig/jack.pc
9612371
9612371
%files example-clients
9612371
%defattr(-,root,root)
9612371
%{_bindir}/jackrec
46becfa
%{_bindir}/jack_alias
a983615
%{_bindir}/jack_bufsize
9612371
%{_bindir}/jack_connect
9612371
%{_bindir}/jack_disconnect
46becfa
%{_bindir}/jack_evmon
9612371
%{_bindir}/jack_impulse_grabber
9612371
%{_bindir}/jack_lsp
9612371
%{_bindir}/jack_metro
a983615
%{_bindir}/jack_netsource
a983615
%{_bindir}/jack_samplerate
9612371
%{_bindir}/jack_showtime
46becfa
%{_bindir}/jack_transport
a983615
%{_bindir}/jack_wait
9612371
%{_bindir}/jack_monitor_client
9612371
%{_bindir}/jack_simple_client
2469867
%{_bindir}/jack_transport_client
864e914
%{_bindir}/jack_midiseq
864e914
%{_bindir}/jack_midisine
9612371
9612371
%changelog
a983615
* Sat Nov 21 2009 Andy Shevchenko <andy@smile.org.ua> - 0.118.0-1
a983615
- update to 0.118.0 (should fix #533419)
a983615
- remove upstreamed patch
a983615
- append new binaries to -example-clients subpackage
a983615
555ce5f
* Wed Nov  4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.116.2-8
555ce5f
- update to 0.116.2
555ce5f
- make sure we cleanup threads that we open, fixes segfaults (thanks to Ray Strode)
555ce5f
b0b21bb
* Tue Oct 27 2009 Dennis Gilmore <dennis@ausil.us> - 0.116.1-7
b0b21bb
- dont build libfreebob support on s390 arches
b0b21bb
02d1d88
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.116.1-6
02d1d88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
02d1d88
a8e113a
* Sun Jun 21 2009 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-5
a8e113a
- create file under /etc/security/limits.d instead of limits.conf hack (#506583)
a8e113a
- rename jack-audio-connection-kit.pa to jack.pa in the documentation part
a8e113a
519e42f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.116.1-4
519e42f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
519e42f
0ea5b9b
* Sun Jan 04 2009 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-3
0ea5b9b
- avoid creation of the LaTeX documentation (temporary fix for #477402)
0ea5b9b
d4b2bf2
* Mon Dec 29 2008 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-2
d4b2bf2
- fix multiarch conflict again (#477718, #341621)
d4b2bf2
2469867
* Sun Dec 14 2008 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-1
2469867
- update to last official release
2469867
- update URL tag
2469867
- update file list accordingly
2469867
6e8b94c
* Mon Jul 28 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-3
6e8b94c
- add a new requirement to be ensure we have /etc/security for postinstall
6e8b94c
  script (#359291, #456830)
6e8b94c
- provide a pulseaudio start script from README.Fedora
6e8b94c
- append values for pulse-rt group to the limits.conf
6e8b94c
- update README.Fedora regarding to the recent changes
6e8b94c
84586ae
* Sun Jul 20 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-2
84586ae
- apply patch to be work on ppc64 (#451531)
84586ae
- update README.Fedora to describe integration jack with pulseaudio (#455193)
84586ae
f9802fa
* Wed Feb 13 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-1.1
8d2c34b
- update to the last official release
8d2c34b
46becfa
* Mon Jan 21 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.0-1
46becfa
- update to the last official release (#429162)
46becfa
- shut up the postinstall script (#359291)
46becfa
d7dcd72
* Sat Oct 20 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-5
d7dcd72
- fix timestamps to avoid multiarch conflicts (#341621)
d7dcd72
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