package created using the webbuild interface [release 1.7.0-1mamba;Tue Dec 12 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 05:57:40 +01:00
parent 805b4d5ab7
commit fe6da85226
2 changed files with 78 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libtracefs
Linux kernel trace file system library.

76
libtracefs.spec Normal file
View File

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