RPM Packaging: update arts

pull/3/head
François Andriot 10 years ago
parent 9c6fa1d291
commit c201916903

@ -33,7 +33,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
Source1: kcmartsrc-pulseaudio Source1: kcmartsrc-pulseaudio
BuildRequires: trinity-tqtinterface-devel >= %{tde_version} BuildRequires: libtqt4-devel >= 1:4.2.0-1
BuildRequires: cmake >= 2.8 BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -50,8 +50,7 @@ BuildRequires: libvorbis-devel
BuildRequires: esound-devel BuildRequires: esound-devel
# JACK support # JACK support
# Not on RHEL4 ! %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 5 || 0%{?fedora} || 0%{?suse_version}
%define with_jack 1 %define with_jack 1
%if 0%{?mgaversion} || 0%{?mdkversion} %if 0%{?mgaversion} || 0%{?mdkversion}
BuildRequires: %{_lib}jack-devel BuildRequires: %{_lib}jack-devel
@ -97,7 +96,7 @@ BuildRequires: libmad-devel
%define with_pulseaudio 1 %define with_pulseaudio 1
%endif %endif
Requires: trinity-tqtinterface >= %{tde_version} Requires: libtqt4 >= 1:4.2.0-1
Requires: audiofile Requires: audiofile
%if "%{?tde_prefix}" == "/usr" %if "%{?tde_prefix}" == "/usr"
@ -228,6 +227,7 @@ fi
-DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \ -DCMAKE_CXX_FLAGS="${RPM_OPT_FLAGS} -DNDEBUG" \
-DCMAKE_SKIP_RPATH=OFF \ -DCMAKE_SKIP_RPATH=OFF \
-DCMAKE_INSTALL_RPATH="%{tde_libdir}" \ -DCMAKE_INSTALL_RPATH="%{tde_libdir}" \
-DCMAKE_NO_BUILTIN_CHRPATH=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON \ -DCMAKE_VERBOSE_MAKEFILE=ON \
-DWITH_GCC_VISIBILITY=ON \ -DWITH_GCC_VISIBILITY=ON \
\ \

Loading…
Cancel
Save