]> git.pld-linux.org Git - packages/flatbuffers.git/blame - flatbuffers.spec
new, version 1.9.0
[packages/flatbuffers.git] / flatbuffers.spec
CommitLineData
e9a9e63b
ER
1Summary: Memory efficient serialization library
2Name: flatbuffers
3Version: 1.9.0
4Release: 0.1
5License: Apache v2.0
6Group: Applications
7Source0: https://github.com/google/flatbuffers/archive/v%{version}/%{name}-%{version}.tar.gz
8# Source0-md5: 8be7513bf960034f6873326d09521a4b
9URL: https://google.github.io/flatbuffers/
10BuildRequires: cmake
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14FlatBuffers is an efficient cross platform serialization library for
15C++, C#, C, Go, Java, JavaScript, Lobster, Lua, TypeScript, PHP,
16Python, and Rust. It was originally created at Google for game
17development and other performance-critical applications.
18
19%package devel
20Summary: Header files for %{name} library
21Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
22Group: Development/Libraries
23
24%description devel
25Header files for %{name} library.
26
27%prep
28%setup -q
29
30%build
31install -d build
32cd build
33%cmake \
34 -DFLATBUFFERS_BUILD_FLATLIB=OFF \
35 -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
36 -DFLATBUFFERS_BUILD_TESTS=OFF \
37 ..
38%{__make}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42%{__make} -C build install \
43 DESTDIR=$RPM_BUILD_ROOT
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(644,root,root,755)
50%attr(755,root,root) %{_bindir}/flatc
This page took 0.140433 seconds and 4 git commands to generate.