- update to 1.4.5 (bsc#1218432, CVE-2023-52339): OBS-URL: https://build.opensuse.org/request/show/1138299 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libebml?expand=0&rev=81
81 lines
2.3 KiB
RPMSpec
81 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package libebml
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# 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 https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define soname 5
|
|
Name: libebml
|
|
Version: 1.4.5
|
|
Release: 0
|
|
Summary: Library to parse EBML (Extensible Binary Markup Language) files
|
|
License: LGPL-2.1-or-later
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://www.matroska.org/
|
|
#Git-Clone: git://github.com/Matroska-Org/libebml
|
|
#Git-Web: https://github.com/Matroska-Org/libebml
|
|
Source: https://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.xz
|
|
Source100: baselibs.conf
|
|
BuildRequires: cmake
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: pkgconfig
|
|
|
|
%description
|
|
libebml is a C++ library to parse EBML files. See the EBML RFC at
|
|
http://www.matroska.org/technical/specs/rfc/index.html .
|
|
|
|
%package -n libebml%{soname}
|
|
Summary: Library to parse EBML files
|
|
Group: System/Libraries
|
|
|
|
%description -n libebml%{soname}
|
|
libebml is a C++ library to parse EBML files. See the EBML RFC at
|
|
http://www.matroska.org/technical/specs/rfc/index.html .
|
|
|
|
%package devel
|
|
Summary: Development files for the EBML file parser library
|
|
Group: Development/Libraries/C and C++
|
|
Requires: glibc-devel
|
|
Requires: libebml%{soname} = %{version}
|
|
Requires: libstdc++-devel
|
|
|
|
%description devel
|
|
libebml is a C++ library to parse EBML files. See the EBML RFC at
|
|
http://www.matroska.org/technical/specs/rfc/index.html .
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%post -n libebml%{soname} -p /sbin/ldconfig
|
|
%postun -n libebml%{soname} -p /sbin/ldconfig
|
|
|
|
%files -n libebml%{soname}
|
|
%{_libdir}/libebml.so.%{soname}*
|
|
|
|
%files devel
|
|
%{_libdir}/libebml.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_libdir}/cmake/EBML
|
|
%{_includedir}/ebml/
|
|
|
|
%changelog
|