source: spec/trunk/SPECS/libebml.spec@ 1711

Last change on this file since 1711 was 1670, checked in by tellie, 6 years ago

spec: libebml: Release version 1.3.9-1.

File size: 1.9 KB
Line 
1Summary: Extensible Binary Meta Language library
2Name: libebml
3Version: 1.3.9
4Release: 1%{?dist}
5License: LGPLv2+
6URL: 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
10BuildRequires: cmake3
11BuildRequires: gcc
12#BuildRequires: utf8cpp-devel
13
14%description
15Extensible Binary Meta Language access library A library for reading
16and writing files with the Extensible Binary Meta Language, a binary
17pendant to XML.
18
19
20%package devel
21Summary: Development files for the Extensible Binary Meta Language library
22Requires: %{name}%{?_isa} = %{version}-%{release}
23Requires: %{_libdir}/cmake
24Requires: pkgconfig
25
26%description devel
27Extensible Binary Meta Language access library A library for reading
28and writing files with the Extensible Binary Meta Language, a binary
29pendant to XML.
30
31This package contains the files required to rebuild applications which
32will 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
43export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
44export LIBS="-lcx"
45
46%cmake
47make %{?_smp_mflags}
48
49%install
50make 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
Note: See TracBrowser for help on using the repository browser.