From 27fb6be3466bb1df38a4e709c8ab3cfb62a2b559 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 22:33:59 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.1.1-1mamba;Tue Aug 01 2023] --- README.md | 2 ++ frozen.spec | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 frozen.spec diff --git a/README.md b/README.md index 83f50e6..944d05d 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # frozen +A header-only, constexpr alternative to gperf for C++14 users. + diff --git a/frozen.spec b/frozen.spec new file mode 100644 index 0000000..d8a91c2 --- /dev/null +++ b/frozen.spec @@ -0,0 +1,58 @@ +Name: frozen +Version: 1.1.1 +Release: 1mamba +Summary: A header-only, constexpr alternative to gperf for C++14 users +Group: Development/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/serge-sans-paille/frozen +Source: https://github.com/serge-sans-paille/frozen.git/%{version}/frozen-%{version}.tar.bz2 +License: Apache License 2.0 +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +BuildRequires: cmake + +%description +A header-only, constexpr alternative to gperf for C++14 users. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} + +%description devel +A header-only, constexpr alternative to gperf for C++14 users. +This package contains the header files for developing applications that use %{name}. + + +#% debug_package + +%prep +%setup -q + +%build +%cmake -d build \ + -DBUILD_TESTING=OFF + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/frozen +%dir %{_includedir}/frozen/bits +%{_includedir}/frozen/bits/*.h +%{_includedir}/frozen/*.h +%dir %{_datadir}/cmake/frozen +%{_datadir}/cmake/frozen/frozen*.cmake +%doc AUTHORS LICENSE + +%changelog +* Tue Aug 01 2023 Silvan Calarco 1.1.1-1mamba +- package created using the webbuild interface