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