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.
jack-audio-connection-kit/jack-audio-connection-kit.spec

405 lines
13 KiB

15 years ago
%global groupname jackuser
%global pagroup pulse-rt
Summary: The Jack Audio Connection Kit
Name: jack-audio-connection-kit
Version: 1.9.6
14 years ago
Release: 4%{?dist}
15 years ago
# The entire source (~500 files) is a mixture of these three licenses
License: GPLv2 and GPLv2+ and LGPLv2+
Group: System Environment/Daemons
URL: http://www.jackaudio.org
Source0: http://www.grame.fr/~letz/jack-%{version}.tar.bz2
Source1: %{name}-README.Fedora
Source2: %{name}-script.pa
Source3: %{name}-limits.conf
# No-date-footer hack to remove dates from doxygen documentation
Patch0: jack-audio-connection-kit-no_date_footer.patch
# Enables renaming of the jack ports based on a configuration file
# Under discussion upstream. We need it for CCRMA compatibility
Patch1: jack-infrastructure.patch
Patch4: jack-realtime-compat.patch
# Compile against celt-0.8.0
Patch5: jack-celt08.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: alsa-lib-devel
15 years ago
BuildRequires: dbus-devel
BuildRequires: celt-devel
BuildRequires: doxygen
15 years ago
BuildRequires: expat-devel
%ifnarch s390 s390x
15 years ago
BuildRequires: libffado-devel
BuildRequires: libfreebob-devel
%endif
15 years ago
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: python2
BuildRequires: readline-devel
18 years ago
Requires(pre): shadow-utils
15 years ago
Requires: pam
%description
JACK is a low-latency audio server, written primarily for the Linux
operating system. It can connect a number of different applications to
an audio device, as well as allowing them to share audio between
15 years ago
themselves. Its clients can run in their own processes (i.e. as a
normal application), or can they can run within a JACK server (i.e. a
"plugin").
JACK is different from other audio server efforts in that it has been
designed from the ground up to be suitable for professional audio
work. This means that it focuses on two key areas: synchronous
execution of all clients, and low latency operation.
%package devel
15 years ago
Summary: Header files for Jack
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Header files for the Jack Audio Connection Kit.
%package example-clients
15 years ago
Summary: Example clients that use Jack
Group: Applications/Multimedia
Requires: %{name} = %{version}-%{release}
%description example-clients
Small example clients that use the Jack Audio Connection Kit.
%prep
15 years ago
%setup -q -n jack-%{version}
%patch0 -p1 -b .nodate
%patch1 -p1 -b .infra
%patch4 -p1
%if 0%{?fedora} > 13
%patch5 -p1 -b .celt08
%endif
15 years ago
# Fix encoding issues
for file in ChangeLog README TODO; do
sed 's|\r||' $file > $file.tmp
iconv -f ISO-8859-1 -t UTF8 $file.tmp > $file.tmp2
touch -r $file $file.tmp2
mv -f $file.tmp2 $file
done
15 years ago
%build
export CPPFLAGS="$RPM_OPT_FLAGS"
export PREFIX=%{_prefix}
./waf configure \
--mandir=/share/man/man1 \
--libdir=/%{_lib} \
--doxygen \
--dbus \
--classic \
%ifnarch s390 s390x
--firewire \
--freebob \
%endif
--alsa
15 years ago
./waf build %{?_smp_mflags} -v
%install
rm -rf $RPM_BUILD_ROOT
15 years ago
./waf --destdir=$RPM_BUILD_ROOT install
15 years ago
# move doxygen documentation to the right place
mv $RPM_BUILD_ROOT%{_datadir}/jack-audio-connection-kit/reference .
rm -rf $RPM_BUILD_ROOT%{_datadir}/jack-audio-connection-kit
16 years ago
# install our limits to the /etc/security/limits.d
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d
sed -e 's,@groupname@,%groupname,g; s,@pagroup@,%pagroup,g;' \
15 years ago
%{SOURCE3} > $RPM_BUILD_ROOT%{_sysconfdir}/security/limits.d/99-jack.conf
16 years ago
# prepare README.Fedora for documentation including
19 years ago
install -p -m644 %{SOURCE1} README.Fedora
# install pulseaudio script for jack (as documentation part)
16 years ago
install -p -m644 %{SOURCE2} jack.pa
15 years ago
# For compatibility with jack1
mv $RPM_BUILD_ROOT%{_bindir}/jack_rec $RPM_BUILD_ROOT%{_bindir}/jackrec
15 years ago
# Fix permissions of the modules
chmod 755 $RPM_BUILD_ROOT%{_libdir}/jack/*.so $RPM_BUILD_ROOT%{_libdir}/libjack*.so.*.*.*
%clean
rm -rf $RPM_BUILD_ROOT
18 years ago
%pre
17 years ago
getent group %groupname > /dev/null || groupadd -r %groupname
exit 0
18 years ago
16 years ago
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
15 years ago
%defattr(-,root,root,-)
%doc ChangeLog README README_NETJACK2 TODO
%doc README.Fedora
16 years ago
%doc jack.pa
15 years ago
%{_bindir}/alsa_in
%{_bindir}/alsa_out
%{_bindir}/jackd
%{_bindir}/jack_load
%{_bindir}/jack_unload
%{_bindir}/jack_freewheel
15 years ago
%exclude %{_bindir}/jackdbus
%exclude %{_bindir}/jack_control
%{_bindir}/jack_cpu
%{_bindir}/jack_cpu_load
%{_bindir}/jack_delay
%{_bindir}/jack_server_control
%{_bindir}/jack_test
%{_bindir}/jack_thru
%{_bindir}/jack_zombie
%{_datadir}/dbus-1/services/org.jackaudio.service
%{_libdir}/jack/
%{_libdir}/libjack.so.*
%{_libdir}/libjackserver.so.*
15 years ago
%config(noreplace) %{_sysconfdir}/security/limits.d/*.conf
%{_mandir}/man1/alsa_*.1*
%{_mandir}/man1/jack_freewheel*.1*
%{_mandir}/man1/jack_load*.1*
%{_mandir}/man1/jack_unload*.1*
%{_mandir}/man1/jackd*.1*
%files devel
15 years ago
%defattr(-,root,root,-)
%doc reference/*
%{_includedir}/jack/
%{_libdir}/libjack.so
%{_libdir}/libjackserver.so
%{_libdir}/pkgconfig/jack.pc
%files example-clients
15 years ago
%defattr(-,root,root,-)
%{_bindir}/jackrec
17 years ago
%{_bindir}/jack_alias
%{_bindir}/jack_bufsize
%{_bindir}/jack_connect
%{_bindir}/jack_disconnect
17 years ago
%{_bindir}/jack_evmon
15 years ago
# These are not ready yet
#{_bindir}/jack_impulse_grabber
%exclude %{_mandir}/man1/jack_impulse_grabber.1*
%{_bindir}/jack_lsp
%{_bindir}/jack_metro
%{_bindir}/jack_netsource
%{_bindir}/jack_samplerate
%{_bindir}/jack_showtime
17 years ago
%{_bindir}/jack_transport
%{_bindir}/jack_wait
%{_bindir}/jack_monitor_client
%{_bindir}/jack_simple_client
%{_bindir}/jack_midiseq
%{_bindir}/jack_midisine
15 years ago
%{_bindir}/jack_multiple_metro
%{_mandir}/man1/jack_bufsize.1*
%{_mandir}/man1/jack_connect.1*
%{_mandir}/man1/jack_disconnect.1*
%{_mandir}/man1/jack_lsp.1*
%{_mandir}/man1/jack_metro.1*
%{_mandir}/man1/jack_monitor_client.1*
%{_mandir}/man1/jack_netsource.1*
%{_mandir}/man1/jack_samplerate.1*
%{_mandir}/man1/jack_showtime.1*
%{_mandir}/man1/jack_simple_client.1*
%{_mandir}/man1/jack_transport.1*
%{_mandir}/man1/jack_wait.1*
%{_mandir}/man1/jackrec.1*
%changelog
14 years ago
* Wed Feb 16 2011 Peter Robinson <pbrobinson@gmail.com> - 1.9.6-4
- Rebuilt for new celt
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Fri Nov 12 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.9.6-2
- Fix the realtime compat patch so it can detect the realtime kernel better
* Sat Nov 06 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.9.6-1
- update to 1.9.6
- update README.Fedora file with more recent information
* Thu Aug 26 2010 Dan Horák <dan[at]danny.cz> - 1.9.5-2
- no Firewire on s390(x)
- fix building on other arches than x86 and ppc
15 years ago
* Mon Jul 19 2010 Orcan Ogetbil <oget[dot]fedora[at]gmail[dot]com> - 1.9.5-1
- Jack 2!
* Sat Nov 21 2009 Andy Shevchenko <andy@smile.org.ua> - 0.118.0-1
- update to 0.118.0 (should fix #533419)
- remove upstreamed patch
- append new binaries to -example-clients subpackage
* Wed Nov 4 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 0.116.2-8
- update to 0.116.2
- make sure we cleanup threads that we open, fixes segfaults (thanks to Ray Strode)
* Tue Oct 27 2009 Dennis Gilmore <dennis@ausil.us> - 0.116.1-7
- dont build libfreebob support on s390 arches
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.116.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
16 years ago
* Sun Jun 21 2009 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-5
- create file under /etc/security/limits.d instead of limits.conf hack (#506583)
- rename jack-audio-connection-kit.pa to jack.pa in the documentation part
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.116.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Sun Jan 04 2009 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-3
- avoid creation of the LaTeX documentation (temporary fix for #477402)
* Mon Dec 29 2008 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-2
- fix multiarch conflict again (#477718, #341621)
* Sun Dec 14 2008 Andy Shevchenko <andy@smile.org.ua> - 0.116.1-1
- update to last official release
- update URL tag
- update file list accordingly
* Mon Jul 28 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-3
- add a new requirement to be ensure we have /etc/security for postinstall
script (#359291, #456830)
- provide a pulseaudio start script from README.Fedora
- append values for pulse-rt group to the limits.conf
- update README.Fedora regarding to the recent changes
* Sun Jul 20 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-2
- apply patch to be work on ppc64 (#451531)
- update README.Fedora to describe integration jack with pulseaudio (#455193)
17 years ago
* Wed Feb 13 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.2-1.1
17 years ago
- update to the last official release
17 years ago
* Mon Jan 21 2008 Andy Shevchenko <andy@smile.org.ua> 0.109.0-1
- update to the last official release (#429162)
- shut up the postinstall script (#359291)
* Sat Oct 20 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-5
- fix timestamps to avoid multiarch conflicts (#341621)
* Tue Sep 04 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-4
- fix Source Forge's URL scheme
18 years ago
* Thu Aug 16 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-3
- fix according to new guidelines:
- License tag
- group creation
* Wed May 23 2007 Andy Shevchenko <andy@smile.org.ua> 0.103.0-1
- update to the last official release
- append defaults to the limits.conf (#221785, #235624)
18 years ago
* Wed Mar 07 2007 Andy Shevchenko <andy@smile.org.ua> 0.102.20-4
- drop libtermcap-devel build requirement (#231203)
- create special jackuser group (#221785)
18 years ago
* Sat Oct 28 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-3
- fix BuildRequires: libfreebob -> libfreebob-devel
18 years ago
* Tue Oct 24 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.1
- rebuild with libfreebob (should closed #211751)
* Wed Oct 11 2006 Andy Shevchenko <andy@smile.org.ua> 0.102.20-2.0
- update to 0.102.20
- drop patch0 (already in mainstream)
- no pack jack_transport (build error)
- pack new JACK MIDI files
19 years ago
* Tue Aug 29 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-13
- http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
19 years ago
* Tue Aug 01 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-12
- use install instead of cp (#200835)
* Tue Jul 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-11
- update URL
- add BR: libtool
* Tue Jun 20 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-10
- add BRs: autoconf, automake
(http://fedoraproject.org/wiki/QA/FixBuildRequires)
* Sat May 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-9
- remove --enable-stripped-jackd and --enable-optimize (use default flags)
* Fri May 19 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-8
15 years ago
- uniform directories items at %%files section
* Wed May 17 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-7
- change License tag to GPL/LGPL
- remove --enable-shared (it should be default)
- add a -p flag to the line that copies README.Fedora
* Wed May 10 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-6
- apply clock fix for AMD X2 CPUs (please, refer to
http://sourceforge.net/mailarchive/forum.php?thread_id=8085535&forum_id=3040)
* Wed May 03 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-5
- adjust spec after reviewing
* Thu Apr 27 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-4
- reformatting README.Fedora to 72 symbols width
* Wed Apr 26 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-3
- add README.Fedora
- remove useless BRs
* Mon Apr 24 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-2
- disable oss and portaudio engines
- use /dev/shm as jack tmpdir
- remove capabilities stuff
* Tue Apr 04 2006 Andy Shevchenko <andriy@asplinux.com.ua> 0.101.1-1
- update to 0.101.1
* Mon Mar 27 2006 Andy Shevchenko <andriy@asplinux.com.ua>
- update to 0.100.7 (#183912)
- adjust BR (add versions)
- replace files between examples and main packages
- own jack tmpdir
* Fri Mar 17 2006 Andy Shevchenko <andriy@asplinux.com.ua>
- no libs subpackage
- From Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>:
- added configuration variable to build with/without capabilities
- added --enable-optimize flag to configure script
- disabled sse/mmx instructions in i386 build
- create temporary directory as /var/lib/jack/tmp
- create and erase tmp directory at install or uninstall
- try to umount the temporary directory before uninstalling the package
* Fri Mar 03 2006 Andy Shevchenko <andriy@asplinux.com.ua>
- fix spec for extras injection
* Fri Nov 18 2005 Andy Shevchenko <andriy@asplinux.ru>
- exclude *.la files
- use dist tag
* Fri Oct 14 2005 Andy Shevchenko <andriy@asplinux.ru>
- 0.100.0
- no optimization
* Tue Sep 28 2004 Andy Shevchenko <andriy@asplinux.ru>
- 0.99.1
* Fri Aug 20 2004 Andy Shevchenko <andriy@asplinux.ru>
- rebuild from Mandrake