]> git.pld-linux.org Git - packages/simdjson.git/blame_incremental - simdjson.spec
up to 3.2.2
[packages/simdjson.git] / simdjson.spec
... / ...
CommitLineData
1Summary: Parsing gigabytes of JSON per second
2Name: simdjson
3Version: 3.2.2
4Release: 1
5License: Apache v2.0
6Group: Libraries
7#Source0Download: https://github.com/simdjson/simdjson/releases
8Source0: https://github.com/simdjson/simdjson/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: b23c2654ed0acf14cf4c006fa338fd9a
10URL: https://simdjson.org
11BuildRequires: cmake >= 3.14
12BuildRequires: libstdc++-devel >= 6:5
13BuildRequires: rpmbuild(macros) >= 1.605
14ExclusiveArch: %{x8664} aarch64
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18JSON documents are everywhere on the Internet. Servers spend a lot of
19time parsing these documents. simdjson aims to accelerate the parsing
20of JSON per se using commonly available SIMD instructions as much as
21possible while doing full validation (including character encoding).
22
23%package devel
24Summary: Header files for simdjson library
25Group: Development/Libraries
26Requires: %{name} = %{version}-%{release}
27
28%description devel
29Header files for simdjson library.
30
31%prep
32%setup -q
33
34%build
35%cmake -B build
36%{__make} -C build
37
38%install
39rm -rf $RPM_BUILD_ROOT
40%{__make} -C build install \
41 DESTDIR=$RPM_BUILD_ROOT
42
43%clean
44rm -rf $RPM_BUILD_ROOT
45
46%post -p /sbin/ldconfig
47%postun -p /sbin/ldconfig
48
49%files
50%defattr(644,root,root,755)
51%doc AUTHORS CONTRIBUTING.md CONTRIBUTORS HACKING.md README.md
52%attr(755,root,root) %{_libdir}/libsimdjson.so.*.*.*
53%attr(755,root,root) %ghost %{_libdir}/libsimdjson.so.16
54
55%files devel
56%defattr(644,root,root,755)
57%attr(755,root,root) %{_libdir}/libsimdjson.so
58%{_libdir}/cmake/simdjson
59%{_includedir}/simdjson.h
60%{_pkgconfigdir}/simdjson.pc
This page took 0.079156 seconds and 4 git commands to generate.