69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
|
Name: libtraceevent
|
||
|
Version: 1.7.3
|
||
|
Release: 1mamba
|
||
|
Summary: Linux kernel trace event library
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git
|
||
|
Source: https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/libtraceevent-%{version}/libtraceevent-%{version}.tar.bz2
|
||
|
License: LGPL-2.1, GPL-2.0
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: meson
|
||
|
|
||
|
%description
|
||
|
Linux kernel trace event library.
|
||
|
|
||
|
%package devel
|
||
|
Group: Development/Libraries
|
||
|
Summary: Development files for %{name}
|
||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
Requires: pkg-config
|
||
|
|
||
|
%description devel
|
||
|
This package contains libraries and header files for developing applications that use %{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}/libtraceevent.so.*
|
||
|
%{_libdir}/libtraceevent/plugins/plugin_*.so.*
|
||
|
%doc LICENSES
|
||
|
|
||
|
%files devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/traceevent
|
||
|
%{_includedir}/traceevent/*.h
|
||
|
%{_libdir}/libtraceevent.a
|
||
|
%{_libdir}/libtraceevent.so
|
||
|
%{_libdir}/libtraceevent/plugins/libtraceevent-dynamic-list
|
||
|
%{_libdir}/libtraceevent/plugins/plugin_*.a
|
||
|
%{_libdir}/libtraceevent/plugins/plugin_*.so
|
||
|
%{_libdir}/pkgconfig/libtraceevent.pc
|
||
|
%doc README
|
||
|
|
||
|
%changelog
|
||
|
* Tue Sep 12 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.3-1mamba
|
||
|
- package created using the webbuild interface
|