]> git.pld-linux.org Git - packages/simdjson.git/blobdiff - simdjson.spec
up to 3.1.2
[packages/simdjson.git] / simdjson.spec
index ad83aedb1b27a21e234b9603b5670facf86acbd7..3f8010ed8594b52afe29db3ba71cb3345564a672 100644 (file)
@@ -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
This page took 0.105315 seconds and 4 git commands to generate.