From 82bea4c747ee477243e46aa2bd36415ffba9469e Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 02 2019 21:02:55 +0000 Subject: import qca2-2.0.3-7.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..141db01 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/qca-2.0.3.tar.bz2 diff --git a/.qca2.metadata b/.qca2.metadata new file mode 100644 index 0000000..15a0e4a --- /dev/null +++ b/.qca2.metadata @@ -0,0 +1 @@ +9c868b05b81dce172c41b813de4de68554154c60 SOURCES/qca-2.0.3.tar.bz2 diff --git a/SOURCES/qca-2.0.3-gcc47.patch b/SOURCES/qca-2.0.3-gcc47.patch new file mode 100644 index 0000000..5297ecb --- /dev/null +++ b/SOURCES/qca-2.0.3-gcc47.patch @@ -0,0 +1,17 @@ +--- ./src/botantools/botan/botan/secmem.h.orig 2012-01-07 20:09:35.427999593 +0100 ++++ ./src/botantools/botan/botan/secmem.h 2012-01-07 20:09:52.540001422 +0100 +@@ -214,11 +214,11 @@ + + SecureVector(u32bit n = 0) { MemoryRegion::init(true, n); } + SecureVector(const T in[], u32bit n) +- { MemoryRegion::init(true); set(in, n); } ++ { MemoryRegion::init(true); this->set(in, n); } + SecureVector(const MemoryRegion& in) +- { MemoryRegion::init(true); set(in); } ++ { MemoryRegion::init(true); this->set(in); } + SecureVector(const MemoryRegion& in1, const MemoryRegion& in2) +- { MemoryRegion::init(true); set(in1); append(in2); } ++ { MemoryRegion::init(true); this->set(in1); append(in2); } + }; + + /************************************************* diff --git a/SPECS/qca2.spec b/SPECS/qca2.spec new file mode 100644 index 0000000..bd3e4fd --- /dev/null +++ b/SPECS/qca2.spec @@ -0,0 +1,136 @@ +Name: qca2 +Version: 2.0.3 +Release: 7%{?dist} + +Summary: Qt Cryptographic Architecture + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://delta.affinix.com/qca +Source0: http://delta.affinix.com/download/qca/2.0/qca-%{version}.tar.bz2 +# Allow gcc to compile qca +Patch0: qca-2.0.3-gcc47.patch + +BuildRequires: qt4-devel + +%description +Taking a hint from the similarly-named Java Cryptography Architecture, +QCA aims to provide a straightforward and cross-platform crypto API, +using Qt datatypes and conventions. QCA separates the API from the +implementation, using plugins known as Providers. The advantage of this +model is to allow applications to avoid linking to or explicitly depending +on any particular cryptographic library. This allows one to easily change +or upgrade crypto implementations without even needing to recompile the +application! + +%package devel +Summary: Qt Cryptographic Architecture development files +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +This packages contains the development files for QCA + +%prep +%setup -q -n qca-%{version} +%patch0 -p1 + +%build +unset QTDIR +./configure \ + --prefix=%{_prefix} \ + --includedir=%{_includedir} \ + --libdir=%{_libdir} \ + --datadir=%{_datadir} \ + --no-separate-debug-info \ + --verbose + +sed -i -e /strip/d Makefile +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install INSTALL_ROOT=$RPM_BUILD_ROOT + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc COPYING README TODO +%{_bindir}/qcatool2 +%{_libdir}/*.so.* +%{_mandir}/*/* + +%files devel +%defattr(-,root,root,-) +%{_includedir}/QtCrypto +%{_libdir}/*.so +%{_libdir}/pkgconfig/qca2.pc +%{_libdir}/libqca.prl +%{_libdir}/qt4/mkspecs/features/crypto.prf + + +%changelog +* Fri Jan 24 2014 Daniel Mach - 2.0.3-7 +- Mass rebuild 2014-01-24 + +* Fri Dec 27 2013 Daniel Mach - 2.0.3-6 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Sat Jul 21 2012 Fedora Release Engineering - 2.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 07 2012 Sven Lankes - 2.0.3-3 +- Fix build with gcc 4.7.0 + +* Tue Feb 08 2011 Fedora Release Engineering - 2.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Nov 29 2010 Sven Lankes - 2.0.3-1 +- new upstream release + +* Sun Jul 26 2009 Fedora Release Engineering - 2.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue May 05 2009 Sven Lankes - 2.0.2-1 +- new upstream release - qt 4.5-compat-fixes + +* Wed Apr 08 2009 Sven Lankes - 2.0.1-1 +- new upstream release +- removed 64bit patch - now upstream + +* Wed Feb 25 2009 Fedora Release Engineering - 2.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri May 30 2008 Dennis Gilmore - 2.0.0-3 +- crypto.prf is in libdir not datadir + +* Mon Feb 18 2008 Fedora Release Engineering - 2.0.0-2 +- Autorebuild for GCC 4.3 + +* Sun Oct 21 2007 Aurelien Bompard 2.0.0-1 +- version 2.0.0 final + +* Sun Oct 21 2007 Aurelien Bompard 2.0.0-0.4.beta7 +- fix build on x86_64 + +* Sun Oct 21 2007 Aurelien Bompard 2.0.0-0.3.beta7 +- missing BR: openssl + +* Thu Sep 13 2007 Aurelien Bompard 2.0.0-0.2.beta7 +- review from bug 289681 (thanks Rex) + +* Sun Sep 09 2007 Aurelien Bompard 2.0.0-0.1.beta7 +- initial package