]> git.pld-linux.org Git - packages/ardour.git/blob - ardour.spec
- updated to beta7
[packages/ardour.git] / ardour.spec
1 %define         _beta beta7
2 Summary:        Multitrack hard disk recorder
3 Summary(pl):    Wieloscie¿kowy magnetofon nagrywaj±cy na twardym dysku
4 Name:           ardour
5 Version:        0.9
6 Release:        0.%{_beta}.1
7 License:        GPL
8 Group:          X11/Applications/Sound
9 Source0:        http://dl.sourceforge.net/ardour/%{name}-%{version}%{_beta}.tar.bz2
10 # Source0-md5:  f71e65cbc965fc9b4f90d563298fef8d
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-system-libs.patch
13 Patch1:         %{name}-opt.patch
14 Patch2:         %{name}-ac_cleanup.patch
15 URL:            http://ardour.sourceforge.net/
16 BuildRequires:  XFree86-devel
17 BuildRequires:  autoconf >= 2.50
18 BuildRequires:  automake
19 BuildRequires:  alsa-lib-devel >= 0.9.0
20 BuildRequires:  gtk+-devel >= 1.0.0
21 #BuildRequires: gtk-canvas-devel >= 0.1
22 BuildRequires:  gtkmm1-devel >= 1.2.6
23 BuildRequires:  jack-audio-connection-kit-devel >= 0.80.0
24 BuildRequires:  libart_lgpl >= 2.3
25 BuildRequires:  libpng-devel
26 BuildRequires:  liblrdf-devel >= 0.3.0
27 BuildRequires:  libsamplerate-devel >= 0.0.13
28 BuildRequires:  libsigc++1-devel >= 0.8.8
29 BuildRequires:  libsndfile-devel >= 1.0.0
30 BuildRequires:  libstdc++-devel
31 BuildRequires:  libtool
32 BuildRequires:  libxml2-devel >= 2.5.0
33 BuildRequires:  pkgconfig
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 A "professional" multitrack, multichannel audio recorder and DAW for
38 Linux, using ALSA-supported audio interfaces. Supports up to 32 bit
39 samples, 24+ channels at up to 96kHz, full MMC control,
40 non-destructive, non-linear editor, LADSPA plugins.
41
42 %description -l pl
43 "Profesjonalny" wielo¶cie¿kowy, wielokana³owy magnetofon oraz DAW dla
44 Linuksa, wykorzystuj±cy interfejsy d¼wiêkowe obs³ugiwane przez ALSA.
45 Obs³uguje próbki do 32 bitów, 24+ kana³ów do 96kHz, pe³n± kontrolê
46 MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA.
47
48 %prep
49 %setup -q -n %{name}-%{version}%{_beta}
50 %patch0 -p1
51 %patch1 -p1
52 %patch2 -p1
53
54 install -d m4
55 # extract AM_BUILD_ENVIRONMENT (patched!)
56 tail +760 aclocal.m4 > m4/buildenv.m4
57 # AC_UNIQUIFY_{LAST,FIRST}
58 #tail +6685 libs/ardour/aclocal.m4 >> m4/buildenv.m4
59 # AC_POSIX_RTSCHED
60 tail +895 libs/pbd/aclocal.m4 | head -118 >> m4/buildenv.m4
61
62 %build
63 %{__aclocal} -I m4
64 %{__autoconf}
65 %{__automake}
66 cd gtk_ardour
67 %{__aclocal} -I ../m4
68 %{__autoconf}
69 %{__automake}
70 cd ../libs
71 %{__libtoolize}
72 %{__aclocal} -I ../m4
73 %{__autoconf}
74 %{__automake}
75 cd ardour
76 %{__libtoolize}
77 %{__aclocal} -I ../../m4
78 %{__autoconf}
79 %{__automake}
80 cd ../gtk-canvas
81 %{__aclocal} -I ../../m4
82 %{__autoconf}
83 %{__automake}
84 cd ../gtkmmext
85 %{__aclocal} -I ../../m4
86 %{__autoconf}
87 %{__automake}
88 cd ../midi++
89 %{__aclocal} -I ../../m4
90 %{__autoconf}
91 %{__automake}
92 cd ../pbd
93 %{__aclocal} -I ../../m4
94 %{__autoconf}
95 %{__automake}
96 cd ../soundtouch
97 %{__aclocal} -I ../../m4
98 %{__autoconf}
99 %{__automake}
100 cd ../..
101 # ksi doesn't build for a moment
102 %configure \
103         --disable-ksi \
104         %{!?debug:--enable-optimize}
105
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT%{_desktopdir}
111
112 %{__make} install \
113         DESTDIR=$RPM_BUILD_ROOT
114
115 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
116
117 %find_lang %{name} --all-name
118
119 %clean
120 rm -rf $RPM_BUILD_ROOT
121
122 %files -f %{name}.lang
123 %defattr(644,root,root,755)
124 %doc AUTHORS ChangeLog CONTRIBUTORS FAQ README TODO TRANSLATORS
125 %attr(755,root,root) %{_bindir}/*
126 %{_datadir}/%{name}
127 %{_mandir}/man1/*
128 %dir %{_sysconfdir}/ardour
129 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/ardour/*.rc
130 %{_desktopdir}/ardour.desktop
This page took 0.133362 seconds and 4 git commands to generate.