]> git.pld-linux.org Git - packages/ardour.git/blame_incremental - ardour.spec
- updated BRs, added some scons options
[packages/ardour.git] / ardour.spec
... / ...
CommitLineData
1Summary: Multitrack hard disk recorder
2Summary(pl.UTF-8): Wielościeżkowy magnetofon nagrywający na twardym dysku
3Name: ardour
4Version: 2.0.3
5Release: 0.1
6License: GPL
7Group: X11/Applications/Sound
8Source0: http://ardour.org/files/releases/%{name}-%{version}.tar.bz2
9# Source0-md5: d047d3f9e7b5b4bf80980c5b267c1068
10Source1: %{name}.desktop
11Patch3: %{name}-nptl_fix.patch
12URL: http://ardour.org/
13BuildRequires: alsa-lib-devel >= 0.9.0
14BuildRequires: boost-devel
15BuildRequires: gettext-devel
16# included libsndfile needs patch (wants FLAC__seekable_stream_decoder_set_read_callback)
17# (in ardour itself only one UI option depends on HAVE_FLAC)
18BuildRequires: flac-devel
19BuildRequires: fftw3-single-devel >= 3
20BuildRequires: glib2-devel >= 1:2.10.1
21BuildRequires: gtk+2-devel >= 2:2.8.1
22BuildRequires: gtkmm-devel >= 2.8.0
23BuildRequires: jack-audio-connection-kit-devel >= 0.101.1
24BuildRequires: libart_lgpl >= 2.3.16
25BuildRequires: libgnomecanvas-devel >= 2.0
26BuildRequires: libgnomecanvasmm-devel >= 2.12.0
27BuildRequires: liblrdf-devel >= 0.4.0
28BuildRequires: liblo-devel
29BuildRequires: libraptor-devel >= 1.4.2
30BuildRequires: libsamplerate-devel >= 0.1.2
31BuildRequires: libsigc++-devel >= 2.0
32# internal one used
33#BuildRequires: libsndfile-devel >= 1.0.0
34BuildRequires: libstdc++-devel
35BuildRequires: libtool
36BuildRequires: libusb-devel
37BuildRequires: libxml2-devel >= 1:2.6.0
38BuildRequires: libxslt-devel
39BuildRequires: python >= 2.3.4
40BuildRequires: pkgconfig >= 1:0.20
41BuildRequires: scons >= 0.96
42BuildRequires: soundtouch-devel >= 1.3.1
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
45%description
46A "professional" multitrack, multichannel audio recorder and DAW for
47Linux, using ALSA-supported audio interfaces. Supports up to 32 bit
48samples, 24+ channels at up to 96kHz, full MMC control,
49non-destructive, non-linear editor, LADSPA plugins.
50
51%description -l pl.UTF-8
52"Profesjonalny" wielościeżkowy, wielokanałowy magnetofon oraz DAW dla
53Linuksa, wykorzystujący interfejsy dźwiękowe obsługiwane przez ALSA.
54Obsługuje próbki do 32 bitów, 24+ kanałów do 96kHz, pełną kontrolę
55MMC, niedestruktywny, nieliniowy edytor oraz wtyczki LADSPA.
56
57%prep
58%setup -q
59%patch3 -p1
60
61%build
62%scons \
63 SYSLIBS=1 \
64%ifarch %{x8664}
65 DIST_TARGET=x86_64
66%else
67%ifarch %{ix86}
68 DIST_TARGET=i386
69%else
70 DIST_TARGET=none
71%endif
72%endif
73
74%install
75rm -rf $RPM_BUILD_ROOT
76install -d $RPM_BUILD_ROOT%{_desktopdir}
77
78%scons install \
79 DESTDIR=$RPM_BUILD_ROOT \
80 GTK=yes
81# KSI=yes
82
83install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
84
85# it shouldn't be there
86rm -f $RPM_BUILD_ROOT%{_datadir}/ardour/libardour.{la,a}
87
88%find_lang %{name} --all-name
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%files -f %{name}.lang
94%defattr(644,root,root,755)
95%doc ChangeLog DOCUMENTATION/{AUTHORS,CONTRIBUTORS,FAQ,README,TODO,TRANSLATORS}
96%lang(es) %doc DOCUMENTATION/{AUTHORS.es,CONTRIBUTORS.es,README.es}
97%lang(fr) %doc DOCUMENTATION/README.fr
98%lang(it) %doc DOCUMENTATION/README.it
99%lang(ru) %doc DOCUMENTATION/README.ru
100%attr(755,root,root) %{_bindir}/*
101%{_datadir}/%{name}
102%{_mandir}/man1/ardour.1*
103%lang(es) %{_mandir}/es/man1/ardour.1*
104%lang(fr) %{_mandir}/fr/man1/ardour.1*
105%lang(ru) %{_mandir}/ru/man1/ardour.1*
106%dir %{_sysconfdir}/ardour
107%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/ardour/*.rc
108%{_desktopdir}/ardour.desktop
This page took 0.066446 seconds and 4 git commands to generate.