| 1 | Summary: Extensible Binary Meta Language library
|
|---|
| 2 | Name: libebml
|
|---|
| 3 | Version: 1.3.9
|
|---|
| 4 | Release: 1%{?dist}
|
|---|
| 5 | License: LGPLv2+
|
|---|
| 6 | URL: https://www.matroska.org/
|
|---|
| 7 | #Source: https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz
|
|---|
| 8 | %scm_source github https://github.com/komh/libebml-os2 master
|
|---|
| 9 | #Patch0: %{name}-use-system-utf8cpp.patch
|
|---|
| 10 | BuildRequires: cmake3
|
|---|
| 11 | BuildRequires: gcc
|
|---|
| 12 | #BuildRequires: utf8cpp-devel
|
|---|
| 13 |
|
|---|
| 14 | %description
|
|---|
| 15 | Extensible Binary Meta Language access library A library for reading
|
|---|
| 16 | and writing files with the Extensible Binary Meta Language, a binary
|
|---|
| 17 | pendant to XML.
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 | %package devel
|
|---|
| 21 | Summary: Development files for the Extensible Binary Meta Language library
|
|---|
| 22 | Requires: %{name}%{?_isa} = %{version}-%{release}
|
|---|
| 23 | Requires: %{_libdir}/cmake
|
|---|
| 24 | Requires: pkgconfig
|
|---|
| 25 |
|
|---|
| 26 | %description devel
|
|---|
| 27 | Extensible Binary Meta Language access library A library for reading
|
|---|
| 28 | and writing files with the Extensible Binary Meta Language, a binary
|
|---|
| 29 | pendant to XML.
|
|---|
| 30 |
|
|---|
| 31 | This package contains the files required to rebuild applications which
|
|---|
| 32 | will use the Extensible Binary Meta Language library.
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 | %prep
|
|---|
| 36 | #%setup -q
|
|---|
| 37 | %scm_setup
|
|---|
| 38 | #%patch0 -p1 -b .utf8cpp
|
|---|
| 39 | #rm -r src/lib/utf8-cpp
|
|---|
| 40 |
|
|---|
| 41 |
|
|---|
| 42 | %build
|
|---|
| 43 | export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
|
|---|
| 44 | export LIBS="-lcx"
|
|---|
| 45 |
|
|---|
| 46 | %cmake
|
|---|
| 47 | make %{?_smp_mflags}
|
|---|
| 48 |
|
|---|
| 49 | %install
|
|---|
| 50 | make install DESTDIR=%{buildroot} INSTALL='install -p'
|
|---|
| 51 |
|
|---|
| 52 | #%ldconfig_scriptlets
|
|---|
| 53 |
|
|---|
| 54 | %files
|
|---|
| 55 | %license LICENSE.LGPL
|
|---|
| 56 | %doc ChangeLog
|
|---|
| 57 |
|
|---|
| 58 | %files devel
|
|---|
| 59 | %{_includedir}/ebml/
|
|---|
| 60 | %{_libdir}/ebml*.dll
|
|---|
| 61 | %{_libdir}/ebml*.a
|
|---|
| 62 | %{_libdir}/pkgconfig/%{name}.pc
|
|---|
| 63 | %dir %{_libdir}/cmake/EBML
|
|---|
| 64 | %{_libdir}/cmake/EBML/EBMLConfig.cmake
|
|---|
| 65 | %{_libdir}/cmake/EBML/EBMLConfigVersion.cmake
|
|---|
| 66 | %{_libdir}/cmake/EBML/EBMLTargets-noconfig.cmake
|
|---|
| 67 | %{_libdir}/cmake/EBML/EBMLTargets.cmake
|
|---|
| 68 |
|
|---|
| 69 |
|
|---|
| 70 | %changelog
|
|---|
| 71 | * fri Oct 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3.9-1
|
|---|
| 72 | - First rpm release for OS2
|
|---|
| 73 |
|
|---|
| 74 | * Tue Sep 10 2019 Dominik Mierzejewski <rpm@greysector.net> - 1.3.9-1
|
|---|
| 75 | - update to 1.3.9 (#1688001)
|
|---|
| 76 |
|
|---|