Name: libmaa Version: 1.4.7 Release: 1%{?dist} Summary: Library that implements some basic data structures and algorithms URL: https://github.com/cheusov/libmaa License: MIT Source0: https://github.com/cheusov/libmaa/archive/refs/tags/%{version}/%{name}-%{version}.tar.gz BuildRequires: mk-configure BuildRequires: gcc BuildRequires: pkgconfig(zlib) %description This library implements some basic data structures and algorithms such as command line arguments handling, base26 and base64 routines, bits manipulation, debugging and error reporting routines, hash tables, sets, lists, stacks, skip lists, string pool routines, memory management routines, parsing routines, process management routines, source code management routines and timer support. %package devel Summary: Development files for libmaa Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development files (Headers, etc) for libmaa. %global env \ export MKSTATICLIB=no \ export NOSUBDIR=doc %prep %autosetup -p1 %build %{env} %mkcmake %check %mkcmake tests %install %{env} %mkcmake install DESTDIR=%{buildroot} chmod +x %{buildroot}/%{_libdir}/*.so.* %files %license doc/LICENSE %doc README doc/NEWS %{_libdir}/libmaa.so.4{,.*} %files devel %{_includedir}/maa* %{_libdir}/libmaa.so %changelog * Sun Jan 7 2024 Carlos Rodriguez-Fernandez - 1.4.7-1 - First release