From 2f4e933c7790f76652c41680d2d38cc6ff838470 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:10:09 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3.0-1mamba;Tue Sep 29 2020] --- README.md | 2 ++ cereal.spec | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 cereal.spec diff --git a/README.md b/README.md index c53eaab..716ffdf 100644 --- a/README.md +++ b/README.md @@ -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. + diff --git a/cereal.spec b/cereal.spec new file mode 100644 index 0000000..c287f27 --- /dev/null +++ b/cereal.spec @@ -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 +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 1.3.0-1mamba +- package created using the webbuild interface