Signed-off-by: cherry530 <707078654@qq.com> (cherry picked from commit 3785a86332ab6267527f808bc1b4104262c930c6)
110 lines
3.7 KiB
RPMSpec
110 lines
3.7 KiB
RPMSpec
%global gst_plugins_base_version 1.6.0
|
|
%global gtk3_version 3.19.4
|
|
|
|
Name: totem
|
|
Epoch: 1
|
|
Version: 42.0
|
|
Release: 2
|
|
Summary: GNOME Movie Player
|
|
License: GPLv2+
|
|
URL: https://wiki.gnome.org/Apps/Videos
|
|
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc-c++ gettext gtk-doc itstool meson vala liberation-sans-fonts
|
|
BuildRequires: libappstream-glib desktop-file-utils pygobject3-devel python3-devel
|
|
BuildRequires: cairo-devel gstreamer1-plugins-base-devel >= %{gst_plugins_base_version}
|
|
BuildRequires: gstreamer1-plugins-good gstreamer1-plugins-good-gtk
|
|
BuildRequires: gstreamer1-devel gnome-desktop3-devel gsettings-desktop-schemas-devel
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
|
BuildRequires: pkgconfig(libhandy-1) pkgconfig(libpeas-gtk-1.0) pkgconfig(totem-plparser)
|
|
BuildRequires: pkgconfig(x11) pkgconfig(grilo-0.3) pkgconfig(grilo-pls-0.3)
|
|
|
|
Requires: libpeas-loader-python3%{?_isa} python3-gobject iso-codes gstreamer1 gvfs-fuse3
|
|
Requires: gstreamer1-plugins-base%{?_isa} >= %{gst_plugins_base_version}
|
|
Requires: gstreamer1-plugins-good%{?_isa}
|
|
Requires: gstreamer1-plugins-good-gtk%{?_isa}
|
|
Requires: grilo-plugins gsettings-desktop-schemas
|
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
|
|
|
Recommends: gstreamer1-plugin-openh264%{?_isa}
|
|
Obsoletes: totem-nautilus < 1:42.0
|
|
Obsoletes: totem-lirc < 1:3.33.0
|
|
|
|
%description
|
|
Totem is a simple movie player for the GNOME desktop. it has Simple playlists, full screen mode,
|
|
search and volume controls, and fairly complete keyboard navigation.
|
|
|
|
%package devel
|
|
Summary: Documentation for totem
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
%description devel
|
|
The totem-devel package contains API documentation for developing plugins for totem.
|
|
|
|
%package_help
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson -Denable-gtk-doc=true
|
|
%meson_build -j1
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name} --with-gnome
|
|
|
|
%py_byte_compile %{__python3} %{buildroot}%{_libdir}/totem/plugins/
|
|
|
|
%check
|
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.desktop
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files -f %{name}.lang
|
|
%doc AUTHORS NEWS README
|
|
%license COPYING
|
|
%{_bindir}/{totem,totem-video-thumbnailer}
|
|
%{_libdir}/libtotem.so.*
|
|
%{_libdir}/girepository-1.0/Totem-1.0.typelib
|
|
%{_datadir}/applications/org.gnome.Totem.desktop
|
|
%{_datadir}/dbus-1/services/org.gnome.Totem.service
|
|
%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
|
%{_datadir}/totem/{shortcuts.ui,totem.ui,uri.ui}
|
|
%{_libdir}/totem/plugins/*
|
|
%{_libexecdir}/totem-gallery-thumbnailer
|
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Totem*.svg
|
|
%{_datadir}/GConf/gsettings/*.convert
|
|
%{_datadir}/glib-2.0/schemas/*.xml
|
|
%{_datadir}/thumbnailers/totem.thumbnailer
|
|
|
|
%files devel
|
|
%{_includedir}/totem
|
|
%{_libdir}/libtotem.so
|
|
%{_libdir}/pkgconfig/totem.pc
|
|
%{_datadir}/gir-1.0/Totem-1.0.gir
|
|
|
|
%files help
|
|
%{_datadir}/gtk-doc/html/totem
|
|
%{_mandir}/man1/%{name}.1*
|
|
%{_mandir}/man1/totem-video-thumbnailer.1*
|
|
|
|
%changelog
|
|
* Mon Jun 12 2023 xu_ping <707078654@qq.com> - 1:42.0-2
|
|
- fix install conflict
|
|
|
|
* Mon Jun 13 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1:42.0-1
|
|
- Update to 42.0 and Add totem.yaml
|
|
|
|
* Tue Jun 22 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
|
|
- Upgrade to 3.38.0
|
|
- Sub package totem-nautilus becomes empty
|
|
in version 3.31.91 Move nautilus properties page to nautilus module
|
|
|
|
* Wed Oct 28 2020 Anan Fu <fuanan3@huawei.com> - 3.30.0-1
|
|
- package init
|