]> git.pld-linux.org Git - packages/ardour.git/blob - ardour.spec
Version: 5.4.0, not finished yet
[packages/ardour.git] / ardour.spec
1 # TODO
2 # - make it not to parse /proc/cpuinfo
3 Summary:        Multitrack hard disk recorder
4 Summary(pl.UTF-8):      Wielościeżkowy magnetofon nagrywający na twardym dysku
5 Name:           ardour
6 Version:        5.4.0
7 Release:        0.1
8 License:        GPL
9 Group:          X11/Applications/Sound
10 Source0:        https://community.ardour.org/srctar/Ardour-%{version}.tar.bz2
11 # Source0-md5:  ca71c6aa7f804a81539a0c25ea2427a5
12 Source1:        %{name}.desktop
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.12.1
26 BuildRequires:  gtkmm-devel >= 2.8
27 BuildRequires:  gtkmm-devel >= 2.8
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.0.0
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:  sratom-devel >= 0.2.0
45 BuildRequires:  suil-devel >= 0.6.0
46 BuildRequires:  taglib-devel >= 1.6
47 BuildRequires:  vamp-devel >= 2.1
48 BuildRequires:  xorg-lib-libX11-devel >= 1.1
49 Requires:       jack-audio-connection-kit-libs >= 0.121
50 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
51
52 %description
53 A "professional" multitrack, multichannel audio recorder and DAW for
54 Linux, using ALSA-supported audio interfaces. Supports up to 32 bit
55 samples, 24+ channels at up to 96kHz, full MMC control,
56 non-destructive, non-linear editor, LADSPA plugins.
57
58 %description -l pl.UTF-8
59 "Profesjonalny" wielościeżkowy, wielokanałowy magnetofon oraz DAW dla
60 Linuksa, wykorzystujący interfejsy dźwiękowe obsługiwane przez ALSA.
61 Obsługuje próbki do 32 bitów, 24+ kanałów do 96kHz, pełną kontrolę
62 MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA.
63
64 %prep
65 %setup -q -n Ardour-%{version}
66
67 %build
68 export CC="%{__cc}"
69 export CXX="%{__cxx}"
70 export CFLAGS="%{rpmcflags}"
71 export CXXFLAGS="%{rpmcxxflags}"
72 export LDFLAGS="%{rpmldflags}"
73
74 ./waf configure \
75         --prefix=%{_prefix} \
76         --bindir=%{_bindir} \
77         --configdir=%{_sysconfdir}/etc \
78         --includedir=%{_datadir} \
79         --datadir=%{_datadir} \
80         --libdir=%{_libdir} \
81         --mandir=%{_mandir} \
82         --lv2 \
83         --lv2dir=%{_libdir}/lv2 \
84         --cxx11
85
86 ./waf build -v
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
91
92 #FIXME
93
94 #install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
95 #cp -a gtk2_ardour/icons/ardour_icon_48px.png $RPM_BUILD_ROOT%{_pixmapsdir}/ardour.png
96
97 ## it shouldn't be there
98 #rm -f $RPM_BUILD_ROOT%{_datadir}/ardour/libardour.{la,a}
99
100 %find_lang %{name} --all-name
101
102 %clean
103 rm -rf $RPM_BUILD_ROOT
104
105 %files -f %{name}.lang
106 %defattr(644,root,root,755)
107 %doc DOCUMENTATION/{AUTHORS,CONTRIBUTORS,FAQ,TRANSLATORS}
108 %lang(es) %doc DOCUMENTATION/{AUTHORS.es,CONTRIBUTORS.es,README.es}
109 %lang(fr) %doc DOCUMENTATION/README.fr
110 %lang(it) %doc DOCUMENTATION/README.it
111 %lang(ru) %doc DOCUMENTATION/README.ru
112 %dir %{_sysconfdir}/ardour2
113 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/*.conf
114 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/*.rc
115 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/ardour.bindings
116 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour2/ardour.menus
117 %attr(755,root,root) %{_bindir}/ardour2
118 %{_datadir}/ardour2
119 %{_desktopdir}/ardour.desktop
120 %{_pixmapsdir}/ardour.png
121
122 %dir %{_libdir}/ardour2
123 %attr(755,root,root) %{_libdir}/ardour2/ardour-2.1
124 %attr(755,root,root) %{_libdir}/ardour2/libardour.so
125 %attr(755,root,root) %{_libdir}/ardour2/libardour_cp.so
126 %attr(755,root,root) %{_libdir}/ardour2/libgtkmm2ext.so
127 %attr(755,root,root) %{_libdir}/ardour2/libmidi++.so
128 %attr(755,root,root) %{_libdir}/ardour2/libpbd.so
129 %attr(755,root,root) %{_libdir}/ardour2/libsndfile-ardour.so
130 %dir %{_libdir}/ardour2/engines
131 %attr(755,root,root) %{_libdir}/ardour2/engines/libclearlooks.so
132 %dir %{_libdir}/ardour2/surfaces
133 %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_genericmidi.so
134 %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_mackie.so
135 %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_powermate.so
136 %attr(755,root,root) %{_libdir}/ardour2/surfaces/libardour_tranzport.so
This page took 0.053797 seconds and 4 git commands to generate.