Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
qca
qca.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qca.spec of Package qca
# # spec file for package qca # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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://bugs.opensuse.org/ # # norootforbuild Name: qca BuildRequires: libjpeg-devel openssl-devel qt3-devel update-desktop-files License: LGPL-2.1+ Group: Development/Libraries/C and C++ Summary: Qt Cryptographic Architecture BuildRoot: %{_tmppath}/%{name}-%{version}-build Url: http://delta.affinix.com/qca/ Version: 1.0 Release: 239 Source: %name-%{version}.tar.bz2 Source1: %name-tls-%{version}.tar.bz2 Patch1: qca-tls.dif Provides: qca-tls = %version %description This package provides a generic Qt cryptographic architecture, including a library and a plug-in for using all supported capabilities of openssl, like SSL/TLS, X509, RSA, SHA1, MD5, Blowfish, 3DES, and AES. It can be extended by further plug-ins, for example, qca-sasl for SASL support. %package devel License: LGPL-2.1+ Summary: Qt Cryptographic Architecture Group: Development/Libraries/C and C++ Requires: qca = %{version} %description devel This package provides a generic Qt cryptographic architecture, including a library and a plugin for using all supported capabilities of openssl, like SSL/TLS, X509, RSA, SHA1, MD5, Blowfish, 3DES and AES. This package provides the general files for developing applications or plug-ins for the QCA. You can also find examples in the /usr/share/doc/packages/qca-devel/examples/ directory. %prep %setup -q -b 1 cd ../qca-tls-* %patch1 %build export PATH=/usr/lib/qt3/bin/:$PATH export CXXFLAGS="$RPM_OPT_FLAGS" export CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/lib/qt3/ make %{?jobs:-j %jobs} cd examples qmake cd ../../%name-tls-%version ./configure make %{?jobs:-j %jobs} %install if test -w /usr/src/packages/BUILD; then # qmake of qt3 is pure crap INSTALL_ROOT=$RPM_BUILD_ROOT/usr/lib/qt3/%_lib/usr/ else INSTALL_ROOT=$RPM_BUILD_ROOT fi make install INSTALL_ROOT=$INSTALL_ROOT cd ../%name-tls-%version make install INSTALL_ROOT=$INSTALL_ROOT if [ %_lib = lib64 ]; then rm -rf $RPM_BUILD_ROOT/usr/lib/qt3/%_lib mv $RPM_BUILD_ROOT/usr/lib/qt3/lib \ $RPM_BUILD_ROOT/usr/lib/qt3/%_lib fi mkdir -p $RPM_BUILD_ROOT/usr/%_lib/ ln -sf ../lib/qt3/%_lib/libqca.so.1 $RPM_BUILD_ROOT/usr/%_lib/libqca.so.1 %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc README COPYING TODO /usr/%_lib/libqca.so.1 /usr/lib/qt3/%_lib/*.so.* /usr/lib/qt3/plugins/crypto %files devel %defattr(-,root,root) %doc examples /usr/lib/qt3/include/* /usr/lib/qt3/%_lib/*.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor