Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| b8a621faee | |||
| 310373eee9 |
@@ -1,23 +0,0 @@
|
||||
From 1b7d3bb0c5d13a6d2db0b439231ce65f4ad4cca0 Mon Sep 17 00:00:00 2001
|
||||
From: "Jason E. Hale" <jhale@FreeBSD.org>
|
||||
Date: Tue, 17 Oct 2023 15:10:23 -0400
|
||||
Subject: [PATCH] Install header when only building shared library
|
||||
|
||||
Fixes #210
|
||||
---
|
||||
src/CMakeLists.txt | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index dcaa92a..0de9632 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -127,6 +127,8 @@ if(BUILD_SHARED_LIBS)
|
||||
# with the mysofa-static library.
|
||||
set_target_properties(mysofa-shared
|
||||
PROPERTIES ARCHIVE_OUTPUT_NAME mysofa_shared)
|
||||
+ set_target_properties(mysofa-shared
|
||||
+ PROPERTIES PUBLIC_HEADER "${public-headers}")
|
||||
|
||||
set_property(
|
||||
TARGET mysofa-shared
|
||||
BIN
libmysofa-1.3.2.tar.gz
LFS
BIN
libmysofa-1.3.2.tar.gz
LFS
Binary file not shown.
3
libmysofa-1.3.3.tar.gz
Normal file
3
libmysofa-1.3.3.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a15f7236a2b492f8d8da69f6c71b5bde1ef1bac0ef428b94dfca1cabcb24c84f
|
||||
size 208753723
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 9 12:27:33 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 1.3.3:
|
||||
* Remove file size limit
|
||||
* add an -o output option
|
||||
* developer visible fixes and portability fixes
|
||||
- drop Install-header-when-only-building-shared-lib.patch, included
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 23 01:22:04 UTC 2023 - Mia Herkt <mia@0x0.st>
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# spec file for package libmysofa
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -19,7 +20,7 @@
|
||||
%define sover 1
|
||||
%define __builder ninja
|
||||
Name: libmysofa
|
||||
Version: 1.3.2
|
||||
Version: 1.3.3
|
||||
Release: 0
|
||||
Summary: Reader for AES SOFA HRTF files
|
||||
License: BSD-3-Clause
|
||||
@@ -27,14 +28,12 @@ Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/hoene/libmysofa
|
||||
Source0: https://github.com/hoene/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
# https://github.com/hoene/libmysofa/issues/210
|
||||
Patch0: Install-header-when-only-building-shared-lib.patch
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake >= 3.5
|
||||
BuildRequires: ninja
|
||||
BuildRequires: pkgconfig
|
||||
# for tests
|
||||
BuildRequires: nodejs-common
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(cunit)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
|
||||
@@ -72,10 +71,9 @@ This package contains the development libraries and headers for libmysofa.
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%cmake_build -C build test
|
||||
%ctest
|
||||
|
||||
%post -n %{name}%{sover} -p /sbin/ldconfig
|
||||
%postun -n %{name}%{sover} -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n %{name}%{sover}
|
||||
|
||||
%files -n %{name}%{sover}
|
||||
%doc README.md
|
||||
@@ -86,7 +84,7 @@ This package contains the development libraries and headers for libmysofa.
|
||||
|
||||
%files devel
|
||||
%license LICENSE
|
||||
%{_includedir}/mysofa.h
|
||||
%{_includedir}/*
|
||||
%{_libdir}/%{name}.so
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
%{_libdir}/cmake/mysofa
|
||||
|
||||
Reference in New Issue
Block a user