]>
Commit | Line | Data |
---|---|---|
0acf8fe4 | 1 | Summary: Multitrack hard disk recorder |
e3462249 | 2 | Summary(pl.UTF-8): Wielościeżkowy magnetofon nagrywający na twardym dysku |
0acf8fe4 | 3 | Name: ardour |
ff803f68 | 4 | Version: 5.4.0 |
51a5cfee | 5 | Release: 2 |
0acf8fe4 | 6 | License: GPL |
7 | Group: X11/Applications/Sound | |
ff803f68 JK |
8 | Source0: https://community.ardour.org/srctar/Ardour-%{version}.tar.bz2 |
9 | # Source0-md5: ca71c6aa7f804a81539a0c25ea2427a5 | |
0abfb58a | 10 | Source1: %{name}.desktop |
691623f9 JK |
11 | Patch0: localedir.patch |
12 | Patch1: no_proc_build.patch | |
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 | |
ff803f68 JK |
27 | BuildRequires: jack-audio-connection-kit-devel >= 0.121 |
28 | BuildRequires: libarchive-devel >= 3.0.0 | |
29 | BuildRequires: liblo-devel >= 0.26 | |
95c59896 | 30 | BuildRequires: liblrdf-devel >= 0.4.0 |
ff803f68 JK |
31 | BuildRequires: libogg-devel >= 1.1.2 |
32 | BuildRequires: libsamplerate-devel >= 0.1.7 | |
95c59896 | 33 | BuildRequires: libsigc++-devel >= 2.0 |
ff803f68 | 34 | BuildRequires: libsndfile-devel >= 1.0.18 |
95c59896 | 35 | BuildRequires: libusb-devel |
ff803f68 JK |
36 | BuildRequires: libxml2-devel |
37 | BuildRequires: lilv-devel >= 0.21.3 | |
ff803f68 JK |
38 | BuildRequires: lv2-devel >= 1.10.0 |
39 | BuildRequires: pangomm-devel >= 1.4 | |
40 | BuildRequires: rubberband-devel | |
41 | BuildRequires: serd-devel >= 0.14.0 | |
42 | BuildRequires: sratom-devel >= 0.2.0 | |
43 | BuildRequires: suil-devel >= 0.6.0 | |
44 | BuildRequires: taglib-devel >= 1.6 | |
45 | BuildRequires: vamp-devel >= 2.1 | |
46 | BuildRequires: xorg-lib-libX11-devel >= 1.1 | |
47 | Requires: jack-audio-connection-kit-libs >= 0.121 | |
0acf8fe4 | 48 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
49 | ||
691623f9 JK |
50 | %define _noautoprovfiles %{_libdir}/(ardour5|lv2) |
51 | %define _noautoreq ^libardour.* libaudiographer.so.0 libcanvas.so.0 libevoral.so.0 libgtkmm2ext.so.0 libmidipp.so.4 libpbd.so.4 libptformat.so.0 libqmdsp.so.0 libtimecode.so | |
52 | ||
53 | # Unresolved symbols: | |
54 | # _Z10vstfx_exitv | |
55 | # _Z10vstfx_initPv | |
56 | # _Z20vstfx_destroy_editorP9_VSTState | |
57 | # those are defined in the executable | |
58 | %define skip_post_check_so libardour.so.* | |
59 | ||
0acf8fe4 | 60 | %description |
61 | A "professional" multitrack, multichannel audio recorder and DAW for | |
62 | Linux, using ALSA-supported audio interfaces. Supports up to 32 bit | |
63 | samples, 24+ channels at up to 96kHz, full MMC control, | |
64 | non-destructive, non-linear editor, LADSPA plugins. | |
65 | ||
eb8c735e JR |
66 | %description -l pl.UTF-8 |
67 | "Profesjonalny" wielościeżkowy, wielokanałowy magnetofon oraz DAW dla | |
68 | Linuksa, wykorzystujący interfejsy dźwiękowe obsługiwane przez ALSA. | |
69 | Obsługuje próbki do 32 bitów, 24+ kanałów do 96kHz, pełną kontrolę | |
9b6c8bab | 70 | MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA. |
0acf8fe4 | 71 | |
72 | %prep | |
ff803f68 | 73 | %setup -q -n Ardour-%{version} |
9b6c8bab | 74 | |
691623f9 JK |
75 | %patch0 -p1 |
76 | %patch1 -p1 | |
77 | ||
0acf8fe4 | 78 | %build |
ff803f68 JK |
79 | export CC="%{__cc}" |
80 | export CXX="%{__cxx}" | |
81 | export CFLAGS="%{rpmcflags}" | |
82 | export CXXFLAGS="%{rpmcxxflags}" | |
83 | export LDFLAGS="%{rpmldflags}" | |
5ad12ed2 | 84 | |
ff803f68 JK |
85 | ./waf configure \ |
86 | --prefix=%{_prefix} \ | |
87 | --bindir=%{_bindir} \ | |
691623f9 | 88 | --configdir=%{_sysconfdir} \ |
ff803f68 JK |
89 | --includedir=%{_datadir} \ |
90 | --datadir=%{_datadir} \ | |
91 | --libdir=%{_libdir} \ | |
92 | --mandir=%{_mandir} \ | |
93 | --lv2 \ | |
94 | --lv2dir=%{_libdir}/lv2 \ | |
95 | --cxx11 | |
0acf8fe4 | 96 | |
ff803f68 | 97 | ./waf build -v |
9cb1f5df | 98 | |
ff803f68 | 99 | %install |
0acf8fe4 | 100 | rm -rf $RPM_BUILD_ROOT |
9cb1f5df | 101 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
0acf8fe4 | 102 | |
691623f9 JK |
103 | ./waf install \ |
104 | --destdir=$RPM_BUILD_ROOT \ | |
105 | --prefix=%{_prefix} \ | |
106 | --bindir=%{_bindir} \ | |
107 | --configdir=%{_sysconfdir} \ | |
108 | --includedir=%{_datadir} \ | |
109 | --datadir=%{_datadir} \ | |
110 | --libdir=%{_libdir} \ | |
111 | --mandir=%{_mandir} \ | |
0acf8fe4 | 112 | |
691623f9 JK |
113 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
114 | cp -a gtk2_ardour/icons/application-x-ardour_48px.png $RPM_BUILD_ROOT%{_pixmapsdir}/ardour.png | |
0abfb58a | 115 | |
691623f9 | 116 | rm -r $RPM_BUILD_ROOT%{_localedir}/{pt_PT,zh} |
11673d43 | 117 | |
0acf8fe4 | 118 | %find_lang %{name} --all-name |
119 | ||
120 | %clean | |
121 | rm -rf $RPM_BUILD_ROOT | |
122 | ||
123 | %files -f %{name}.lang | |
124 | %defattr(644,root,root,755) | |
691623f9 JK |
125 | %doc README |
126 | %dir %{_sysconfdir}/ardour5 | |
127 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour5/ardour.keys | |
128 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour5/ardour.menus | |
129 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour5/clearlooks.rc | |
130 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour5/default_ui_config | |
131 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour5/system_config | |
132 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour5/trx.menus | |
133 | %attr(755,root,root) %{_bindir}/ardour5 | |
134 | %attr(755,root,root) %{_bindir}/ardour5-lua | |
135 | %{_datadir}/ardour5 | |
0abfb58a | 136 | %{_desktopdir}/ardour.desktop |
9cb1f5df | 137 | %{_pixmapsdir}/ardour.png |
f20b6fc9 | 138 | |
691623f9 JK |
139 | # everything executable there |
140 | %attr(755,root,root) %{_libdir}/ardour5 | |
141 | ||
142 | %dir %{_libdir}/lv2/*.lv2 | |
143 | %attr(755,root,root) %{_libdir}/lv2/*.lv2/*.so | |
144 | %{_libdir}/lv2/*.lv2/*.ttl |