Split sysprof-capture library and header files out to sysprof-capture-devel
This massively reduces the dep chain for packages that only need sysprof-capture-4.pc, e.g. glib2-devel which before would pull in all of the libsysprof-ui deps recursively.
This commit is contained in:
parent
6e8344f0b5
commit
d92ba87f21
36
sysprof.spec
36
sysprof.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: sysprof
|
Name: sysprof
|
||||||
Version: 3.39.92
|
Version: 3.39.92
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A system-wide Linux profiler
|
Summary: A system-wide Linux profiler
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -61,8 +61,18 @@ Summary: Sysprof UI library
|
|||||||
The libsysprof-ui package contains the 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
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name}-capture-devel%{?_isa} = %{version}-%{release}
|
||||||
Requires: libsysprof%{?_isa} = %{version}-%{release}
|
Requires: libsysprof%{?_isa} = %{version}-%{release}
|
||||||
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
|
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
@ -122,18 +132,38 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libsysprof-ui-4.so
|
%{_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
|
%files devel
|
||||||
%{_includedir}/sysprof-4/
|
%{_includedir}/sysprof-4/
|
||||||
%{_libdir}/pkgconfig/sysprof-4.pc
|
%{_libdir}/pkgconfig/sysprof-4.pc
|
||||||
%{_libdir}/pkgconfig/sysprof-capture-4.pc
|
|
||||||
%{_libdir}/pkgconfig/sysprof-ui-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.Sysprof2.xml
|
||||||
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml
|
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Profiler.xml
|
||||||
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml
|
%{_datadir}/dbus-1/interfaces/org.gnome.Sysprof3.Service.xml
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 24 2021 Kalev Lember <klember@redhat.com> - 3.39.92-2
|
||||||
|
- Split sysprof-capture library and header files out to sysprof-capture-devel
|
||||||
|
|
||||||
* Wed Feb 24 2021 Kalev Lember <klember@redhat.com> - 3.39.92-1
|
* Wed Feb 24 2021 Kalev Lember <klember@redhat.com> - 3.39.92-1
|
||||||
- Update to 3.39.92
|
- Update to 3.39.92
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user