Split totem-video-thumbnailer out to a separate subpackage

This allows us to install it separately from totem itself in Silverblue.

https://pagure.io/fedora-workstation/issue/168
This commit is contained in:
Kalev Lember 2021-02-23 14:25:50 +01:00
parent fd05d5b7d3
commit fa714168a0

View File

@ -4,7 +4,7 @@
Name: totem
Epoch: 1
Version: 3.38.0
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Movie player for GNOME
License: GPLv2+ with exceptions
@ -48,6 +48,8 @@ BuildRequires: liberation-sans-fonts
BuildRequires: pkgconfig(grilo-0.3)
BuildRequires: pkgconfig(grilo-pls-0.3)
Requires: %{name}-video-thumbnailer%{?_isa} = %{epoch}:%{version}-%{release}
# For all the Python plugins
Requires: libpeas-loader-python3%{?_isa}
Requires: python3-gobject
@ -79,6 +81,12 @@ a pretty complete keyboard navigation.
Totem is extensible through a plugin system.
%package video-thumbnailer
Summary: Totem video thumbnailer
%description video-thumbnailer
This package contains the Totem video thumbnailer.
%package devel
Summary: Plugin writer's documentation for totem
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
@ -111,7 +119,6 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.de
%doc AUTHORS NEWS README
%license COPYING
%{_bindir}/totem
%{_bindir}/totem-video-thumbnailer
%{_libdir}/libtotem.so.*
%{_libdir}/girepository-1.0/Totem-1.0.typelib
%{_datadir}/applications/org.gnome.Totem.desktop
@ -150,11 +157,15 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.de
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Totem.svg
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Totem-symbolic.svg
%{_mandir}/man1/totem.1*
%{_mandir}/man1/totem-video-thumbnailer.1*
%{_datadir}/GConf/gsettings/*.convert
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/thumbnailers/totem.thumbnailer
%files video-thumbnailer
%license COPYING
%{_bindir}/totem-video-thumbnailer
%{_mandir}/man1/totem-video-thumbnailer.1*
%files devel
%{_datadir}/gtk-doc/html/totem
%{_includedir}/totem
@ -163,6 +174,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.de
%{_datadir}/gir-1.0/Totem-1.0.gir
%changelog
* Tue Feb 23 2021 Kalev Lember <klember@redhat.com> - 1:3.38.0-4
- Split totem-video-thumbnailer out to a separate subpackage
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.38.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild