Summary(pl.UTF-8): Wielościeżkowy magnetofon nagrywający na twardym dysku
Name: ardour
Version: 2.1
-Release: 0.1
+Release: 0.2
License: GPL
Group: X11/Applications/Sound
Source0: http://ardour.org/files/releases/%{name}-%{version}.tar.bz2
URL: http://ardour.org/
BuildRequires: alsa-lib-devel >= 0.9.0
BuildRequires: boost-devel
-BuildRequires: gettext-devel
-# included libsndfile needs patch (wants FLAC__seekable_stream_decoder_set_read_callback)
-# (in ardour itself only one UI option depends on HAVE_FLAC)
BuildRequires: cairomm-devel
BuildRequires: fftw3-single-devel >= 3
BuildRequires: flac-devel
+BuildRequires: gettext-devel
BuildRequires: glib2-devel >= 1:2.10.1
BuildRequires: gtk+2-devel >= 2:2.8.1
BuildRequires: gtkmm-devel >= 2.8.0
BuildRequires: libraptor-devel >= 1.4.2
BuildRequires: libsamplerate-devel >= 0.1.2
BuildRequires: libsigc++-devel >= 2.0
+# included libsndfile needs patch (wants FLAC__seekable_stream_decoder_set_read_callback)
+# (in ardour itself only one UI option depends on HAVE_FLAC)
# internal one used
#BuildRequires: libsndfile-devel >= 1.0.0
BuildRequires: libstdc++-devel
echo "You need to have /proc mounted in order to build this package!"
exit 1
fi
+
+CXX="%{__cxx}" \
+CC="%{__cc}" \
%scons \
PREFIX=%{_prefix} \
SYSLIBS=1 \
%endif
%install
+# Make sure we have /proc mounted - it searches for flags from there
+if [ ! -f /proc/cpuinfo ]; then
+ echo "You need to have /proc mounted in order to build this package!"
+ exit 1
+fi
+
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_desktopdir}
+install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
%scons install \
DESTDIR=$RPM_BUILD_ROOT \
# KSI=yes
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+cp -a gtk2_ardour/icons/ardour_icon_48px.png $RPM_BUILD_ROOT%{_pixmapsdir}/ardour.png
# it shouldn't be there
rm -f $RPM_BUILD_ROOT%{_datadir}/ardour/libardour.{la,a}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc DOCUMENTATION/{AUTHORS,CONTRIBUTORS,FAQ,README,TODO,TRANSLATORS}
+%doc DOCUMENTATION/{AUTHORS,CONTRIBUTORS,FAQ,TRANSLATORS}
%lang(es) %doc DOCUMENTATION/{AUTHORS.es,CONTRIBUTORS.es,README.es}
%lang(fr) %doc DOCUMENTATION/README.fr
%lang(it) %doc DOCUMENTATION/README.it
%attr(755,root,root) %{_bindir}/ardour2
%{_datadir}/ardour2
%{_desktopdir}/ardour.desktop
+%{_pixmapsdir}/ardour.png
%dir %{_libdir}/ardour2
%attr(755,root,root) %{_libdir}/ardour2/ardour-2.1