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