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