Split out a separate libsysprof package
... and avoid -devel subpackage depending on the GUI app.
This commit is contained in:
parent
022d545459
commit
d94bd3d947
34
sysprof.spec
34
sysprof.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: sysprof
|
Name: sysprof
|
||||||
Version: 3.38.0
|
Version: 3.38.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A system-wide Linux profiler
|
Summary: A system-wide Linux profiler
|
||||||
|
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
@ -18,6 +18,7 @@ BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
|||||||
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
|
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version}
|
||||||
BuildRequires: pkgconfig(gobject-2.0)
|
BuildRequires: pkgconfig(gobject-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
||||||
BuildRequires: pkgconfig(libdazzle-1.0)
|
BuildRequires: pkgconfig(libdazzle-1.0)
|
||||||
BuildRequires: pkgconfig(libsystemd)
|
BuildRequires: pkgconfig(libsystemd)
|
||||||
BuildRequires: pkgconfig(polkit-gobject-1)
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||||
@ -40,14 +41,21 @@ calltrees.
|
|||||||
Summary: Sysprof command line utility
|
Summary: Sysprof command line utility
|
||||||
# sysprofd needs turbostat
|
# sysprofd needs turbostat
|
||||||
Requires: kernel-tools
|
Requires: kernel-tools
|
||||||
|
Requires: libsysprof%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description cli
|
%description cli
|
||||||
The %{name}-cli package contains the sysprof-cli command line utility.
|
The %{name}-cli package contains the sysprof-cli command line utility.
|
||||||
|
|
||||||
|
|
||||||
|
%package -n libsysprof
|
||||||
|
Summary: Sysprof libraries
|
||||||
|
|
||||||
|
%description -n libsysprof
|
||||||
|
The libsysprof package contains the Sysprof libraries.
|
||||||
|
|
||||||
|
|
||||||
%package -n libsysprof-ui
|
%package -n libsysprof-ui
|
||||||
Summary: Sysprof UI library
|
Summary: Sysprof UI library
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.0
|
|
||||||
|
|
||||||
%description -n libsysprof-ui
|
%description -n libsysprof-ui
|
||||||
The libsysprof-ui package contains the Sysprof UI library.
|
The libsysprof-ui package contains the Sysprof UI library.
|
||||||
@ -55,7 +63,8 @@ The libsysprof-ui package contains the Sysprof UI library.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: libsysprof%{?_isa} = %{version}-%{release}
|
||||||
|
Requires: libsysprof-ui%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
The %{name}-devel package contains libraries and header files for
|
The %{name}-devel package contains libraries and header files for
|
||||||
@ -94,13 +103,7 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%files cli -f %{name}.lang
|
%files cli -f %{name}.lang
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_bindir}/sysprof-cli
|
%{_bindir}/sysprof-cli
|
||||||
%{_libdir}/libsysprof-4.so
|
|
||||||
%{_libdir}/libsysprof-memory-4.so
|
|
||||||
%{_libdir}/libsysprof-speedtrack-4.so
|
|
||||||
%{_libexecdir}/sysprofd
|
%{_libexecdir}/sysprofd
|
||||||
%{_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
|
|
||||||
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf
|
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof2.conf
|
||||||
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof3.conf
|
%{_datadir}/dbus-1/system.d/org.gnome.Sysprof3.conf
|
||||||
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service
|
%{_datadir}/dbus-1/system-services/org.gnome.Sysprof2.service
|
||||||
@ -109,6 +112,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%{_unitdir}/sysprof2.service
|
%{_unitdir}/sysprof2.service
|
||||||
%{_unitdir}/sysprof3.service
|
%{_unitdir}/sysprof3.service
|
||||||
|
|
||||||
|
%files -n libsysprof
|
||||||
|
%license COPYING
|
||||||
|
%{_libdir}/libsysprof-4.so
|
||||||
|
%{_libdir}/libsysprof-memory-4.so
|
||||||
|
%{_libdir}/libsysprof-speedtrack-4.so
|
||||||
|
|
||||||
%files -n libsysprof-ui
|
%files -n libsysprof-ui
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%{_libdir}/libsysprof-ui-4.so
|
%{_libdir}/libsysprof-ui-4.so
|
||||||
@ -119,9 +128,16 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
%{_libdir}/pkgconfig/sysprof-capture-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
|
%{_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
|
%changelog
|
||||||
|
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 3.38.0-2
|
||||||
|
- Split out a separate libsysprof package and avoid -devel subpackage depending
|
||||||
|
on the GUI app
|
||||||
|
|
||||||
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
|
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
|
||||||
- Update to 3.38.0
|
- Update to 3.38.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user