update to 2.1.0 [release 2.1.0-1mamba;Fri Nov 28 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 05:28:57 +01:00
parent d59b1ea260
commit 7e2a898713

View File

@ -1,15 +1,15 @@
%define majorminor %(echo %version | cut -d. -f 1-2) %define majorminor %(echo %version | cut -d. -f 1-2)
Name: libqca Name: libqca
Version: 2.0.3 Version: 2.1.0
Release: 2mamba Release: 1mamba
Summary: Qt Cryptographic Architecture (QCA) Summary: Qt Cryptographic Architecture (QCA)
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Aleph0 <aleph0@openmamba.org> Packager: Aleph0 <aleph0@openmamba.org>
URL: http://delta.affinix.com/qca/ URL: http://delta.affinix.com/qca/
Source: http://delta.affinix.com/download/qca/%{majorminor}/qca-%{version}.tar.bz2 Source: http://delta.affinix.com/download/qca/2.0/qca-%{version}.tar.gz
Patch0: qca-2.0.3-gcc-4.7.patch Patch0: qca-2.0.3-gcc-4.7.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -36,26 +36,29 @@ This package contains static libraries and header files need for development.
%prep %prep
%setup -q -n qca-%{version} %setup -q -n qca-%{version}
%patch0 -p1 #%patch0 -p1
%build %build
./configure \ %cmake -d build
--release \
--prefix=%{_qt4_prefix} \ #./configure \
--bindir=%{_qt4_bindir} \ # --release \
--datadir=%{_qt4_datadir} \ # --prefix=%{_qt4_prefix} \
--includedir=%{_qt4_headerdir} \ # --bindir=%{_qt4_bindir} \
--libdir=%{_qt4_libdir} # --datadir=%{_qt4_datadir} \
# --includedir=%{_qt4_headerdir} \
# --libdir=%{_qt4_libdir}
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
make install INSTALL_ROOT=%{buildroot} %makeinstall -C build
#make install INSTALL_ROOT=%{buildroot}
install -d %{buildroot}%{_mandir}/man1 #install -d %{buildroot}%{_mandir}/man1
mv %{buildroot}%{_qt4_datadir}/man/man1/qcatool2.1 \ #mv %{buildroot}%{_qt4_datadir}/man/man1/qcatool2.1 \
%{buildroot}%{_mandir}/man1/qcatool2.1 # %{buildroot}%{_mandir}/man1/qcatool2.1
rm -f %{buildroot}%{_qt4_libdir}/libqca.so.*.debug rm -f %{buildroot}%{_qt4_libdir}/libqca.so.*.debug
rm -f %{buildroot}%{_qt4_bindir}/qcatool2.debug rm -f %{buildroot}%{_qt4_bindir}/qcatool2.debug
@ -70,20 +73,36 @@ rm -fr %{buildroot}%{_qt4_datadir}/qca/certs
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_qt4_bindir}/qcatool2 %{_bindir}/mozcerts
%{_bindir}/qcatool
%{_qt4_libdir}/libqca.so.* %{_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* %{_mandir}/man1/qcatool*
%doc COPYING README TODO %doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_qt4_datadir}/mkspecs/features/crypto.prf %dir %{_includedir}/QtCrypto
%{_qt4_headerdir}/QtCrypto/ %{_includedir}/QtCrypto/*
%{_qt4_libdir}/libqca.prl %dir %{_libdir}/cmake/Qca
%{_libdir}/cmake/Qca/Qca*.cmake
/usr/mkspecs/features/crypto.prf
%{_qt4_libdir}/libqca.so %{_qt4_libdir}/libqca.so
%{_libdir}/pkgconfig/qca2.pc %{_libdir}/pkgconfig/qca2.pc
%doc README TODO
%changelog %changelog
* Fri Nov 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.0-1mamba
- update to 2.1.0
* Thu Jan 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-2mamba * Thu Jan 24 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.3-2mamba
- added gcc 4.7 build patch - added gcc 4.7 build patch