2007-01-15 23:21:41 +00:00
|
|
|
#
|
2011-02-18 11:56:42 +00:00
|
|
|
# spec file for package libebml
|
2007-01-15 23:21:41 +00:00
|
|
|
#
|
2024-01-15 12:19:17 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-15 23:21:41 +00:00
|
|
|
#
|
2009-03-17 22:53:47 +00:00
|
|
|
# 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.
|
|
|
|
|
|
2020-07-01 07:32:19 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:21:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
2020-07-01 07:32:19 +00:00
|
|
|
%define soname 5
|
2007-01-15 23:21:41 +00:00
|
|
|
Name: libebml
|
2023-12-31 09:01:03 +00:00
|
|
|
Version: 1.4.5
|
2011-09-25 23:42:30 +00:00
|
|
|
Release: 0
|
2015-05-03 13:27:01 +00:00
|
|
|
Summary: Library to parse EBML (Extensible Binary Markup Language) files
|
2018-07-30 17:11:45 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2014-08-06 08:25:00 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2020-07-01 07:32:19 +00:00
|
|
|
URL: https://www.matroska.org/
|
2017-08-25 10:44:15 +00:00
|
|
|
#Git-Clone: git://github.com/Matroska-Org/libebml
|
|
|
|
|
#Git-Web: https://github.com/Matroska-Org/libebml
|
2018-07-30 16:57:16 +00:00
|
|
|
Source: https://dl.matroska.org/downloads/libebml/%{name}-%{version}.tar.xz
|
2014-08-06 11:52:24 +00:00
|
|
|
Source100: baselibs.conf
|
2018-07-30 16:57:16 +00:00
|
|
|
BuildRequires: cmake
|
2010-07-19 13:02:06 +00:00
|
|
|
BuildRequires: gcc-c++
|
2020-07-01 07:32:19 +00:00
|
|
|
BuildRequires: pkgconfig
|
2007-01-15 23:21:41 +00:00
|
|
|
|
|
|
|
|
%description
|
2015-05-03 13:27:01 +00:00
|
|
|
libebml is a C++ library to parse EBML files. See the EBML RFC at
|
|
|
|
|
http://www.matroska.org/technical/specs/rfc/index.html .
|
2007-01-15 23:21:41 +00:00
|
|
|
|
2011-01-30 17:23:16 +00:00
|
|
|
%package -n libebml%{soname}
|
2015-02-02 12:52:56 +00:00
|
|
|
Summary: Library to parse EBML files
|
2014-08-06 08:25:00 +00:00
|
|
|
Group: System/Libraries
|
2010-11-12 10:05:14 +00:00
|
|
|
|
2011-01-30 17:23:16 +00:00
|
|
|
%description -n libebml%{soname}
|
2015-05-03 13:27:01 +00:00
|
|
|
libebml is a C++ library to parse EBML files. See the EBML RFC at
|
|
|
|
|
http://www.matroska.org/technical/specs/rfc/index.html .
|
2010-11-12 10:05:14 +00:00
|
|
|
|
2011-09-25 23:42:30 +00:00
|
|
|
%package devel
|
2015-02-02 12:52:56 +00:00
|
|
|
Summary: Development files for the EBML file parser library
|
2014-08-06 08:25:00 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-12-10 16:40:00 +00:00
|
|
|
Requires: glibc-devel
|
2012-05-10 05:51:07 +00:00
|
|
|
Requires: libebml%{soname} = %{version}
|
2010-12-10 16:40:00 +00:00
|
|
|
Requires: libstdc++-devel
|
2007-05-26 22:14:42 +00:00
|
|
|
|
2011-09-25 23:42:30 +00:00
|
|
|
%description devel
|
2015-05-03 13:27:01 +00:00
|
|
|
libebml is a C++ library to parse EBML files. See the EBML RFC at
|
|
|
|
|
http://www.matroska.org/technical/specs/rfc/index.html .
|
2007-05-26 22:14:42 +00:00
|
|
|
|
2007-01-15 23:21:41 +00:00
|
|
|
%prep
|
2021-03-19 16:04:51 +00:00
|
|
|
%autosetup -p1
|
2007-01-15 23:21:41 +00:00
|
|
|
|
|
|
|
|
%build
|
2018-07-30 16:57:16 +00:00
|
|
|
%cmake
|
2020-07-01 07:32:19 +00:00
|
|
|
%cmake_build
|
2007-01-15 23:21:41 +00:00
|
|
|
|
|
|
|
|
%install
|
2018-07-30 16:57:16 +00:00
|
|
|
%cmake_install
|
2007-01-15 23:21:41 +00:00
|
|
|
|
2011-01-30 17:23:16 +00:00
|
|
|
%post -n libebml%{soname} -p /sbin/ldconfig
|
|
|
|
|
%postun -n libebml%{soname} -p /sbin/ldconfig
|
2007-01-15 23:21:41 +00:00
|
|
|
|
2011-01-30 17:23:16 +00:00
|
|
|
%files -n libebml%{soname}
|
2015-02-02 12:52:56 +00:00
|
|
|
%{_libdir}/libebml.so.%{soname}*
|
2007-05-26 22:14:42 +00:00
|
|
|
|
2011-09-25 23:42:30 +00:00
|
|
|
%files devel
|
2010-07-19 13:02:06 +00:00
|
|
|
%{_libdir}/libebml.so
|
2015-02-02 12:52:56 +00:00
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2019-07-10 14:28:28 +00:00
|
|
|
%{_libdir}/cmake/EBML
|
2015-02-02 12:52:56 +00:00
|
|
|
%{_includedir}/ebml/
|
2008-03-05 21:28:27 +00:00
|
|
|
|
2007-05-26 22:14:42 +00:00
|
|
|
%changelog
|