]>
Commit | Line | Data |
---|---|---|
63818174 ER |
1 | # TODO |
2 | # - make it not to parse /proc/cpuinfo | |
0acf8fe4 | 3 | Summary: Multitrack hard disk recorder |
e3462249 | 4 | Summary(pl.UTF-8): Wielościeżkowy magnetofon nagrywający na twardym dysku |
0acf8fe4 | 5 | Name: ardour |
ff803f68 JK |
6 | Version: 5.4.0 |
7 | Release: 0.1 | |
0acf8fe4 | 8 | License: GPL |
9 | Group: X11/Applications/Sound | |
ff803f68 JK |
10 | Source0: https://community.ardour.org/srctar/Ardour-%{version}.tar.bz2 |
11 | # Source0-md5: ca71c6aa7f804a81539a0c25ea2427a5 | |
0abfb58a | 12 | Source1: %{name}.desktop |
11673d43 | 13 | URL: http://ardour.org/ |
af389eaf | 14 | BuildRequires: alsa-lib-devel >= 0.9.0 |
ff803f68 | 15 | BuildRequires: aubio-devel >= 0.4.0 |
2788d6a3 | 16 | BuildRequires: boost-devel |
ff803f68 JK |
17 | BuildRequires: cairo-devel >= 1.12.0 |
18 | BuildRequires: cairomm-devel >= 1.8.4 | |
19 | BuildRequires: curl-devel >= 7.0.0 | |
20 | BuildRequires: dbus-devel | |
21 | BuildRequires: fftw3-single-devel | |
22 | BuildRequires: flac-devel >= 1.2.1 | |
23 | BuildRequires: fontconfig-devel | |
24 | BuildRequires: glib2-devel >= 1:2.28 | |
25 | BuildRequires: gtk+2-devel >= 2:2.12.1 | |
26 | BuildRequires: gtkmm-devel >= 2.8 | |
27 | BuildRequires: gtkmm-devel >= 2.8 | |
28 | BuildRequires: jack-audio-connection-kit-devel >= 0.121 | |
29 | BuildRequires: libarchive-devel >= 3.0.0 | |
30 | BuildRequires: liblo-devel >= 0.26 | |
95c59896 | 31 | BuildRequires: liblrdf-devel >= 0.4.0 |
ff803f68 JK |
32 | BuildRequires: libogg-devel >= 1.1.2 |
33 | BuildRequires: libsamplerate-devel >= 0.1.7 | |
95c59896 | 34 | BuildRequires: libsigc++-devel >= 2.0 |
ff803f68 | 35 | BuildRequires: libsndfile-devel >= 1.0.18 |
95c59896 | 36 | BuildRequires: libusb-devel |
ff803f68 JK |
37 | BuildRequires: libxml2-devel |
38 | BuildRequires: lilv-devel >= 0.21.3 | |
39 | BuildRequires: lv2-devel >= 1.0.0 | |
40 | BuildRequires: lv2-devel >= 1.10.0 | |
41 | BuildRequires: pangomm-devel >= 1.4 | |
42 | BuildRequires: rubberband-devel | |
43 | BuildRequires: serd-devel >= 0.14.0 | |
44 | BuildRequires: sratom-devel >= 0.2.0 | |
45 | BuildRequires: suil-devel >= 0.6.0 | |
46 | BuildRequires: taglib-devel >= 1.6 | |
47 | BuildRequires: vamp-devel >= 2.1 | |
48 | BuildRequires: xorg-lib-libX11-devel >= 1.1 | |
49 | Requires: jack-audio-connection-kit-libs >= 0.121 | |
0acf8fe4 | 50 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
51 | ||
52 | %description | |
53 | A "professional" multitrack, multichannel audio recorder and DAW for | |
54 | Linux, using ALSA-supported audio interfaces. Supports up to 32 bit | |
55 | samples, 24+ channels at up to 96kHz, full MMC control, | |
56 | non-destructive, non-linear editor, LADSPA plugins. | |
57 | ||
eb8c735e JR |
58 | %description -l pl.UTF-8 |
59 | "Profesjonalny" wielościeżkowy, wielokanałowy magnetofon oraz DAW dla | |
60 | Linuksa, wykorzystujący interfejsy dźwiękowe obsługiwane przez ALSA. | |
61 | Obsługuje próbki do 32 bitów, 24+ kanałów do 96kHz, pełną kontrolę | |
9b6c8bab | 62 | MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA. |
0acf8fe4 | 63 | |
64 | %prep | |
ff803f68 | 65 | %setup -q -n Ardour-%{version} |
9b6c8bab | 66 | |
0acf8fe4 | 67 | %build |
ff803f68 JK |
68 | export CC="%{__cc}" |
69 | export CXX="%{__cxx}" | |
70 | export CFLAGS="%{rpmcflags}" | |
71 | export CXXFLAGS="%{rpmcxxflags}" | |
72 | export LDFLAGS="%{rpmldflags}" | |
5ad12ed2 | 73 | |
ff803f68 JK |
74 | ./waf configure \ |
75 | --prefix=%{_prefix} \ | |
76 | --bindir=%{_bindir} \ | |
77 | --configdir=%{_sysconfdir}/etc \ | |
78 | --includedir=%{_datadir} \ | |
79 | --datadir=%{_datadir} \ | |
80 | --libdir=%{_libdir} \ | |
81 | --mandir=%{_mandir} \ | |
82 | --lv2 \ | |
83 | --lv2dir=%{_libdir}/lv2 \ | |
84 | --cxx11 | |
0acf8fe4 | 85 | |
ff803f68 | 86 | ./waf build -v |
9cb1f5df | 87 | |
ff803f68 | 88 | %install |
0acf8fe4 | 89 | rm -rf $RPM_BUILD_ROOT |
9cb1f5df | 90 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
0acf8fe4 | 91 | |
ff803f68 | 92 | #FIXME |
0acf8fe4 | 93 | |
ff803f68 JK |
94 | #install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
95 | #cp -a gtk2_ardour/icons/ardour_icon_48px.png $RPM_BUILD_ROOT%{_pixmapsdir}/ardour.png | |
0abfb58a | 96 | |
ff803f68 JK |
97 | ## it shouldn't be there |
98 | #rm -f $RPM_BUILD_ROOT%{_datadir}/ardour/libardour.{la,a} | |
11673d43 | 99 | |
0acf8fe4 | 100 | %find_lang %{name} --all-name |
101 | ||
102 | %clean | |
103 | rm -rf $RPM_BUILD_ROOT | |
104 | ||
105 | %files -f %{name}.lang | |
106 | %defattr(644,root,root,755) | |
5ad12ed2 | 107 | %doc DOCUMENTATION/{AUTHORS,CONTRIBUTORS,FAQ,TRANSLATORS} |
11673d43 JB |
108 | %lang(es) %doc DOCUMENTATION/{AUTHORS.es,CONTRIBUTORS.es,README.es} |
109 | %lang(fr) %doc DOCUMENTATION/README.fr | |
110 | %lang(it) %doc DOCUMENTATION/README.it | |
111 | %lang(ru) %doc DOCUMENTATION/README.ru | |
f20b6fc9 ER |
112 | %dir %{_sysconfdir}/ardour2 |
113 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/*.conf | |
114 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/*.rc | |
115 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/ardour.bindings | |
116 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/ardour.menus | |
117 | %attr(755,root,root) %{_bindir}/ardour2 | |
118 | %{_datadir}/ardour2 | |
0abfb58a | 119 | %{_desktopdir}/ardour.desktop |
9cb1f5df | 120 | %{_pixmapsdir}/ardour.png |
f20b6fc9 ER |
121 | |
122 | %dir %{_libdir}/ardour2 | |
123 | %attr(755,root,root) %{_libdir}/ardour2/ardour-2.1 | |
124 | %attr(755,root,root) %{_libdir}/ardour2/libardour.so | |
125 | %attr(755,root,root) %{_libdir}/ardour2/libardour_cp.so | |
126 | %attr(755,root,root) %{_libdir}/ardour2/libgtkmm2ext.so | |
127 | %attr(755,root,root) %{_libdir}/ardour2/libmidi++.so | |
128 | %attr(755,root,root) %{_libdir}/ardour2/libpbd.so | |
129 | %attr(755,root,root) %{_libdir}/ardour2/libsndfile-ardour.so | |
130 | %dir %{_libdir}/ardour2/engines | |
131 | %attr(755,root,root) %{_libdir}/ardour2/engines/libclearlooks.so | |
132 | %dir %{_libdir}/ardour2/surfaces | |
133 | %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_genericmidi.so | |
134 | %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_mackie.so | |
135 | %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_powermate.so | |
136 | %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_tranzport.so |