package created using the webbuild interface [release 1.3.0-1mamba;Tue Sep 29 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:10:09 +01:00
parent 0d041aecc5
commit 2f4e933c77
2 changed files with 69 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# cereal
cereal is a header-only C++11 serialization library. cereal takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON. cereal was designed to be fast, light-weight, and easy to extend - it has no external dependencies and can be easily bundled with other code or used standalone.

67
cereal.spec Normal file
View File

@ -0,0 +1,67 @@
Name: cereal
Version: 1.3.0
Release: 1mamba
Summary: A C++11 library for serialization
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://uscilab.github.io/cereal/
## GITSOURCE https://github.com/USCiLab/cereal.git v1.3.0
Source: https://github.com/USCiLab/cereal.git/v%{version}/cereal-%{version}.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
cereal is a header-only C++11 serialization library. cereal takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON. cereal was designed to be fast, light-weight, and easy to extend - it has no external dependencies and can be easily bundled with other code or used standalone.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: A C++11 header-only library for serialization
%description -n lib%{name}-devel
cereal is a header-only C++11 serialization library. cereal takes arbitrary data types and reversibly turns them into different representations, such as compact binary encodings, XML, or JSON. cereal was designed to be fast, light-weight, and easy to extend - it has no external dependencies and can be easily bundled with other code or used standalone.
This package contains header files for developing applications that use %{name}.
#% debug_package
%prep
%setup -q
%build
%cmake -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/cereal
%{_includedir}/cereal/*.hpp
%dir %{_includedir}/cereal/archives
%{_includedir}/cereal/archives/*.hpp
%dir %{_includedir}/cereal/details
%{_includedir}/cereal/details/*.hpp
%dir %{_includedir}/cereal/external
%{_includedir}/cereal/external/*.hpp
%dir %{_includedir}/cereal/external/rapidjson
%{_includedir}/cereal/external/rapidjson/*
%dir %{_includedir}/cereal/external/rapidxml
%{_includedir}/cereal/external/rapidxml/*
%dir %{_includedir}/cereal/types
%{_includedir}/cereal/types/*
%{_datadir}/cmake/cereal/cereal-config.cmake
%doc LICENSE README.md
%changelog
* Tue Sep 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-1mamba
- package created using the webbuild interface