Changeset 1755


Ignore:
Timestamp:
Feb 28, 2021, 11:15:06 AM (4 years ago)
Author:
tellie
Message:

spec: libmatroska: Release version 1.6.2-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/libmatroska.spec

    r1671 r1755  
     1%undefine __cmake_in_source_build
     2
    13Summary:        Open audio/video container format library
    24Name:           libmatroska
    3 Version:        1.5.2
     5Version:        1.6.2
    46Release:        1%{?dist}
    57License:        LGPLv2+
    68URL:            https://www.matroska.org/
    7 #Source0:       https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz
     9%if !0%{?os2_version}
     10Source0:        https://dl.matroska.org/downloads/%{name}/%{name}-%{version}.tar.xz
     11%else
    812%scm_source github https://github.com/komh/libmatroska-os2 master
     13%endif
    914BuildRequires:  cmake3
    10 BuildRequires:  gcc
    11 BuildRequires:  libebml-devel >= 1.3.8
    12 Requires:       libebml%{_isa} >= 1.3.8
     15BuildRequires:  gcc-c++
     16BuildRequires:  libebml-devel >= 1.4.0
     17Requires:       libebml%{_isa} >= 1.4.0
    1318
    1419%description
     
    2328Requires:       %{name}%{_isa} = %{version}-%{release}
    2429Requires:       %{_libdir}/cmake
    25 Requires:       libebml-devel >= 1.3.8
     30Requires:       libebml-devel >= 1.4.0
    2631Requires:       pkgconfig
    2732
     
    3742
    3843%prep
    39 #%setup -q
     44%if !0%{?os2_version}
     45%setup -q
     46%else
    4047%scm_setup
     48%endif
    4149
    4250%build
    4351export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    4452export 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
    4761make %{?_smp_mflags}
    4862
    4963%install
    5064%make_install
     65%endif
    5166
    52 
    53 #%ldconfig_scriptlets
    54 
     67%if !0%{?os2_version}
     68%ldconfig_scriptlets
     69%endif
    5570
    5671%files
    5772%license LICENSE.LGPL
    5873%doc ChangeLog
    59 #%{_libdir}/%{name}.so.6*
     74%if !0%{?os2_version}
     75%{_libdir}/%{name}.so.7*
     76%else
     77%{_libdir}/*.dll
     78%endif
    6079
    6180%files devel
    6281%{_includedir}/matroska/
    63 %{_libdir}/*.dll
     82%if !0%{?os2_version}
     83%{_libdir}/%{name}.so
     84%else
    6485%{_libdir}/*.a
     86%endif
    6587%{_libdir}/pkgconfig/%{name}.pc
    6688%dir %{_libdir}/cmake/Matroska
     
    7294
    7395%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
    74100* Fri Oct 04 2019 Elbert Pol <elbert.pol@gmail.com> - 1.5.2-1
    75101- First Rpm for OS2
    76102- Thankz KO Myung-Hun for the OS2 source
    77 
    78 * Tue Sep 10 2019 Dominik Mierzejewski <rpm@greysector.net> - 1.5.2-1
    79 - update to 1.5.2 (#1688000)
    80 - drop obsolete patch
Note: See TracChangeset for help on using the changeset viewer.