summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/arts/arts-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-11 12:15:57 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-11 12:15:57 +0200
commitfa814aeacb589fdd40166e799e93fed42e43c9c9 (patch)
treeb26888e76a15de626645cb3fd7d3986f3490b79c /redhat/dependencies/arts/arts-14.0.0.spec
parente0568ac6b074ec72e6bdb4b0ab5fc5e0794ca6f9 (diff)
downloadtde-packaging-fa814aeacb589fdd40166e799e93fed42e43c9c9.tar.gz
tde-packaging-fa814aeacb589fdd40166e799e93fed42e43c9c9.zip
RPM packaging: cleanup arts
Diffstat (limited to 'redhat/dependencies/arts/arts-14.0.0.spec')
-rw-r--r--redhat/dependencies/arts/arts-14.0.0.spec17
1 files changed, 9 insertions, 8 deletions
diff --git a/redhat/dependencies/arts/arts-14.0.0.spec b/redhat/dependencies/arts/arts-14.0.0.spec
index cee5c0bae..96513bfed 100644
--- a/redhat/dependencies/arts/arts-14.0.0.spec
+++ b/redhat/dependencies/arts/arts-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package arts
+# spec file for package arts (version R14.0.0)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@@ -20,8 +20,9 @@
# Having KDE libraries may cause FTBFS here !
# TDE variables
+%define tde_epoch 2
%define tde_version 14.0.0
-%define tde_pkg tdeaddons
+%define tde_pkg arts
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
@@ -39,10 +40,10 @@
%endif
-Name: trinity-arts
-Epoch: 2
+Name: trinity-%{tde_pkg}
+Epoch: %{tde_epoch}
Version: 1.5.10
-Release: %{?!preversion:2}%{?preversion:1_%{preversion}}%{?dist}%{?_variant}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
Summary: ARTS (analog realtime synthesizer) - the TDE sound system
Group: System Environment/Daemons
URL: http://www.trinitydesktop.org/
@@ -61,7 +62,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
-BuildRequires: libtqt4-devel >= 2:4.2.0
+BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0
BuildRequires: trinity-filesystem >= %{tde_version}
Requires: trinity-filesystem >= %{tde_version}
@@ -80,7 +81,7 @@ BuildRequires: libvorbis-devel
BuildRequires: esound-devel
# JACK support
-%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version}
+%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?fedora} || 0%{?suse_version} [[ 0%{?with_jack}
%define with_jack 1
%if 0%{?mgaversion} || 0%{?mdkversion}
%define jack_devel %{_lib}jack-devel
@@ -128,7 +129,7 @@ BuildRequires: %{mad_devel}
%define with_pulseaudio 1
%endif
-Requires: libtqt4 >= 2:4.2.0
+Requires: libtqt4 >= %{tde_epoch}:4.2.0
Requires: audiofile
%if "%{?tde_prefix}" == "/usr"