Changeset 1732 for spec/trunk/SPECS/jsoncpp.spec
- Timestamp:
- Oct 25, 2020, 3:44:57 PM (5 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/jsoncpp.spec (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/jsoncpp.spec
r1709 r1732 13 13 14 14 Name: jsoncpp 15 Version: 1.9. 315 Version: 1.9.4 16 16 Release: 1%{?dist} 17 17 Summary: JSON library implemented in C++ … … 22 22 Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz 23 23 %else 24 %scm_source github https://github.com/tellie/%{name}-os2 master-os224 %scm_source github https://github.com/tellie/%{name}-os2 %{version}-os2 25 25 %endif 26 26 … … 66 66 %if !0%{?os2_version} 67 67 %autosetup -p 1 68 %else 69 %scm_setup 68 70 %endif 69 71 … … 72 74 sed -i -e 's!^DOT_FONTNAME.*=.*!DOT_FONTNAME =!g' doc/doxyfile.in 73 75 %endif 74 %scm_setup75 76 76 77 %build … … 80 81 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 81 82 export LIBS="-lcx" 83 echo PACKAGE_VERSION="%{version}" > package_version 82 84 83 85 %cmake \ 84 -DBUILD_S HARED_LIBS:BOOL=OFF \85 -DBUILD_ SHARED_LIBS:BOOL=ON\86 -DBUILD_STATIC_LIBS:BOOL=OFF \ 87 -DBUILD_OBJECT_LIBS:BOOL=OFF \ 86 88 -DJSONCPP_WITH_CMAKE_PACKAGE:BOOL=ON \ 87 89 -DJSONCPP_WITH_EXAMPLE:BOOL=OFF \ … … 91 93 -DJSONCPP_WITH_TESTS:BOOL=ON \ 92 94 -DJSONCPP_WITH_WARNING_AS_ERROR:BOOL=OFF \ 93 .. 95 .. 96 94 97 %if !0%{?os2_version} 95 98 -DPYTHON_EXECUTABLE:STRING="%{__python3}" 96 99 %cmake_build 100 %else 101 make %{?_smp_mflags} 97 102 %endif 98 make %{?_smp_mflags}99 103 100 104 %if %{with jsoncpp_enables_doc} … … 133 137 %exclude %{_docdir}/%{name}/html 134 138 %endif 135 %{_libdir}/*.dll136 139 %if !0%{?os2_version} 137 140 %{_libdir}/lib%{name}.so.%{version} 141 %else 142 %{_libdir}/*.dll 138 143 %endif 139 144 … … 151 156 152 157 %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 153 162 * Fri Sep 18 2020 Elbert Pol <elbert.pol@gmail.com> - 1.9.3-1 154 163 - First RPM for OS2
Note:
See TracChangeset
for help on using the changeset viewer.
