diff --git a/sysprof.spec b/sysprof.spec index e4f07ec..833731d 100644 --- a/sysprof.spec +++ b/sysprof.spec @@ -2,7 +2,7 @@ Name: sysprof Version: 3.39.92 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A system-wide Linux profiler License: GPLv3+ @@ -61,8 +61,18 @@ Summary: Sysprof UI library The libsysprof-ui package contains the Sysprof UI library. +%package capture-devel +Summary: Development files for sysprof-capture static library +License: BSD-2-Clause-Patent +Provides: sysprof-capture-static = %{version}-%{release} + +%description capture-devel +The %{name}-capture-devel package contains the sysprof-capture static library and header files. + + %package devel Summary: Development files for %{name} +Requires: %{name}-capture-devel%{?_isa} = %{version}-%{release} Requires: libsysprof%{?_isa} = %{version}-%{release} Requires: libsysprof-ui%{?_isa} = %{version}-%{release} @@ -122,18 +132,38 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %license COPYING %{_libdir}/libsysprof-ui-4.so +%files capture-devel +%license src/libsysprof-capture/COPYING +%dir %{_includedir}/sysprof-4 +%{_includedir}/sysprof-4/sysprof-address.h +%{_includedir}/sysprof-4/sysprof-capture-condition.h +%{_includedir}/sysprof-4/sysprof-capture-cursor.h +%{_includedir}/sysprof-4/sysprof-capture.h +%{_includedir}/sysprof-4/sysprof-capture-reader.h +%{_includedir}/sysprof-4/sysprof-capture-types.h +%{_includedir}/sysprof-4/sysprof-capture-writer.h +%{_includedir}/sysprof-4/sysprof-clock.h +%{_includedir}/sysprof-4/sysprof-collector.h +%{_includedir}/sysprof-4/sysprof-macros.h +%{_includedir}/sysprof-4/sysprof-platform.h +%{_includedir}/sysprof-4/sysprof-version.h +%{_includedir}/sysprof-4/sysprof-version-macros.h +%{_libdir}/libsysprof-capture-4.a +%{_libdir}/pkgconfig/sysprof-capture-4.pc + %files devel %{_includedir}/sysprof-4/ %{_libdir}/pkgconfig/sysprof-4.pc -%{_libdir}/pkgconfig/sysprof-capture-4.pc %{_libdir}/pkgconfig/sysprof-ui-4.pc -%{_libdir}/libsysprof-capture-4.a %{_datadir}/dbus-1/interfaces/org.gnome.Sysprof2.xml %{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml %{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml %changelog +* Wed Feb 24 2021 Kalev Lember - 3.39.92-2 +- Split sysprof-capture library and header files out to sysprof-capture-devel + * Wed Feb 24 2021 Kalev Lember - 3.39.92-1 - Update to 3.39.92