Name: libheap-monitor Summary: Library for monitoring the heap usage Version: 0.0.10 Release: 1 Group: main/app License: Flora License Source0: %{name}-%{version}.tar.gz BuildRequires: cmake, gettext-tools BuildRequires: pkgconfig(dlog) %description Monitoring the heap usage to manage them safely. %package devel Summary: Files for implementaion of the heap monitor. Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description devel Monitoring the heap usage to manage them safely.(dev) %prep %setup -q %build cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} CFLAGS+="${CFLAGS} -fvisibility=hidden -Wall -Werror -Winline -fno-builtin-malloc" make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install mkdir -p %{buildroot}/usr/share/license %post %files %manifest libheap-monitor.manifest %defattr(-,root,root,-) /usr/lib/*.so* /usr/share/license/* %files devel %defattr(-,root,root,-) /usr/include/heap-monitor/heap-monitor.h /usr/lib/pkgconfig/*.pc