diff --git a/README.md b/README.md index 4d210ed..312f054 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # memstrack +A memory allocation trace, like a hot spot analyzer for memory allocation, it can help analyze overall memory usage, peak memory usage, kernel module memory usage. Userspace memory trace is planned and not yet implemented. + diff --git a/memstrack.spec b/memstrack.spec new file mode 100644 index 0000000..ba8fc7a --- /dev/null +++ b/memstrack.spec @@ -0,0 +1,48 @@ +Name: memstrack +Version: 0.1.12 +Release: 2mamba +Summary: A memory allocation trace, like a hot spot analyzer for memory allocation +Group: Development/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ryncsn/memstrack.git +Source: https://github.com/ryncsn/memstrack.git/v%{version}/memstrack-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ldconfig +BuildRequires: libncurses-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A memory allocation trace, like a hot spot analyzer for memory allocation, it can help analyze overall memory usage, peak memory usage, kernel module memory usage. Userspace memory trace is planned and not yet implemented. + +%debug_package + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall \ + bindir=/bin + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +/bin/memstrack +%doc LICENSE + +%changelog +* Sat Dec 26 2020 Silvan Calarco 0.1.12-2mamba +- move binary to /bin as wanted by dracut + +* Sat Dec 26 2020 Silvan Calarco 0.1.12-1mamba +- package created using the webbuild interface