2024-01-06 05:28:57 +01:00
|
|
|
%define majorminor %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: libqca
|
2024-01-06 05:28:59 +01:00
|
|
|
Version: 2.3.4
|
2024-01-06 05:28:57 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:28:57 +01:00
|
|
|
Summary: Qt Cryptographic Architecture (QCA)
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 05:28:59 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://userbase.kde.org/QCA
|
2024-01-06 05:28:57 +01:00
|
|
|
Source: https://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz
|
2024-01-06 05:28:57 +01:00
|
|
|
Patch0: qca-2.0.3-gcc-4.7.patch
|
2024-01-06 05:28:57 +01:00
|
|
|
Patch1: libqca-2.1.0.3-qt5-5.5.patch
|
2024-01-06 05:28:57 +01:00
|
|
|
Patch2: libqca-2.1.0.3-use-Q_SLOT-and-Q_SIGNAL.patch
|
2024-01-06 05:28:57 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:28:59 +01:00
|
|
|
%ifnarch arm
|
|
|
|
BuildRequires: libbotan-devel
|
|
|
|
%endif
|
2024-01-06 05:28:57 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 05:28:57 +01:00
|
|
|
BuildRequires: libgcrypt-devel
|
|
|
|
BuildRequires: libgpg-error-devel
|
|
|
|
BuildRequires: libnspr-devel
|
|
|
|
BuildRequires: libnss-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: libsasl2-devel
|
2024-01-06 05:28:57 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 05:28:59 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
2024-01-06 05:28:57 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
%package qt5
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Qt Cryptographic Architecture (QCA)
|
|
|
|
|
|
|
|
%description qt5
|
|
|
|
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.
|
|
|
|
|
|
|
|
%package qt5-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}-qt5
|
|
|
|
Requires: %{name}-qt5 = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description qt5-devel
|
|
|
|
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.
|
2024-01-06 05:28:59 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 05:28:57 +01:00
|
|
|
|
2024-01-06 05:28:58 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
%prep
|
2024-01-06 05:28:57 +01:00
|
|
|
%setup -q -n qca-%{version}
|
2024-01-06 05:28:57 +01:00
|
|
|
#%patch0 -p1
|
2024-01-06 05:28:57 +01:00
|
|
|
#%patch1 -p1
|
|
|
|
#%patch2 -p1
|
2024-01-06 05:28:57 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:28:57 +01:00
|
|
|
%cmake -d build \
|
2024-01-06 05:28:57 +01:00
|
|
|
-DBUILD_TESTS=OFF \
|
2024-01-06 05:28:59 +01:00
|
|
|
-DQCA_INSTALL_IN_QT_PREFIX=ON \
|
2024-01-06 05:28:57 +01:00
|
|
|
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-narrowing"
|
2024-01-06 05:28:57 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 05:28:57 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 05:28:57 +01:00
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
%post qt5 -p /sbin/ldconfig
|
|
|
|
%postun qt5 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files qt5
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:28:59 +01:00
|
|
|
%{_libdir}/qt5/bin/mozcerts-qt5
|
|
|
|
%{_libdir}/qt5/bin/qcatool-qt5
|
|
|
|
%{_libdir}/qt5/mkspecs/features/crypto.prf
|
2024-01-06 05:28:57 +01:00
|
|
|
%{_qt5_libdir}/libqca-qt5.so.*
|
2024-01-06 05:28:59 +01:00
|
|
|
%{_libdir}/qt5/plugins/crypto/libqca-*.so
|
|
|
|
%{_datadir}/qt5/man/man1/qcatool-qt5.1
|
2024-01-06 05:28:57 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files qt5-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:28:59 +01:00
|
|
|
%dir %{_includedir}/qt5/Qca-qt5
|
|
|
|
%{_includedir}/qt5/Qca-qt5/*
|
2024-01-06 05:28:57 +01:00
|
|
|
%{_qt5_libdir}/libqca-qt5.so
|
|
|
|
%dir %{_libdir}/cmake/Qca-qt5
|
|
|
|
%{_libdir}/cmake/Qca-qt5/Qca-qt5Config.cmake
|
|
|
|
%{_libdir}/cmake/Qca-qt5/Qca-qt5ConfigVersion.cmake
|
|
|
|
%{_libdir}/cmake/Qca-qt5/Qca-qt5Targets-noconfig.cmake
|
|
|
|
%{_libdir}/cmake/Qca-qt5/Qca-qt5Targets.cmake
|
|
|
|
%{_libdir}/pkgconfig/qca2-qt5.pc
|
2024-01-06 05:28:58 +01:00
|
|
|
#%doc README TODO
|
2024-01-06 05:28:57 +01:00
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
%changelog
|
2024-01-06 05:28:59 +01:00
|
|
|
* Tue Dec 07 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.4-1mamba
|
|
|
|
- update to 2.3.4
|
|
|
|
|
2024-01-06 05:28:58 +01:00
|
|
|
* Mon Jul 06 2020 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Tue Mar 03 2020 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
|
|
|
|
- update to 2.2.1
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Sun Sep 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
|
|
|
|
- update to 2.1.3
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Fri Jul 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.3-3mamba
|
|
|
|
- upstream headers patch to use Q_SLOT and Q_SIGNAL
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Wed Dec 23 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.3-2mamba
|
|
|
|
- patched to fix missing qt5 include in header
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0.3-1mamba
|
|
|
|
- update to 2.1.0.3
|
|
|
|
|
|
|
|
* Sun Aug 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-3mamba
|
|
|
|
- added qt5 subpackages
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Wed Feb 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-2mamba
|
|
|
|
- force qt4 build or it breaks kde4 plasma
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Fri Nov 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
|
|
|
|
- update to 2.1.0
|
|
|
|
|
2024-01-06 05:28:57 +01:00
|
|
|
* Thu Jan 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-2mamba
|
|
|
|
- added gcc 4.7 build patch
|
|
|
|
|
|
|
|
* Wed Dec 01 2010 Automatic Build System <autodist@mambasoft.it> 2.0.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 30 2009 Automatic Build System <autodist@mambasoft.it> 2.0.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Oct 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.1-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Aug 29 2008 Aleph0 <aleph0@openmamba.org> 2.0.1-1mamba
|
|
|
|
- package created by autospec
|