diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-02-01 14:53:56 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-02-01 14:53:56 +0100 |
commit | 07059c25f17d89004174a0e1555a017f270374f7 (patch) | |
tree | ac9a889d674dc61a4ff5485133ad18e94d99f9f0 /redhat/tdeadmin | |
parent | cb8f9519d87272d7eb32636836e37087761ec288 (diff) | |
download | tde-packaging-07059c25f17d89004174a0e1555a017f270374f7.tar.gz tde-packaging-07059c25f17d89004174a0e1555a017f270374f7.zip |
RPM Packaging: update 3.5.13.2 packages
Diffstat (limited to 'redhat/tdeadmin')
-rw-r--r-- | redhat/tdeadmin/tdeadmin-3.5.13.2.spec | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/redhat/tdeadmin/tdeadmin-3.5.13.2.spec b/redhat/tdeadmin/tdeadmin-3.5.13.2.spec index 9947f69a8..cd36a1b5b 100644 --- a/redhat/tdeadmin/tdeadmin-3.5.13.2.spec +++ b/redhat/tdeadmin/tdeadmin-3.5.13.2.spec @@ -52,11 +52,15 @@ BuildRequires: trinity-arts-devel >= 1:1.5.10 BuildRequires: trinity-tdelibs-devel >= %{tde_version} BuildRequires: rpm-devel BuildRequires: pam-devel + %if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%define with_lilo 1 +%endif + +%if 0%{?with_lilo} BuildRequires: lilo %endif -Requires: trinity-tdeadmin = %{version}-%{release} Requires: trinity-kcron = %{version}-%{release} Requires: trinity-kdat = %{version}-%{release} Requires: %{name}-kfile-plugins = %{version}-%{release} @@ -64,7 +68,7 @@ Requires: trinity-knetworkconf = %{version}-%{release} Requires: trinity-kpackage = %{version}-%{release} Requires: trinity-ksysv = %{version}-%{release} Requires: trinity-kuser = %{version}-%{release} -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%if 0%{?with_lilo} Requires: trinity-lilo-config = %{version}-%{release} %endif @@ -84,7 +88,7 @@ kcron, kdat, knetworkconf, kpackage, ksysv, kuser. %files %defattr(-,root,root,-) # LILO is not provided in RHEL or Fedora -%if 0%{?rhel} || 0%{?fedora} +%if 0%{?with_lilo} == 0 %exclude %{tde_tdedocdir}/HTML/en/lilo-config/ %endif @@ -340,7 +344,7 @@ update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : ########## -%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?suse_version} +%if 0%{?with_lilo} %package -n trinity-lilo-config Summary: Trinity frontend for lilo configuration Group: Applications/Utilities @@ -383,7 +387,8 @@ touch /etc/lilo.conf %build -unset QTDIR || : ; . /etc/profile.d/qt3.sh +unset QTDIR QTLIB QTINC +. /etc/profile.d/qt3.sh export PATH="%{tde_bindir}:${PATH}" # Do not build against any "/usr" installed KDE @@ -391,7 +396,7 @@ export KDEDIR=%{tde_prefix} # Specific path for RHEL4 if [ -d /usr/X11R6 ]; then - export CXXFLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" + export RPM_OPT_FLAGS="${RPM_OPT_FLAGS} -I/usr/X11R6/include -L/usr/X11R6/%{_lib}" fi %configure \ @@ -415,7 +420,7 @@ fi --with-shadow \ --with-private-groups -%__make %{?_smp_mflags} +%__make %{?_smp_mflags} || %__make %install |