X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=simdjson.spec;h=3f8010ed8594b52afe29db3ba71cb3345564a672;hb=1591df829287af603b3f1c1a4e04f55120ab956b;hp=ad83aedb1b27a21e234b9603b5670facf86acbd7;hpb=1e97f32aaa20bce57278b44ecf891967f547bd3a;p=packages%2Fsimdjson.git diff --git a/simdjson.spec b/simdjson.spec index ad83aed..3f8010e 100644 --- a/simdjson.spec +++ b/simdjson.spec @@ -1,14 +1,14 @@ Summary: Parsing gigabytes of JSON per second Name: simdjson -Version: 1.0.0 +Version: 3.1.2 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: 3ecb7235835ff3533dc92123d3b700c0 +# Source0-md5: 754b9d69fdf3b3369aafea9026980971 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 @@ -51,10 +50,11 @@ rm -rf $RPM_BUILD_ROOT %defattr(644,root,root,755) %doc AUTHORS CONTRIBUTING.md CONTRIBUTORS HACKING.md README.md RELEASES.md %attr(755,root,root) %{_libdir}/libsimdjson.so.*.*.* -%attr(755,root,root) %ghost %{_libdir}/libsimdjson.so.9 +%attr(755,root,root) %ghost %{_libdir}/libsimdjson.so.15 %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libsimdjson.so %{_libdir}/cmake/simdjson %{_includedir}/simdjson.h +%{_pkgconfigdir}/simdjson.pc