Changeset 1753 for spec/trunk/SPECS/libebml.spec
- Timestamp:
- Feb 19, 2021, 9:03:14 PM (5 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/libebml.spec (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libebml.spec
r1670 r1753 1 1 Summary: Extensible Binary Meta Language library 2 2 Name: libebml 3 Version: 1. 3.93 Version: 1.4.1 4 4 Release: 1%{?dist} 5 5 License: LGPLv2+ 6 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 7 %if !0%{?os2_version} 8 Source: https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz 9 %else 10 %scm_source github http://github.com/kohm/%{name}-os2 %{version}-os2 11 %endif 12 10 13 BuildRequires: cmake3 11 BuildRequires: gcc 12 #BuildRequires: utf8cpp-devel 13 14 BuildRequires: gcc-c++ 15 %if !0%{?os2_version} 16 BuildRequires: utf8cpp-devel 17 Patch0: %{name}-use-system-utf8cpp.patch 18 %endif 14 19 %description 15 20 Extensible Binary Meta Language access library A library for reading … … 32 37 will use the Extensible Binary Meta Language library. 33 38 34 35 39 %prep 36 #%setup -q 40 %if !0%{?os2_version} 41 %setup -q 42 %patch0 -p1 -b .utf8cpp 43 rm -r src/lib/utf8-cpp 44 %else 37 45 %scm_setup 38 #%patch0 -p1 -b .utf8cpp 39 #rm -r src/lib/utf8-cpp 40 46 %endif 41 47 42 48 %build 49 %if 0%{?os2_version} 43 50 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 44 51 export LIBS="-lcx" 52 %endif 45 53 46 %cmake 47 make %{?_smp_mflags} 54 %cmake3 . 55 %if !0%{?os2_version} 56 %cmake3_build 57 %else 58 make %{?_smp_mflags} 59 %endif 48 60 49 61 %install 50 make install DESTDIR=%{buildroot} INSTALL='install -p' 62 %if !0%{?os2_version} 63 %cmake3_install 64 %else 65 %make_install 66 %endif 51 67 52 #%ldconfig_scriptlets 68 %if !0%{?os2_version} 69 %ldconfig_scriptlets 70 %endif 53 71 54 72 %files 55 73 %license LICENSE.LGPL 56 74 %doc ChangeLog 75 %if !0%{?os2_version} 76 %{_libdir}/%{name}.so.5* 77 %else 78 %{_libdir}/*.dll 79 %endif 57 80 58 81 %files devel 59 82 %{_includedir}/ebml/ 60 %{_libdir}/ebml*.dll 61 %{_libdir}/ebml*.a 83 %if !0%{?os2_version} 84 %{_libdir}/%{name}.so 85 %else 86 %{_libdir}/*.a 62 87 %{_libdir}/pkgconfig/%{name}.pc 63 88 %dir %{_libdir}/cmake/EBML … … 66 91 %{_libdir}/cmake/EBML/EBMLTargets-noconfig.cmake 67 92 %{_libdir}/cmake/EBML/EBMLTargets.cmake 68 93 %endif 69 94 70 95 %changelog 71 * fri Oct 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3.9-1 96 * Fri Feb 19 2021 Elbert Pol <elbert.pol@gmail.com> - 1.4.1-1 97 - Updated to latest version 98 - Thankz KO Myung-Hun for the OS2 source 99 100 * Fri Oct 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.3.9-1 72 101 - First rpm release for OS2 73 74 * Tue Sep 10 2019 Dominik Mierzejewski <rpm@greysector.net> - 1.3.9-175 - update to 1.3.9 (#1688001)76
Note:
See TracChangeset
for help on using the changeset viewer.
