[packages/simdjson] new (version 0.3.1)

atler atler at pld-linux.org
Sun Apr 12 21:00:14 CEST 2020


commit e047ea4b2fa1dcdbaba1257d8236c1ddc4e12e34
Author: Jan Palus <atler at pld-linux.org>
Date:   Sun Apr 12 20:59:32 2020 +0200

    new (version 0.3.1)

 simdjson.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 59 insertions(+)
---
diff --git a/simdjson.spec b/simdjson.spec
new file mode 100644
index 0000000..65b9b91
--- /dev/null
+++ b/simdjson.spec
@@ -0,0 +1,59 @@
+Summary:	Parsing gigabytes of JSON per second
+Name:		simdjson
+Version:	0.3.1
+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:	364a45a51526cad04d074ccd144b35fb
+URL:		https://simdjson.org
+BuildRequires:	cmake >= 3.9
+BuildRequires:	libstdc++-devel >= 6:5
+ExclusiveArch:	%{x8664} aarch64
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+JSON documents are everywhere on the Internet. Servers spend a lot of
+time parsing these documents. simdjson aims to accelerate the parsing
+of JSON per se using commonly available SIMD instructions as much as
+possible while doing full validation (including character encoding).
+
+%package devel
+Summary:	Header files for simdjson library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for simdjson library.
+
+%prep
+%setup -q
+
+%build
+%cmake
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%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.1
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsimdjson.so
+%{_libdir}/cmake/simdjson
+%{_includedir}/simdjson.h
+%{_includedir}/simdjson
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/simdjson.git/commitdiff/e047ea4b2fa1dcdbaba1257d8236c1ddc4e12e34



More information about the pld-cvs-commit mailing list