Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2c7cb81e3e | |||
| 3d0701cf3b | |||
| 79852be8d4 | |||
| c98a6faeb4 |
BIN
capnproto-c++-1.2.0.tar.gz
LFS
BIN
capnproto-c++-1.2.0.tar.gz
LFS
Binary file not shown.
3
capnproto-c++-1.3.0.tar.gz
Normal file
3
capnproto-c++-1.3.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:098f824a495a1a837d56ae17e07b3f721ac86f8dbaf58896a389923458522108
|
||||
size 1847292
|
||||
@@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 17 08:02:13 UTC 2025 - Luigi Baldoni <aloisio@gmx.com>
|
||||
|
||||
- Update to version 1.3.0 (no changelog)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 18 11:52:06 UTC 2025 - Marcus Rueckert <mrueckert@suse.de>
|
||||
|
||||
- switch to cmake for building which will actually provide the last
|
||||
missing file for the cmake files CapnProtoTargets-relwithdebinfo.cmake
|
||||
- properly set CC/CXX based on the compiler used
|
||||
- shared library naming changes from libsomething-%{version}.so to
|
||||
libsomething.so.%{version}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 21 10:11:31 UTC 2025 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# spec file for package capnproto
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,16 +17,22 @@
|
||||
#
|
||||
|
||||
|
||||
%define _libver 1_2_0
|
||||
%if 0%{?suse_version} >= 1599
|
||||
%bcond_without clang
|
||||
%else
|
||||
%bcond_with clang
|
||||
%endif
|
||||
|
||||
%define _libver 1_3_0
|
||||
Name: capnproto
|
||||
Version: 1.2.0
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: A Data Serialization Format
|
||||
License: MIT
|
||||
URL: https://capnproto.org
|
||||
Source: https://capnproto.org/capnproto-c++-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
%if 0%{?suse_version} >= 1599
|
||||
%if %{with clang}
|
||||
BuildRequires: clang
|
||||
BuildRequires: clang-devel
|
||||
%else
|
||||
@@ -62,15 +69,20 @@ This package provides development headers for capnproto.
|
||||
%autosetup -n %{name}-c++-%{version}
|
||||
|
||||
%build
|
||||
%if %{with clang}
|
||||
export CC=clang
|
||||
export CXX=clang++
|
||||
%else
|
||||
test -x "$(type -p g++-7)" && export CXX=g++-7
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1699
|
||||
export CXXFLAGS="${optflags} -std=c++20"
|
||||
%endif
|
||||
%configure
|
||||
%make_build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%cmake_install
|
||||
find %{buildroot}%{_libdir} -type f \( -name "*.a" -o -name "*.la" \) -delete -print
|
||||
|
||||
%post -n libcapnp-%{_libver} -p /sbin/ldconfig
|
||||
@@ -85,15 +97,15 @@ find %{buildroot}%{_libdir} -type f \( -name "*.a" -o -name "*.la" \) -delete -p
|
||||
%{_bindir}/capnpc-capnp
|
||||
|
||||
%files -n libcapnp-%{_libver}
|
||||
%{_libdir}/libcapnp-%{version}.so
|
||||
%{_libdir}/libcapnp-rpc-%{version}.so
|
||||
%{_libdir}/libcapnpc-%{version}.so
|
||||
%{_libdir}/libcapnp-json-%{version}.so
|
||||
%{_libdir}/libcapnp-websocket-%{version}.so
|
||||
%{_libdir}/libkj-test-%{version}.so
|
||||
%{_libdir}/libkj-%{version}.so
|
||||
%{_libdir}/libkj-async-%{version}.so
|
||||
%{_libdir}/libkj-http-%{version}.so
|
||||
%{_libdir}/libcapnp.so.%{version}
|
||||
%{_libdir}/libcapnp-rpc.so.%{version}
|
||||
%{_libdir}/libcapnpc.so.%{version}
|
||||
%{_libdir}/libcapnp-json.so.%{version}
|
||||
%{_libdir}/libcapnp-websocket.so.%{version}
|
||||
%{_libdir}/libkj-test.so.%{version}
|
||||
%{_libdir}/libkj.so.%{version}
|
||||
%{_libdir}/libkj-async.so.%{version}
|
||||
%{_libdir}/libkj-http.so.%{version}
|
||||
|
||||
%files -n libcapnp-devel
|
||||
%{_includedir}/capnp
|
||||
@@ -112,6 +124,7 @@ find %{buildroot}%{_libdir} -type f \( -name "*.a" -o -name "*.la" \) -delete -p
|
||||
%{_libdir}/cmake/CapnProto/CapnProtoConfigVersion.cmake
|
||||
%{_libdir}/cmake/CapnProto/CapnProtoMacros.cmake
|
||||
%{_libdir}/cmake/CapnProto/CapnProtoTargets.cmake
|
||||
%{_libdir}/cmake/CapnProto/CapnProtoTargets-relwithdebinfo.cmake
|
||||
%{_libdir}/pkgconfig/capnp.pc
|
||||
%{_libdir}/pkgconfig/capnpc.pc
|
||||
%{_libdir}/pkgconfig/capnp-json.pc
|
||||
|
||||
Reference in New Issue
Block a user