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