Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-cjose-060-static
dba-cjose-060-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-cjose-060-static.spec of Package dba-cjose-060-static
%define real_name cjose %define prefix /DBA/%{real_name}/%{version} %define version 0.6.0 %define vers 060 %define maketest 0 Name: dba-%{real_name}-%{vers}-static Summary: Implementation of JOSE for C/C++ version 0.6.0 Version: %{version} Release: 1 License: MIT Group: Productivity/Text/Utilities Url: https://github.com/cisco/cjose Source: https://github.com/cisco/%{real_name}/archive/%{version}/%{real_name}-%{version}.tar.gz Source2: %{real_name}-rpmlintrc BuildRoot: %{_tmppath}/%{real_name}-%{version}-build BuildRequires: autoconf automake libtool make bison BuildRequires: check-devel BuildRequires: dba-openssl-111t-static %define ssldir /DBA/openssl/1.1.1t BuildRequires: dba-jansson-214-static %define janssondir /DBA/jansson/2.14 %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description C library implementing the Javascript Object Signing and Encryption (JOSE) %prep %setup -q -n %{real_name}-%{version} %build export CFLAGS="%{optflags} -fPIC" export CFLAGS="$CFLAGS -I%{ssldir}/include/openssl" export LDFLAGS="$LDFLAGS -L%{ssldir}/lib -lssl -lcrypto -ldl -pthread" export PKG_CONFIG_PATH="%{ssldir}/lib/pkgconfig:$PKG_CONFIG_PATH" ./configure \ --enable-static \ --disable-shared \ --disable-doxygen-doc \ --with-openssl=%{ssldir} \ --with-jansson=%{janssondir} \ --prefix=%{prefix} %{__make} %{?_smp_mflags} %install %{__make} install DESTDIR=%{buildroot} PREFIX="%{prefix}" %check %if %maketest %{__make} check %endif %post # add cjose.pc to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e cjose.pc ]; then %{__rm} -f cjose.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/cjose.pc . fi %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Wed Feb 15 2023 Dennis Hampe <dennis.hampe@bertelsmann.de> - OpenSSL update openssl * Wed Jul 07 2022 Dennis Hampe <dennis.hampe@bertelsmann.de> - use new version of jansson * Wed Apr 4 2018 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
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