frozen/frozen.spec

59 lines
1.5 KiB
RPMSpec
Raw Normal View History

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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.1.1-1mamba
- package created using the webbuild interface