summaryrefslogtreecommitdiffstats
path: root/redhat/tdeadmin
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-08-03 14:39:58 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-08-03 14:39:58 +0200
commit5ce995a0b7e581b049f2366baf6b55946ca98a18 (patch)
tree1d2e5f5816a67d1352082a01da0f700eccc813a9 /redhat/tdeadmin
parent5b9c5354a7a6d4dec713c4d5e8ca5da912cd980b (diff)
downloadtde-packaging-5ce995a0b7e581b049f2366baf6b55946ca98a18.tar.gz
tde-packaging-5ce995a0b7e581b049f2366baf6b55946ca98a18.zip
RPM Packaging: update main packages
Diffstat (limited to 'redhat/tdeadmin')
-rw-r--r--redhat/tdeadmin/tdeadmin-14.0.0.spec51
1 files changed, 29 insertions, 22 deletions
diff --git a/redhat/tdeadmin/tdeadmin-14.0.0.spec b/redhat/tdeadmin/tdeadmin-14.0.0.spec
index 6dd536065..2059e2000 100644
--- a/redhat/tdeadmin/tdeadmin-14.0.0.spec
+++ b/redhat/tdeadmin/tdeadmin-14.0.0.spec
@@ -3,7 +3,9 @@
%define _variant .opt
%endif
-# TDE 3.5.13 specific building variables
+%define tde_version 14.0.0
+
+# TDE specific building variables
%define tde_bindir %{tde_prefix}/bin
%define tde_sbindir %{tde_prefix}/sbin
%define tde_datadir %{tde_prefix}/share
@@ -21,7 +23,7 @@
Name: trinity-tdeadmin
Summary: Administrative tools for TDE
-Version: 14.0.0
+Version: %{tde_version}
Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
License: GPLv2
@@ -45,9 +47,9 @@ Source6: ksysvrc
Source7: kuserrc
BuildRequires: autoconf automake libtool m4
-BuildRequires: trinity-tqtinterface-devel >= %{version}
-BuildRequires: trinity-arts-devel >= %{version}
-BuildRequires: trinity-tdelibs-devel >= %{version}
+BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
+BuildRequires: trinity-arts-devel >= %{tde_version}
+BuildRequires: trinity-tdelibs-devel >= %{tde_version}
BuildRequires: rpm-devel
BuildRequires: pam-devel
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version}
@@ -391,23 +393,28 @@ if [ -d /usr/X11R6 ]; then
fi
%configure \
- --prefix=%{tde_prefix} \
- --exec-prefix=%{tde_prefix} \
- --bindir=%{tde_bindir} \
- --sbindir=%{tde_sbindir} \
- --libdir=%{tde_libdir} \
- --datadir=%{tde_datadir} \
- --includedir=%{tde_tdeincludedir} \
- --enable-new-ldflags \
- --disable-dependency-tracking \
- --disable-rpath \
- --with-rpm \
- --with-pam=kde \
- --with-shadow \
- --with-private-groups \
- --enable-final \
- --enable-closure \
- --with-private-groups
+ --prefix=%{tde_prefix} \
+ --exec-prefix=%{tde_prefix} \
+ --bindir=%{tde_bindir} \
+ --sbindir=%{tde_sbindir} \
+ --libdir=%{tde_libdir} \
+ --datadir=%{tde_datadir} \
+ --includedir=%{tde_tdeincludedir} \
+ \
+ --disable-dependency-tracking \
+ --disable-debug \
+ --enable-new-ldflags \
+ --enable-final \
+ --enable-closure \
+ --disable-rpath \
+ --enable-gcc-hidden-visibility \
+ \
+ --with-extra-includes=%{tde_includedir}/tqt \
+ \
+ --with-rpm \
+ --with-pam=kde \
+ --with-shadow \
+ --with-private-groups
%__make %{?_smp_mflags}