automatic version update by autodist [release 2.3.1-1mamba;Mon Jul 06 2020]
This commit is contained in:
parent
ee87fce2ef
commit
80e0c1a207
107
libqca.spec
107
libqca.spec
@ -1,7 +1,7 @@
|
||||
%define majorminor %(echo %version | cut -d. -f 1-2)
|
||||
|
||||
Name: libqca
|
||||
Version: 2.2.1
|
||||
Version: 2.3.1
|
||||
Release: 1mamba
|
||||
Summary: Qt Cryptographic Architecture (QCA)
|
||||
Group: System/Libraries
|
||||
@ -34,16 +34,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
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 devel
|
||||
Group: Development/Libraries
|
||||
Summary: Static libraries and headers for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description 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.
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%package qt5
|
||||
Group: System/Libraries
|
||||
Summary: Qt Cryptographic Architecture (QCA)
|
||||
@ -62,6 +52,8 @@ Taking a hint from the similarly-named Java Cryptography Architecture, QCA aims
|
||||
|
||||
This package contains static libraries and header files need for development.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n qca-%{version}
|
||||
#%patch0 -p1
|
||||
@ -70,109 +62,60 @@ This package contains static libraries and header files need for development.
|
||||
|
||||
%build
|
||||
%cmake -d build \
|
||||
-DQT4_BUILD=ON \
|
||||
|
||||
|
||||
%make
|
||||
|
||||
cd ..
|
||||
|
||||
%cmake -d build-qt5 \
|
||||
-DQT4_BUILD=OFF \
|
||||
-DQCA_SUFFIX=qt5 \
|
||||
-DBUILD_TESTS=OFF \
|
||||
-DQCA_INSTALL_IN_QT_PREFIX=ON \
|
||||
-DCMAKE_CXX_FLAGS="%{optflags} -Wno-narrowing"
|
||||
|
||||
# -DQCA_INSTALL_IN_QT_PREFIX=ON \
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall -C build-qt5
|
||||
%makeinstall -C build
|
||||
|
||||
#make install INSTALL_ROOT=%{buildroot}
|
||||
|
||||
#install -d %{buildroot}%{_mandir}/man1
|
||||
#mv %{buildroot}%{_qt4_datadir}/man/man1/qcatool2.1 \
|
||||
# %{buildroot}%{_mandir}/man1/qcatool2.1
|
||||
|
||||
rm -f %{buildroot}%{_qt4_libdir}/libqca.so.*.debug
|
||||
rm -f %{buildroot}%{_qt4_bindir}/qcatool2.debug
|
||||
# FIXME
|
||||
rm -fr %{buildroot}%{_qt4_datadir}/qca/certs
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post qt5 -p /sbin/ldconfig
|
||||
%postun qt5 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/mozcerts
|
||||
%{_bindir}/qcatool
|
||||
%{_qt4_libdir}/libqca.so.*
|
||||
%dir %{_libdir}/qca
|
||||
%dir %{_libdir}/qca/crypto
|
||||
%{_libdir}/qca/crypto/libqca-cyrus-sasl.so
|
||||
%{_libdir}/qca/crypto/libqca-gcrypt.so
|
||||
%{_libdir}/qca/crypto/libqca-gnupg.so
|
||||
%{_libdir}/qca/crypto/libqca-logger.so
|
||||
%{_libdir}/qca/crypto/libqca-nss.so
|
||||
%{_libdir}/qca/crypto/libqca-ossl.so
|
||||
%{_libdir}/qca/crypto/libqca-softstore.so
|
||||
%{_mandir}/man1/qcatool*
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/QtCrypto
|
||||
%{_includedir}/QtCrypto/*
|
||||
%dir %{_libdir}/cmake/Qca
|
||||
%{_libdir}/cmake/Qca/QcaConfig.cmake
|
||||
%{_libdir}/cmake/Qca/QcaConfigVersion.cmake
|
||||
%{_libdir}/cmake/Qca/QcaTargets-noconfig.cmake
|
||||
%{_libdir}/cmake/Qca/QcaTargets.cmake
|
||||
/usr/mkspecs/features/crypto.prf
|
||||
%{_qt4_libdir}/libqca.so
|
||||
%{_libdir}/pkgconfig/qca2.pc
|
||||
%doc README TODO
|
||||
|
||||
%files qt5
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/qt5/bin/mozcerts-qt5
|
||||
%{_libdir}/qt5/bin/qcatool-qt5
|
||||
%{_bindir}/mozcerts-qt5
|
||||
%{_bindir}/qcatool-qt5
|
||||
%dir %{_libdir}/qca-qt5/crypto
|
||||
%{_libdir}/qca-qt5/crypto/libqca-*.so
|
||||
%{_qt5_libdir}/libqca-qt5.so.*
|
||||
%dir %{_libdir}/qt5/plugins/crypto
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-cyrus-sasl.so
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-gcrypt.so
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-gnupg.so
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-logger.so
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-nss.so
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-ossl.so
|
||||
%{_libdir}/qt5/plugins/crypto/libqca-softstore.so
|
||||
%{_datadir}/qt5/man/man1/qcatool-qt5.1
|
||||
#%dir %{_libdir}/qt5/plugins/crypto
|
||||
#%{_libdir}/qt5/plugins/crypto/libqca-*.so
|
||||
#%{_datadir}/qt5/man/man1/qcatool-qt5.1
|
||||
%{_mandir}/man1/qcatool-qt5.1*
|
||||
%doc COPYING
|
||||
|
||||
%files qt5-devel
|
||||
%defattr(-,root,root)
|
||||
# fixme
|
||||
/usr/mkspecs/features/crypto.prf
|
||||
%dir %{_includedir}/Qca-qt5
|
||||
%{_includedir}/Qca-qt5/*
|
||||
%{_qt5_libdir}/libqca-qt5.so
|
||||
%dir %{_includedir}/qt5/Qca-qt5/QtCrypto
|
||||
%{_includedir}/qt5/Qca-qt5/QtCrypto/*
|
||||
%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}/qt5/mkspecs/features/crypto.prf
|
||||
#%{_libdir}/qt5/mkspecs/features/crypto.prf
|
||||
%{_libdir}/pkgconfig/qca2-qt5.pc
|
||||
%doc README TODO
|
||||
#%doc README TODO
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
|
||||
- update to 2.2.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user