Ignore:
Timestamp:
Feb 19, 2021, 9:03:14 PM (5 years ago)
Author:
tellie
Message:

spec: libebml: Release version 1.4.1-1.

File:
1 edited

Legend:

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

    r1670 r1753  
    11Summary:    Extensible Binary Meta Language library
    22Name:       libebml
    3 Version:    1.3.9
     3Version:    1.4.1
    44Release:    1%{?dist}
    55License:    LGPLv2+
    66URL:        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}
     8Source:     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
    1013BuildRequires: cmake3
    11 BuildRequires: gcc
    12 #BuildRequires: utf8cpp-devel
    13 
     14BuildRequires: gcc-c++
     15%if !0%{?os2_version}
     16BuildRequires: utf8cpp-devel
     17Patch0:     %{name}-use-system-utf8cpp.patch
     18%endif
    1419%description
    1520Extensible Binary Meta Language access library A library for reading
     
    3237will use the Extensible Binary Meta Language library.
    3338
    34 
    3539%prep
    36 #%setup -q
     40%if !0%{?os2_version}
     41%setup -q
     42%patch0 -p1 -b .utf8cpp
     43rm -r src/lib/utf8-cpp
     44%else
    3745%scm_setup
    38 #%patch0 -p1 -b .utf8cpp
    39 #rm -r src/lib/utf8-cpp
    40 
     46%endif
    4147
    4248%build
     49%if 0%{?os2_version}
    4350export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    4451export LIBS="-lcx"
     52%endif
    4553
    46 %cmake
    47 make %{?_smp_mflags}
     54%cmake3 .
     55%if !0%{?os2_version}
     56%cmake3_build
     57%else
     58make %{?_smp_mflags}
     59%endif
    4860
    4961%install
    50 make install DESTDIR=%{buildroot} INSTALL='install -p'
     62%if !0%{?os2_version}
     63%cmake3_install
     64%else
     65%make_install
     66%endif
    5167
    52 #%ldconfig_scriptlets
     68%if !0%{?os2_version}
     69%ldconfig_scriptlets
     70%endif
    5371
    5472%files
    5573%license LICENSE.LGPL
    5674%doc ChangeLog
     75%if !0%{?os2_version}
     76%{_libdir}/%{name}.so.5*
     77%else
     78%{_libdir}/*.dll
     79%endif
    5780
    5881%files devel
    5982%{_includedir}/ebml/
    60 %{_libdir}/ebml*.dll
    61 %{_libdir}/ebml*.a
     83%if !0%{?os2_version}
     84%{_libdir}/%{name}.so
     85%else
     86%{_libdir}/*.a
    6287%{_libdir}/pkgconfig/%{name}.pc
    6388%dir %{_libdir}/cmake/EBML
     
    6691%{_libdir}/cmake/EBML/EBMLTargets-noconfig.cmake
    6792%{_libdir}/cmake/EBML/EBMLTargets.cmake
    68 
     93%endif
    6994
    7095%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
    72101- 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 TracChangeset for help on using the changeset viewer.