X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=simdjson.spec;h=20a2906b7d19dcccb6c37a44a573c8e7743637c5;hb=28ae05ebb11438509f50d02c29e5a52860a2a9f8;hp=3cee41719eb9191178542403f7ba43911d017ceb;hpb=c051acb26d88bebda97538cbb633ee40403ec1a5;p=packages%2Fsimdjson.git diff --git a/simdjson.spec b/simdjson.spec index 3cee417..20a2906 100644 --- a/simdjson.spec +++ b/simdjson.spec @@ -1,14 +1,14 @@ Summary: Parsing gigabytes of JSON per second Name: simdjson -Version: 0.9.0 +Version: 3.7.0 Release: 1 License: Apache v2.0 Group: Libraries #Source0Download: https://github.com/simdjson/simdjson/releases Source0: https://github.com/simdjson/simdjson/archive/v%{version}/%{name}-%{version}.tar.gz -# Source0-md5: 8f945ec979630d4ab3c5df9f303564d9 +# Source0-md5: bd05b5f5aac84b9113ffd1bfd0a9c07b URL: https://simdjson.org -BuildRequires: cmake >= 3.9 +BuildRequires: cmake >= 3.14 BuildRequires: libstdc++-devel >= 6:5 BuildRequires: rpmbuild(macros) >= 1.605 ExclusiveArch: %{x8664} aarch64 @@ -32,13 +32,12 @@ Header files for simdjson library. %setup -q %build -%cmake \ - -DSIMDJSON_JUST_LIBRARY=ON -%{__make} +%cmake -B build +%{__make} -C build %install rm -rf $RPM_BUILD_ROOT -%{__make} install \ +%{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT %clean @@ -49,12 +48,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS HACKING.md README.md RELEASES.md +%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS HACKING.md README.md %attr(755,root,root) %{_libdir}/libsimdjson.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libsimdjson.so.8 +%attr(755,root,root) %ghost %{_libdir}/libsimdjson.so.20 %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libsimdjson.so %{_libdir}/cmake/simdjson %{_includedir}/simdjson.h +%{_pkgconfigdir}/simdjson.pc