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