1 Summary: Multitrack hard disk recorder
2 Summary(pl): Wieloscie¿kowy magnetofon nagrywaj±cy na twardym dysku
8 Group: X11/Applications/Sound
9 Source0: http://dl.sourceforge.net/ardour/%{name}-%{version}%{_beta}.tar.bz2
10 # Source0-md5: 411deff954d269b70a330f2718c5674a
11 Source1: %{name}.desktop
12 Patch0: %{name}-system-libs.patch
13 Patch1: %{name}-opt.patch
14 Patch2: %{name}-ac_cleanup.patch
15 Patch3: %{name}-am18.patch
16 URL: http://ardour.sourceforge.net/
17 BuildRequires: XFree86-devel
18 BuildRequires: autoconf >= 2.50
19 BuildRequires: automake
20 BuildRequires: alsa-lib-devel >= 0.9.0
21 BuildRequires: gtk+-devel >= 1.0.0
22 #BuildRequires: gtk-canvas-devel >= 0.1
23 BuildRequires: gtkmm1-devel >= 1.2.6
24 BuildRequires: jack-audio-connection-kit-devel >= 0.91.0
25 BuildRequires: libart_lgpl >= 2.3
26 BuildRequires: libpng-devel
27 BuildRequires: liblrdf-devel >= 0.3.0
28 BuildRequires: libsamplerate-devel >= 0.0.13
29 BuildRequires: libsigc++1-devel >= 0.8.8
30 BuildRequires: libsndfile-devel >= 1.0.0
31 BuildRequires: libstdc++-devel
32 BuildRequires: libtool
33 BuildRequires: libxml2-devel >= 2.5.0
34 BuildRequires: pkgconfig
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 A "professional" multitrack, multichannel audio recorder and DAW for
39 Linux, using ALSA-supported audio interfaces. Supports up to 32 bit
40 samples, 24+ channels at up to 96kHz, full MMC control,
41 non-destructive, non-linear editor, LADSPA plugins.
44 "Profesjonalny" wielo¶cie¿kowy, wielokana³owy magnetofon oraz DAW dla
45 Linuksa, wykorzystuj±cy interfejsy d¼wiêkowe obs³ugiwane przez ALSA.
46 Obs³uguje próbki do 32 bitów, 24+ kana³ów do 96kHz, pe³n± kontrolê
47 MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA.
50 %setup -q -n %{name}-%{version}%{_beta}
57 # extract AM_BUILD_ENVIRONMENT (patched!)
58 tail -n +760 aclocal.m4 > m4/buildenv.m4
59 # AC_UNIQUIFY_{LAST,FIRST}
60 #tail -n +6685 libs/ardour/aclocal.m4 >> m4/buildenv.m4
62 tail -n +895 libs/pbd/aclocal.m4 | head -n 118 >> m4/buildenv.m4
79 %{__aclocal} -I ../../m4
83 %{__aclocal} -I ../../m4
87 %{__aclocal} -I ../../m4
91 %{__aclocal} -I ../../m4
95 %{__aclocal} -I ../../m4
99 %{__aclocal} -I ../../m4
103 # ksi doesn't build for a moment
106 %{!?debug:--enable-optimize}
111 rm -rf $RPM_BUILD_ROOT
112 install -d $RPM_BUILD_ROOT%{_desktopdir}
115 DESTDIR=$RPM_BUILD_ROOT
117 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
119 %find_lang %{name} --all-name
122 rm -rf $RPM_BUILD_ROOT
124 %files -f %{name}.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS ChangeLog CONTRIBUTORS FAQ README TODO TRANSLATORS
127 %attr(755,root,root) %{_bindir}/*
130 %dir %{_sysconfdir}/ardour
131 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ardour/*.rc
132 %{_desktopdir}/ardour.desktop