diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-11-08 00:17:53 +0100 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-11-08 00:17:53 +0100 |
commit | 931d5e4ddadb090afae575c910adfa7a384709d0 (patch) | |
tree | 6ab88680678931f7f4d07b76e1fcb61d80b8324b /redhat | |
parent | 9391a599fe5dcfd99be3e58b27009baf41b083f0 (diff) | |
download | tde-packaging-931d5e4ddadb090afae575c910adfa7a384709d0.tar.gz tde-packaging-931d5e4ddadb090afae575c910adfa7a384709d0.zip |
RPM packaging: update tqca-tls
Diffstat (limited to 'redhat')
-rw-r--r-- | redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec | 99 | ||||
-rw-r--r-- | redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec | 113 | ||||
-rw-r--r-- | redhat/dependencies/tqca/tqca-3.5.13.2.spec | 11 |
3 files changed, 143 insertions, 80 deletions
diff --git a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec index 3fe36ac35..8d83d09de 100644 --- a/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec +++ b/redhat/dependencies/tqca-tls/tqca-tls-14.0.0.spec @@ -1,37 +1,61 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - +# +# spec file for package tqca-tls (version R14.0.0) +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + +# TDE variables +%define tde_epoch 2 %define tde_version 14.0.0 - -%define tde_bindir %{tde_prefix}/bin +%define tde_pkg tqca-tls +%define tde_prefix /opt/trinity %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share -%define tde_tdeincludedir %{tde_includedir}/tde +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt3 %{_lib}tqt3 +%else +%define libtqt3 libtqt3 +%endif -%define _docdir %{tde_datadir}/doc -Name: trinity-tqca-tls -Version: 1.0 -Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?!preversion:1}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet +URL: http://delta.affinix.com/qca/ -Summary: TLS plugin for the TQt Cryptographic Architecture -License: LGPLv2+ -Group: Applications/Internet +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif -URL: http://delta.affinix.com/qca/ -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +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: trinity-tqca-devel >= 1.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: libtqca-devel >= %{tde_epoch}:1.0 + +BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 0.9.8 @@ -43,6 +67,23 @@ contains the TLS plugin. ########## +%package -n %{libtqt3}-mt-tqca-tls +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet + +%description -n %{libtqt3}-mt-tqca-tls +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +%files -n %{libtqt3}-mt-tqca-tls +%defattr(0644,root,root,0755) +%doc README COPYING +%{_libdir}/tqt3/plugins/crypto/libtqca-tls.so + +########## + %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif @@ -54,12 +95,10 @@ contains the TLS plugin. %build -unset QTDIR -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" +unset QTDIR QTINC QTLIB ./configure \ - --qtdir=/usr + --qtdir=%{_prefix} %__make %{?_smp_mflags} @@ -73,12 +112,6 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" %__rm -rf %{?buildroot} -%files -%defattr(0644,root,root,0755) -%doc README COPYING -%{_libdir}/tqt3/plugins/crypto/libtqca-tls.so - - %changelog -* Fri Jul 05 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3 +* 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-tls/tqca-tls-3.5.13.2.spec b/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec index 1bfb9bdce..808415d93 100644 --- a/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec +++ b/redhat/dependencies/tqca-tls/tqca-tls-3.5.13.2.spec @@ -1,38 +1,61 @@ -# If TDE is built in a specific prefix (e.g. /opt/trinity), the release will be suffixed with ".opt". -%if "%{?tde_prefix}" != "/usr" -%define _variant .opt -%endif - +# +# spec file for package tqca-tls (version 3.5.13-SRU) +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + +# TDE variables +%define tde_epoch 1 %define tde_version 3.5.13.2 - -%define tde_bindir %{tde_prefix}/bin +%define tde_pkg tqca-tls +%define tde_prefix /opt/trinity %define tde_includedir %{tde_prefix}/include %define tde_libdir %{tde_prefix}/%{_lib} -%define tde_datadir %{tde_prefix}/share -%define tde_tdeincludedir %{tde_includedir}/tde +%if 0%{?mdkversion} || 0%{?mgaversion} || 0%{?pclinuxos} +%define libtqt3 %{_lib}tqt3 +%else +%define libtqt3 libtqt3 +%endif -%define _docdir %{tde_datadir}/doc -Name: trinity-tqca-tls -Version: 1.0 -Release: %{?!preversion:3}%{?preversion:2_%{preversion}}%{?dist}%{?_variant} +Name: trinity-%{tde_pkg} +Epoch: %{tde_epoch} +Version: 1.0 +Release: %{?!preversion:4}%{?preversion:0_%{preversion}}%{?dist}%{?_variant} +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet +URL: http://delta.affinix.com/qca/ -Summary: TLS plugin for the TQt Cryptographic Architecture -License: LGPLv2+ -Group: Applications/Internet +%if 0%{?suse_version} +License: GPL-2.0+ +%else +License: GPLv2+ +%endif -URL: http://delta.affinix.com/qca/ -Vendor: Trinity Project -Packager: Francois Andriot <francois.andriot@free.fr> +#Vendor: Trinity Desktop +#Packager: Francois Andriot <francois.andriot@free.fr> -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Prefix: %{_prefix} +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: tqca-tls-3.5.13.2.tar.gz -BuildRequires: qt3-devel >= 3.3.8.d -BuildRequires: trinity-tqtinterface-devel >= %{tde_version} -BuildRequires: trinity-tqca-devel >= 1.0 +BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 +BuildRequires: libtqca-devel >= %{tde_epoch}:1.0 + +BuildRequires: gcc-c++ BuildRequires: openssl-devel >= 0.9.8 @@ -44,7 +67,32 @@ contains the TLS plugin. ########## -%if 0%{?suse_version} || 0%{?pclinuxos} +%package -n %{libtqt3}-mt-tqca-tls +Summary: TLS plugin for the TQt Cryptographic Architecture +Group: Applications/Internet + +%description -n %{libtqt3}-mt-tqca-tls +This is a plugin to provide SSL/TLS capability to programs that use the TQt +Cryptographic Architecture (TQCA). TQCA is a library providing an easy API +for several cryptographic algorithms to TQt programs. This package only +contains the TLS plugin. + +%files -n %{libtqt3}-mt-tqca-tls +%defattr(0644,root,root,0755) +%doc README COPYING +%if 0%{?mgaversion} || 0%{?mdkversion} +%{_libdir}/qt3/plugins/crypto/libqca-tls.so +%endif +%if 0%{?suse_version} +%{_usr}/lib/qt3/plugins/crypto/libqca-tls.so +%endif +%if 0%{?rhel} || 0%{?fedora} +%{_libdir}/qt-3.3/plugins/crypto/libqca-tls.so +%endif + +########## + +%if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 %debug_package %endif @@ -57,9 +105,6 @@ contains the TLS plugin. %build unset QTDIR QTINC QTLIB . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export LDFLAGS="-L%{tde_libdir} -I%{tde_includedir}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" ./configure %__make %{?_smp_mflags} @@ -74,20 +119,6 @@ export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" %__rm -rf %{?buildroot} -%files -%defattr(0644,root,root,0755) -%doc README COPYING -%if 0%{?mgaversion} || 0%{?mdkversion} -%{_libdir}/qt3/plugins/crypto/libqca-tls.so -%endif -%if 0%{?suse_version} -%{_usr}/lib/qt3/plugins/crypto/libqca-tls.so -%endif -%if 0%{?rhel} || 0%{?fedora} -%{_libdir}/qt-3.3/plugins/crypto/libqca-tls.so -%endif - - %changelog * Fri Aug 16 2013 Francois Andriot <francois.andriot@free.fr> - 1.0-3 - Build for Fedora 19 diff --git a/redhat/dependencies/tqca/tqca-3.5.13.2.spec b/redhat/dependencies/tqca/tqca-3.5.13.2.spec index 00035feb2..661002b78 100644 --- a/redhat/dependencies/tqca/tqca-3.5.13.2.spec +++ b/redhat/dependencies/tqca/tqca-3.5.13.2.spec @@ -35,7 +35,7 @@ Epoch: %{tde_epoch} Version: 1.0 Release: %{?!preversion:4}%{?preversion:3_%{preversion}}%{?dist}%{?_variant} Summary: TQt Cryptographic Architecture -Group: System Environment/Libraries +Group: Development/Libraries/C and C++ URL: http://www.trinitydesktop.org/ %if 0%{?suse_version} @@ -51,9 +51,10 @@ Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: tqca-3.5.13.2.tar.gz +Source1: %{name}-rpmlintrc BuildRequires: libtqt4-devel >= %{tde_epoch}:4.2.0 - +BuildRequires: gcc-c++ %description Taking a hint from the similarly-named Java Cryptography Architecture, @@ -69,7 +70,7 @@ application! %package -n %{libtqca}1 Summary: TQt Cryptographic Architecture -Group: System Environment/Libraries +Group: Development/Libraries/C and C++ Obsoletes: trinity-libtqca < %{?epoch:%{epoch}:}%{version}-%{release} Provides: trinity-libtqca = %{?epoch:%{epoch}:}%{version}-%{release} @@ -103,7 +104,7 @@ application! %package -n %{libtqca}-devel Summary: TQt Cryptographic Architecture development files -Group: Development/Libraries +Group: Development/Libraries/C and C++ Requires: %{libtqca}1 = %{?epoch:%{epoch}:}%{version}-%{release} Obsoletes: trinity-libtqca-devel < %{?epoch:%{epoch}:}%{version}-%{release} @@ -142,8 +143,6 @@ perl -pi -e 's,target\.path=\$PREFIX/lib,target.path=\$PREFIX/%{_lib},g' qcextra %build unset QTDIR QTINC QTLIB . /etc/profile.d/qt3.sh -export PATH="%{tde_bindir}:${PATH}" -export PKG_CONFIG_PATH="%{tde_libdir}/pkgconfig:${PKG_CONFIG_PATH}" ./configure \ --prefix=%{_prefix} \ |