summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2018-11-27 21:34:48 +0100
committerFrançois Andriot <albator78@libertysurf.fr>2018-11-27 21:34:48 +0100
commita615d19df88eb2e989316b480519161945dbc7dc (patch)
tree369970b98042998b86c11024598155e037b76fec /redhat/dependencies/tqca
parent76a93e0011ade1583a1ec672f33411dfd35454f3 (diff)
downloadtde-packaging-a615d19df88eb2e989316b480519161945dbc7dc.tar.gz
tde-packaging-a615d19df88eb2e989316b480519161945dbc7dc.zip
RPM: merge redhat directory with master branch
Diffstat (limited to 'redhat/dependencies/tqca')
-rw-r--r--redhat/dependencies/tqca/tqca-14.0.0.spec18
-rw-r--r--redhat/dependencies/tqca/tqca-3.5.13.2.spec12
2 files changed, 14 insertions, 16 deletions
diff --git a/redhat/dependencies/tqca/tqca-14.0.0.spec b/redhat/dependencies/tqca/tqca-14.0.0.spec
index 4360cd56c..a6e59e772 100644
--- a/redhat/dependencies/tqca/tqca-14.0.0.spec
+++ b/redhat/dependencies/tqca/tqca-14.0.0.spec
@@ -1,5 +1,5 @@
#
-# spec file for package tqca (version R14.0.0)
+# spec file for package tqca (version R14)
#
# Copyright (c) 2014 Trinity Desktop Environment
#
@@ -12,12 +12,14 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
-# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
# TDE variables
%define tde_epoch 2
+%if "%{?tde_version}" == ""
%define tde_version 14.0.0
+%endif
%define tde_pkg tqca
%define tde_prefix /opt/trinity
%define tde_includedir %{tde_prefix}/include
@@ -33,7 +35,7 @@
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 1.0
-Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant}
+Release: %{?tde_version}_%{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}
Summary: TQt Cryptographic Architecture
Group: Development/Libraries/C and C++
URL: http://www.trinitydesktop.org/
@@ -148,12 +150,18 @@ unset QTDIR QTINC QTLIB
--qtdir=/usr \
--debug
+
+# Workaround strange tqmake behaviour in RHEL5
+%if 0%{?rhel} == 5
+%__sed -i "Makefile" -e "s|..\/..\/..\/..|%{_prefix}|g"
+%endif
+
%__make %{?_smp_mflags}
%install
%__rm -rf $RPM_BUILD_ROOT
-%__make install INSTALL_ROOT=$RPM_BUILD_ROOT
+%__make install INSTALL_ROOT="${RPM_BUILD_ROOT}/"
%clean
@@ -161,5 +169,3 @@ unset QTDIR QTINC QTLIB
%changelog
-* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 2:1.0-1
-- Initial release for TDE 14.0.0
diff --git a/redhat/dependencies/tqca/tqca-3.5.13.2.spec b/redhat/dependencies/tqca/tqca-3.5.13.2.spec
index 2c6567fd3..629131436 100644
--- a/redhat/dependencies/tqca/tqca-3.5.13.2.spec
+++ b/redhat/dependencies/tqca/tqca-3.5.13.2.spec
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
-# Please submit bugfixes or comments via http:/www.trinitydesktop.org/
+# Please submit bugfixes or comments via http://www.trinitydesktop.org/
#
# TDE variables
@@ -33,7 +33,7 @@
Name: trinity-%{tde_pkg}
Epoch: %{tde_epoch}
Version: 1.0
-Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant}
+Release: %{?!preversion:4}%{?preversion:0_%{preversion}}%{?dist}
Summary: TQt Cryptographic Architecture
Group: Development/Libraries/C and C++
URL: http://www.trinitydesktop.org/
@@ -162,11 +162,3 @@ unset QTDIR QTINC QTLIB
%changelog
-* Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3
-- Build for Fedora 19
-
-* Thu Jun 27 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-2
-- Renames TQCA to QCA in source code
-
-* Mon Jun 03 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-1
-- Initial release for TDE 3.5.13.2