From fe6da85226e6566f536934a216853d752b865ad1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:57:40 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.7.0-1mamba;Tue Dec 12 2023] --- README.md | 2 ++ libtracefs.spec | 76 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 libtracefs.spec diff --git a/README.md b/README.md index f3f6c8a..b443fca 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libtracefs +Linux kernel trace file system library. + diff --git a/libtracefs.spec b/libtracefs.spec new file mode 100644 index 0000000..9a01351 --- /dev/null +++ b/libtracefs.spec @@ -0,0 +1,76 @@ +Name: libtracefs +Version: 1.7.0 +Release: 1mamba +Summary: Linux kernel trace file system library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/about/ +Source: https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/libtracefs-%{version}.tar.gz +License: GPL, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libtraceevent-devel +## AUTOBUILDREQ-END +BuildRequires: meson + +%description +Linux kernel trace file system library. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: System/Tools +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +%meson +%meson_build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%meson_install + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libtracefs.so.* +%doc LICENSES + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libtracefs +%{_includedir}/libtracefs/tracefs.h +%{_libdir}/libtracefs.a +%{_libdir}/libtracefs.so +%{_libdir}/pkgconfig/libtracefs.pc +%doc README + +%files tools +%defattr(-,root,root) +%{_bindir}/sqlhist + +%changelog +* Tue Dec 12 2023 Silvan Calarco 1.7.0-1mamba +- package created using the webbuild interface