]>
Commit | Line | Data |
---|---|---|
1 | Summary: Multitrack hard disk recorder | |
2 | Summary(pl.UTF-8): Wielościeżkowy magnetofon nagrywający na twardym dysku | |
3 | Name: ardour | |
4 | Version: 2.0.3 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: X11/Applications/Sound | |
8 | Source0: http://ardour.org/files/releases/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: d047d3f9e7b5b4bf80980c5b267c1068 | |
10 | Source1: %{name}.desktop | |
11 | Patch3: %{name}-nptl_fix.patch | |
12 | URL: http://ardour.org/ | |
13 | BuildRequires: alsa-lib-devel >= 0.9.0 | |
14 | BuildRequires: boost-devel | |
15 | BuildRequires: gettext-devel | |
16 | # included libsndfile needs patch (wants FLAC__seekable_stream_decoder_set_read_callback) | |
17 | # (in ardour itself only one UI option depends on HAVE_FLAC) | |
18 | BuildRequires: flac-devel | |
19 | BuildRequires: fftw3-single-devel >= 3 | |
20 | BuildRequires: glib2-devel >= 1:2.10.1 | |
21 | BuildRequires: gtk+2-devel >= 2:2.8.1 | |
22 | BuildRequires: gtkmm-devel >= 2.8.0 | |
23 | BuildRequires: jack-audio-connection-kit-devel >= 0.101.1 | |
24 | BuildRequires: libart_lgpl >= 2.3.16 | |
25 | BuildRequires: libgnomecanvas-devel >= 2.0 | |
26 | BuildRequires: libgnomecanvasmm-devel >= 2.12.0 | |
27 | BuildRequires: liblrdf-devel >= 0.4.0 | |
28 | BuildRequires: liblo-devel | |
29 | BuildRequires: libraptor-devel >= 1.4.2 | |
30 | BuildRequires: libsamplerate-devel >= 0.1.2 | |
31 | BuildRequires: libsigc++-devel >= 2.0 | |
32 | # internal one used | |
33 | #BuildRequires: libsndfile-devel >= 1.0.0 | |
34 | BuildRequires: libstdc++-devel | |
35 | BuildRequires: libtool | |
36 | BuildRequires: libusb-devel | |
37 | BuildRequires: libxml2-devel >= 1:2.6.0 | |
38 | BuildRequires: libxslt-devel | |
39 | BuildRequires: python >= 2.3.4 | |
40 | BuildRequires: pkgconfig >= 1:0.20 | |
41 | BuildRequires: scons >= 0.96 | |
42 | BuildRequires: soundtouch-devel >= 1.3.1 | |
43 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
44 | ||
45 | %description | |
46 | A "professional" multitrack, multichannel audio recorder and DAW for | |
47 | Linux, using ALSA-supported audio interfaces. Supports up to 32 bit | |
48 | samples, 24+ channels at up to 96kHz, full MMC control, | |
49 | non-destructive, non-linear editor, LADSPA plugins. | |
50 | ||
51 | %description -l pl.UTF-8 | |
52 | "Profesjonalny" wielościeżkowy, wielokanałowy magnetofon oraz DAW dla | |
53 | Linuksa, wykorzystujący interfejsy dźwiękowe obsługiwane przez ALSA. | |
54 | Obsługuje próbki do 32 bitów, 24+ kanałów do 96kHz, pełną kontrolę | |
55 | MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA. | |
56 | ||
57 | %prep | |
58 | %setup -q | |
59 | %patch3 -p1 | |
60 | ||
61 | %build | |
62 | %scons \ | |
63 | SYSLIBS=1 \ | |
64 | %ifarch %{x8664} | |
65 | DIST_TARGET=x86_64 | |
66 | %else | |
67 | %ifarch %{ix86} | |
68 | DIST_TARGET=i386 | |
69 | %else | |
70 | DIST_TARGET=none | |
71 | %endif | |
72 | %endif | |
73 | ||
74 | %install | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | install -d $RPM_BUILD_ROOT%{_desktopdir} | |
77 | ||
78 | %scons install \ | |
79 | DESTDIR=$RPM_BUILD_ROOT \ | |
80 | GTK=yes | |
81 | # KSI=yes | |
82 | ||
83 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
84 | ||
85 | # it shouldn't be there | |
86 | rm -f $RPM_BUILD_ROOT%{_datadir}/ardour/libardour.{la,a} | |
87 | ||
88 | %find_lang %{name} --all-name | |
89 | ||
90 | %clean | |
91 | rm -rf $RPM_BUILD_ROOT | |
92 | ||
93 | %files -f %{name}.lang | |
94 | %defattr(644,root,root,755) | |
95 | %doc ChangeLog DOCUMENTATION/{AUTHORS,CONTRIBUTORS,FAQ,README,TODO,TRANSLATORS} | |
96 | %lang(es) %doc DOCUMENTATION/{AUTHORS.es,CONTRIBUTORS.es,README.es} | |
97 | %lang(fr) %doc DOCUMENTATION/README.fr | |
98 | %lang(it) %doc DOCUMENTATION/README.it | |
99 | %lang(ru) %doc DOCUMENTATION/README.ru | |
100 | %attr(755,root,root) %{_bindir}/* | |
101 | %{_datadir}/%{name} | |
102 | %{_mandir}/man1/ardour.1* | |
103 | %lang(es) %{_mandir}/es/man1/ardour.1* | |
104 | %lang(fr) %{_mandir}/fr/man1/ardour.1* | |
105 | %lang(ru) %{_mandir}/ru/man1/ardour.1* | |
106 | %dir %{_sysconfdir}/ardour | |
107 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour/*.rc | |
108 | %{_desktopdir}/ardour.desktop |