Changeset 1755
- Timestamp:
- Feb 28, 2021, 11:15:06 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libmatroska.spec
r1671 r1755 1 %undefine __cmake_in_source_build 2 1 3 Summary: Open audio/video container format library 2 4 Name: libmatroska 3 Version: 1. 5.25 Version: 1.6.2 4 6 Release: 1%{?dist} 5 7 License: LGPLv2+ 6 8 URL: https://www.matroska.org/ 7 #Source0: https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz 9 %if !0%{?os2_version} 10 Source0: https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz 11 %else 8 12 %scm_source github https://github.com/komh/libmatroska-os2 master 13 %endif 9 14 BuildRequires: cmake3 10 BuildRequires: gcc 11 BuildRequires: libebml-devel >= 1. 3.812 Requires: libebml%{_isa} >= 1. 3.815 BuildRequires: gcc-c++ 16 BuildRequires: libebml-devel >= 1.4.0 17 Requires: libebml%{_isa} >= 1.4.0 13 18 14 19 %description … … 23 28 Requires: %{name}%{_isa} = %{version}-%{release} 24 29 Requires: %{_libdir}/cmake 25 Requires: libebml-devel >= 1. 3.830 Requires: libebml-devel >= 1.4.0 26 31 Requires: pkgconfig 27 32 … … 37 42 38 43 %prep 39 #%setup -q 44 %if !0%{?os2_version} 45 %setup -q 46 %else 40 47 %scm_setup 48 %endif 41 49 42 50 %build 43 51 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 44 52 export LIBS="-lcx" 45 %cmake3 . 46 #%make_build 53 54 %cmake3 55 %if !0%{?os2_version} 56 %cmake3_build 57 58 %install 59 %cmake3_install 60 %else 47 61 make %{?_smp_mflags} 48 62 49 63 %install 50 64 %make_install 65 %endif 51 66 52 53 #%ldconfig_scriptlets54 67 %if !0%{?os2_version} 68 %ldconfig_scriptlets 69 %endif 55 70 56 71 %files 57 72 %license LICENSE.LGPL 58 73 %doc ChangeLog 59 #%{_libdir}/%{name}.so.6* 74 %if !0%{?os2_version} 75 %{_libdir}/%{name}.so.7* 76 %else 77 %{_libdir}/*.dll 78 %endif 60 79 61 80 %files devel 62 81 %{_includedir}/matroska/ 63 %{_libdir}/*.dll 82 %if !0%{?os2_version} 83 %{_libdir}/%{name}.so 84 %else 64 85 %{_libdir}/*.a 86 %endif 65 87 %{_libdir}/pkgconfig/%{name}.pc 66 88 %dir %{_libdir}/cmake/Matroska … … 72 94 73 95 %changelog 96 * Sun Feb 28 2021 Elbert Pol <elbert.pol@gmail.com> - 1.6.2-1 97 - Updated to latest version 98 - Add os2 definitions to spec file 99 74 100 * Fri Oct 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.5.2-1 75 101 - First Rpm for OS2 76 102 - Thankz KO Myung-Hun for the OS2 source 77 78 * Tue Sep 10 2019 Dominik Mierzejewski <rpm@greysector.net> - 1.5.2-179 - update to 1.5.2 (#1688000)80 - drop obsolete patch
Note:
See TracChangeset
for help on using the changeset viewer.