Ignore:
Timestamp:
Oct 25, 2020, 3:44:57 PM (5 years ago)
Author:
tellie
Message:

spec: jsoncpp: Release version 1.9.4-1.

File:
1 edited

Legend:

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

    r1709 r1732  
    1313
    1414Name:           jsoncpp
    15 Version:        1.9.3
     15Version:        1.9.4
    1616Release:        1%{?dist}
    1717Summary:        JSON library implemented in C++
     
    2222Source0:        %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
    2323%else
    24 %scm_source github https://github.com/tellie/%{name}-os2 master-os2
     24%scm_source github https://github.com/tellie/%{name}-os2 %{version}-os2
    2525%endif
    2626
     
    6666%if !0%{?os2_version}
    6767%autosetup -p 1
     68%else
     69%scm_setup
    6870%endif
    6971
     
    7274sed -i -e 's!^DOT_FONTNAME.*=.*!DOT_FONTNAME =!g' doc/doxyfile.in
    7375%endif
    74 %scm_setup
    7576
    7677%build
     
    8081export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    8182export LIBS="-lcx"
     83echo PACKAGE_VERSION="%{version}" > package_version
    8284
    8385%cmake                                         \
    84   -DBUILD_SHARED_LIBS:BOOL=OFF                 \
    85   -DBUILD_SHARED_LIBS:BOOL=ON                \
     86  -DBUILD_STATIC_LIBS:BOOL=OFF                 \
     87  -DBUILD_OBJECT_LIBS:BOOL=OFF                 \
    8688  -DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON         \
    8789  -DJSONCPP_WITH_EXAMPLE:BOOL=OFF              \
     
    9193  -DJSONCPP_WITH_TESTS:BOOL=ON                 \
    9294  -DJSONCPP_WITH_WARNING_AS_ERROR:BOOL=OFF     \
    93     ..
     95   ..
     96
    9497%if !0%{?os2_version}
    9598  -DPYTHON_EXECUTABLE:STRING="%{__python3}"
    9699%cmake_build
     100%else
     101make %{?_smp_mflags}
    97102%endif
    98 make %{?_smp_mflags}
    99103
    100104%if %{with jsoncpp_enables_doc}
     
    133137%exclude %{_docdir}/%{name}/html
    134138%endif
    135 %{_libdir}/*.dll
    136139%if !0%{?os2_version}
    137140%{_libdir}/lib%{name}.so.%{version}
     141%else
     142%{_libdir}/*.dll
    138143%endif
    139144
     
    151156
    152157%changelog
     158* Sun Oct 25 2020 Elbert Pol <elbert.pol@gmail.com> - 1.9.4-1
     159- Update to latest version
     160- Update spec file
     161
    153162* Fri Sep 18 2020 Elbert Pol <elbert.pol@gmail.com> - 1.9.3-1
    154163- First RPM for OS2
Note: See TracChangeset for help on using the changeset viewer.