]> git.pld-linux.org Git - packages/ardour.git/blob - ardour.spec
- release 3 (by relup.sh)
[packages/ardour.git] / ardour.spec
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:        5.12.0
5 Release:        3
6 License:        GPL
7 Group:          X11/Applications/Sound
8 Source0:        https://community.ardour.org/srctar/Ardour-%{version}.tar.bz2
9 # Source0-md5:  cb45f31a59dd5a0da07422e4ac1c44fd
10 Source1:        %{name}.desktop
11 Patch0:         localedir.patch
12 Patch1:         no_proc_build.patch
13 Patch2:         ffmpeg_paths.patch
14 URL:            http://ardour.org/
15 BuildRequires:  alsa-lib-devel >= 0.9.0
16 BuildRequires:  aubio-devel >= 0.4.0
17 BuildRequires:  boost-devel
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
26 BuildRequires:  gtk+2-devel >= 2:2.18
27 BuildRequires:  gtkmm-devel >= 2.8
28 BuildRequires:  itstool >= 2.0.0
29 BuildRequires:  jack-audio-connection-kit-devel >= 0.121
30 BuildRequires:  libarchive-devel >= 3.0.0
31 BuildRequires:  liblo-devel >= 0.26
32 BuildRequires:  liblrdf-devel >= 0.4.0
33 BuildRequires:  libogg-devel >= 1.1.2
34 BuildRequires:  libsamplerate-devel >= 0.1.7
35 BuildRequires:  libsigc++-devel >= 2.0
36 BuildRequires:  libsndfile-devel >= 1.0.18
37 BuildRequires:  libusb-devel
38 BuildRequires:  libxml2-devel
39 BuildRequires:  lilv-devel >= 0.21.3
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:  sord-devel >= 0.8.0
45 BuildRequires:  sratom-devel >= 0.2.0
46 BuildRequires:  suil-devel >= 0.6.0
47 BuildRequires:  taglib-devel >= 1.6
48 BuildRequires:  udev-devel
49 BuildRequires:  vamp-devel >= 2.1
50 BuildRequires:  xorg-lib-libX11-devel >= 1.1
51 Requires:       jack-audio-connection-kit-libs >= 0.121
52 Suggests:       harvid
53 Suggests:       xjadeo
54 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
55
56 %define         _noautoprovfiles        %{_libdir}/(ardour5|lv2)
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
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
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
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ę
76 MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA.
77
78 %prep
79 %setup -q -n Ardour-%{version}
80
81 %patch0 -p1
82 %patch1 -p1
83 %patch2 -p1
84
85 %build
86 export CC="%{__cc}"
87 export CXX="%{__cxx}"
88 export CFLAGS="%{rpmcflags}"
89 export CXXFLAGS="%{rpmcxxflags}"
90 export LDFLAGS="%{rpmldflags}"
91
92 ./waf configure \
93         --prefix=%{_prefix} \
94         --bindir=%{_bindir} \
95         --configdir=%{_sysconfdir} \
96         --includedir=%{_datadir} \
97         --datadir=%{_datadir} \
98         --libdir=%{_libdir} \
99         --mandir=%{_mandir} \
100         --lv2 \
101         --lv2dir=%{_libdir}/lv2 \
102         --cxx11 \
103         --freedesktop
104
105 ./waf build -v
106 ./waf i18n -v
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
111
112 ./waf install -v \
113         --destdir=$RPM_BUILD_ROOT \
114         --prefix=%{_prefix} \
115         --bindir=%{_bindir} \
116         --configdir=%{_sysconfdir} \
117         --includedir=%{_datadir} \
118         --datadir=%{_datadir} \
119         --libdir=%{_libdir} \
120         --mandir=%{_mandir}
121
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
124
125 rm -r $RPM_BUILD_ROOT%{_localedir}/{pt_PT,zh}
126
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)
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
143 %attr(755,root,root) %{_bindir}/ardour5-lua
144 %{_datadir}/ardour5
145 %{_desktopdir}/ardour.desktop
146 %{_pixmapsdir}/ardour.png
147
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
This page took 0.12559 seconds and 4 git commands to generate.