summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/tdebase-14.0.0.spec
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-10-10 23:32:42 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-10-10 23:32:42 +0200
commit92ba212f91f6654fd182a7429408be35679020ef (patch)
tree024a801cb59ffd5e7e80244b1ae2c1a8be92bc78 /redhat/tdebase/tdebase-14.0.0.spec
parent139ae8cb8c30774a4b8258c8eb9b224b02aa984e (diff)
parent4a4ab6e8f86128427977e05839022ff98c992a29 (diff)
downloadtde-packaging-92ba212f91f6654fd182a7429408be35679020ef.tar.gz
tde-packaging-92ba212f91f6654fd182a7429408be35679020ef.zip
RPM Packaging: update packages R14
Diffstat (limited to 'redhat/tdebase/tdebase-14.0.0.spec')
-rw-r--r--redhat/tdebase/tdebase-14.0.0.spec51
1 files changed, 29 insertions, 22 deletions
diff --git a/redhat/tdebase/tdebase-14.0.0.spec b/redhat/tdebase/tdebase-14.0.0.spec
index 857654c63..1934eab27 100644
--- a/redhat/tdebase/tdebase-14.0.0.spec
+++ b/redhat/tdebase/tdebase-14.0.0.spec
@@ -1,7 +1,7 @@
#
# spec file for package tdebase
#
-# Copyright (c) 2014 François Andriot <francois.andriot@free.fr>
+# Copyright (c) 2014 Trinity Desktop Environment
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
# TDE variables
%define tde_version 14.0.0
+%define tde_pkg tdebase
%define tde_prefix /opt/trinity
%define tde_bindir %{tde_prefix}/bin
%define tde_datadir %{tde_prefix}/share
@@ -34,17 +35,17 @@
%endif
-Name: trinity-tdebase
-Version: %{tde_version}
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
-Summary: Trinity Base Programs
-Group: User Interface/Desktops
-URL: http://www.trinitydesktop.org/
+Name: trinity-%{tde_pkg}
+Version: %{tde_version}
+Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Summary: Trinity Base Programs
+Group: User Interface/Desktops
+URL: http://www.trinitydesktop.org/
%if 0%{?suse_version}
-License: GPL-2.0+
+License: GPL-2.0+
%else
-License: GPLv2+
+License: GPLv2+
%endif
#Vendor: Trinity Desktop
@@ -53,14 +54,14 @@ License: GPLv2+
Prefix: %{tde_prefix}
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
+Source0: %{name}-%{version}%{?preversion:~%{preversion}}.tar.gz
# Pam configuration files for RHEL / Fedora
%if 0%{?suse_version} == 0
-Source2: pamd.kdm-trinity%{?dist}
-Source3: pamd.kdm-trinity-np%{?dist}
-Source4: pamd.kcheckpass-trinity%{?dist}
-Source5: pamd.kscreensaver-trinity%{?dist}
+Source2: pamd.kdm-trinity%{?dist}
+Source3: pamd.kdm-trinity-np%{?dist}
+Source4: pamd.kcheckpass-trinity%{?dist}
+Source5: pamd.kscreensaver-trinity%{?dist}
%endif
# openSUSE: configuration file for TDM
@@ -68,12 +69,12 @@ Source6: suse-displaymanagers-tdm
# Fedora 18: use SYSTEMD for TDM startup
%if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
-Source7: tdm.service%{?dist}
+Source7: tdm.service%{?dist}
%endif
# openSUSE 11.4: overwrite distribution-provided '/etc/init.d/xdm' !!!
%if 0%{?suse_version} == 1140
-Source7: xdm.oss114
+Source7: xdm.oss114
%endif
# Fedora >= 17: special selinux policy required for TDM
@@ -401,11 +402,17 @@ BuildRequires: lm_sensors-devel
BuildRequires: libsensors4-devel
%endif
-# TSAK support (requires libudev-devel)
+# UDEV support (requires libudev)
# On RHEL5, udev is built statically, so TSAK cannot build.
-%if 0%{?fedora} >= 15 || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
-%define with_tsak 1
+%if 0%{?fedora} || 0%{?mgaversion} || 0%{?mdkversion} || 0%{?rhel} >= 6 || 0%{?suse_version}
BuildRequires: libudev-devel
+%define with_tsak 1
+%define with_tdehwlib 1
+%endif
+
+# HAL support
+%if 0%{?rhel} == 5
+%define with_hal 1
%endif
# XRANDR support
@@ -3561,14 +3568,14 @@ fi
-DWITH_LIBRAW1394=ON \
-DWITH_SUDO_TDESU_BACKEND=OFF \
-DWITH_PAM=ON \
- -DWITH_SHADOW=ON \
+ -DWITH_SHADOW=OFF \
-DWITH_XDMCP=ON \
-DWITH_XINERAMA=ON \
-DWITH_ARTS=ON \
-DWITH_I8K=ON \
-DWITH_SENSORS=ON \
- -DWITH_HAL=OFF \
- -DWITH_TDEHWLIB=ON \
+ %{?with_hal:-DWITH_HAL=ON} \
+ %{?!with_tdehwlib:-DWITH_TDEHWLIB=OFF} \
-DWITH_ELFICON=OFF \
-DWITH_UPOWER=ON \
\