Update to 42.0 and Add totem.yaml
(cherry picked from commit 5edb4d77a792759440bdfcd925c1d40b129ff521)
This commit is contained in:
parent
73378b2c0e
commit
1cc16d51a5
Binary file not shown.
BIN
totem-42.0.tar.xz
Normal file
BIN
totem-42.0.tar.xz
Normal file
Binary file not shown.
102
totem.spec
102
totem.spec
@ -1,44 +1,38 @@
|
|||||||
%global __python %{__python3}
|
%global gst_plugins_base_version 1.6.0
|
||||||
|
%global gtk3_version 3.19.4
|
||||||
|
|
||||||
Name: totem
|
Name: totem
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.38.0
|
Version: 42.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: GNOME Movie Player
|
Summary: GNOME Movie Player
|
||||||
License: GPLv2+ with exceptions
|
License: GPLv2+
|
||||||
URL: https://wiki.gnome.org/Apps/Videos
|
URL: https://wiki.gnome.org/Apps/Videos
|
||||||
Source0: https://download.gnome.org/sources/totem/3.38/totem-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: pkgconfig(cairo) pkgconfig(clutter-1.0) pkgconfig(clutter-gst-3.0)
|
BuildRequires: gcc-c++ gettext gtk-doc itstool meson vala liberation-sans-fonts
|
||||||
BuildRequires: pkgconfig(clutter-gtk-1.0) pkgconfig(gnome-desktop-3.0)
|
BuildRequires: libappstream-glib desktop-file-utils pygobject3-devel python3-devel
|
||||||
BuildRequires: pkgconfig(gsettings-desktop-schemas) pkgconfig(gstreamer-1.0)
|
BuildRequires: cairo-devel gstreamer1-plugins-base-devel >= %{gst_plugins_base_version}
|
||||||
BuildRequires: pkgconfig(gstreamer-base-1.0) pkgconfig(gstreamer-plugins-base-1.0) >= 1.6.0
|
BuildRequires: gstreamer1-plugins-good gstreamer1-plugins-good-gtk
|
||||||
BuildRequires: pkgconfig(gstreamer-audio-1.0) pkgconfig(gstreamer-tag-1.0)
|
BuildRequires: gstreamer1-devel gnome-desktop3-devel gsettings-desktop-schemas-devel
|
||||||
BuildRequires: pkgconfig(gstreamer-video-1.0) pkgconfig(gtk+-3.0) >= 3.19.4
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
||||||
BuildRequires: pkgconfig(libpeas-gtk-1.0) pkgconfig(totem-plparser) gstreamer1-plugins-good
|
BuildRequires: pkgconfig(libhandy-1) pkgconfig(libpeas-gtk-1.0) pkgconfig(totem-plparser)
|
||||||
BuildRequires: gcc-c++ gettext gtk-doc intltool itstool meson python3-devel
|
BuildRequires: pkgconfig(x11) pkgconfig(grilo-0.3) pkgconfig(grilo-pls-0.3)
|
||||||
BuildRequires: pkgconfig(pygobject-3.0) vala libappstream-glib desktop-file-utils
|
|
||||||
BuildRequires: pkgconfig(libnautilus-extension) liberation-sans-fonts
|
|
||||||
BuildRequires: pkgconfig(grilo-0.3) pkgconfig(grilo-pls-0.3)
|
|
||||||
|
|
||||||
Requires: libpeas-loader-python3 python3-gobject iso-codes gstreamer1 gvfs-fuse3
|
Requires: libpeas-loader-python3%{?_isa} python3-gobject iso-codes gstreamer1 gvfs-fuse3
|
||||||
Requires: gstreamer1-plugins-base >= 1.6.0 gstreamer1-plugins-good
|
Requires: gstreamer1-plugins-base%{?_isa} >= %{gst_plugins_base_version}
|
||||||
Requires: grilo-plugins gsettings-desktop-schemas gtk3 >= 3.19.4
|
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}
|
||||||
|
Conflicts: totem < 1:3.38.0-4
|
||||||
|
Obsoletes: totem-nautilus < 1:3.31.91
|
||||||
|
Obsoletes: totem-lirc < 1:3.33.0
|
||||||
|
|
||||||
|
Provides: totem-nautilus = %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
Recommends: gstreamer1-plugins-bad-free
|
|
||||||
Obsoletes: totem-mythtv < 1:2.91.0-1
|
|
||||||
Provides: totem-mythtv = %{epoch}:%{version}-%{release}
|
|
||||||
Obsoletes: totem-upnp < 1:3.1.4-1
|
|
||||||
Provides: totem-upnp = %{epoch}:%{version}-%{release}
|
|
||||||
Obsoletes: totem-jamendo < 1:3.1.4-1
|
|
||||||
Provides: totem-jamendo = %{epoch}:%{version}-%{release}
|
|
||||||
Obsoletes: totem-tracker < 1:3.1.4-1
|
|
||||||
Provides: totem-tracker = %{epoch}:%{version}-%{release}
|
|
||||||
Obsoletes: totem-publish < 1:3.1.4-1
|
|
||||||
Provides: totem-publish = %{epoch}:%{version}-%{release}
|
|
||||||
Obsoletes: totem-mozplugin < 1:3.13.90-1
|
|
||||||
Obsoletes: totem-mozplugin-vegas < 1:3.13.90-1
|
|
||||||
Obsoletes: totem-youtube < 1:3.22.1-1
|
|
||||||
Provides: totem-youtube = %{epoch}:%{version}-%{release}
|
|
||||||
%description
|
%description
|
||||||
Totem is a simple movie player for the GNOME desktop. it has Simple playlists, full screen mode,
|
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.
|
search and volume controls, and fairly complete keyboard navigation.
|
||||||
@ -49,17 +43,7 @@ Requires: %{name} = %{epoch}:%{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
The totem-devel package contains API documentation for developing plugins for totem.
|
The totem-devel package contains API documentation for developing plugins for totem.
|
||||||
|
|
||||||
%package nautilus
|
%package_help
|
||||||
Summary: Nautilus' Video and Audio Properties Tab
|
|
||||||
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
||||||
%description nautilus
|
|
||||||
This package provides the Nautilus extension, which displays the properties of audio and video files
|
|
||||||
in the properties dialog.
|
|
||||||
|
|
||||||
%package help
|
|
||||||
Summary: Documentation for totem
|
|
||||||
%description help
|
|
||||||
This package provides documentation for totem.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
@ -70,11 +54,13 @@ This package provides documentation for totem.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
%find_lang totem --with-gnome
|
%find_lang %{name} --with-gnome
|
||||||
|
|
||||||
|
%py_byte_compile %{__python3} %{buildroot}%{_libdir}/totem/plugins/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
||||||
desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Totem.desktop
|
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Totem.desktop
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
@ -82,44 +68,38 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Totem.deskt
|
|||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files -f totem.lang
|
%files -f %{name}.lang
|
||||||
%doc AUTHORS NEWS README COPYING
|
%doc AUTHORS NEWS README
|
||||||
|
%license COPYING
|
||||||
%{_bindir}/{totem,totem-video-thumbnailer}
|
%{_bindir}/{totem,totem-video-thumbnailer}
|
||||||
%{_libdir}/libtotem.so.*
|
%{_libdir}/libtotem.so.*
|
||||||
%{_libdir}/girepository-1.0/Totem-1.0.typelib
|
%{_libdir}/girepository-1.0/Totem-1.0.typelib
|
||||||
%{_datadir}/applications/org.gnome.Totem.desktop
|
%{_datadir}/applications/org.gnome.Totem.desktop
|
||||||
%{_datadir}/dbus-1/services/org.gnome.Totem.service
|
%{_datadir}/dbus-1/services/org.gnome.Totem.service
|
||||||
%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
%{_datadir}/metainfo/org.gnome.Totem.appdata.xml
|
||||||
%dir %{_datadir}/totem
|
|
||||||
%{_datadir}/totem/{controls.ui,playlist.ui,preferences.ui}
|
|
||||||
%{_datadir}/totem/{shortcuts.ui,totem.ui,uri.ui}
|
%{_datadir}/totem/{shortcuts.ui,totem.ui,uri.ui}
|
||||||
%dir %{_libdir}/totem
|
%{_libdir}/totem/plugins/*
|
||||||
%dir %{_libdir}/totem/plugins
|
|
||||||
%{_libdir}/totem/plugins/{dbus,opensubtitles,pythonconsole,open-directory}
|
|
||||||
%{_libdir}/totem/plugins/{apple-trailers,autoload-subtitles}
|
|
||||||
%{_libdir}/totem/plugins/{im-status,recent,rotation,screensaver}
|
|
||||||
%{_libdir}/totem/plugins/{skipto,properties,media-player-keys,screenshot}
|
|
||||||
%{_libdir}/totem/plugins/{save-file,variable-rate,vimeo}
|
|
||||||
%{_libexecdir}/totem-gallery-thumbnailer
|
%{_libexecdir}/totem-gallery-thumbnailer
|
||||||
%{_datadir}/icons/hicolor/*/apps/org.gnome.Totem*.svg
|
%{_datadir}/icons/hicolor/*/apps/org.gnome.Totem*.svg
|
||||||
%{_datadir}/GConf/gsettings/*.convert
|
%{_datadir}/GConf/gsettings/*.convert
|
||||||
%{_datadir}/glib-2.0/schemas/*.xml
|
%{_datadir}/glib-2.0/schemas/*.xml
|
||||||
%{_datadir}/thumbnailers/totem.thumbnailer
|
%{_datadir}/thumbnailers/totem.thumbnailer
|
||||||
|
|
||||||
%files nautilus
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/gtk-doc/html/totem
|
|
||||||
%{_includedir}/totem
|
%{_includedir}/totem
|
||||||
%{_libdir}/libtotem.so
|
%{_libdir}/libtotem.so
|
||||||
%{_libdir}/pkgconfig/totem.pc
|
%{_libdir}/pkgconfig/totem.pc
|
||||||
%{_datadir}/gir-1.0/Totem-1.0.gir
|
%{_datadir}/gir-1.0/Totem-1.0.gir
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
|
%{_datadir}/gtk-doc/html/totem
|
||||||
%{_mandir}/man1/%{name}.1*
|
%{_mandir}/man1/%{name}.1*
|
||||||
%{_mandir}/man1/totem-video-thumbnailer.1*
|
%{_mandir}/man1/totem-video-thumbnailer.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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
|
* Tue Jun 22 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.0-1
|
||||||
- Upgrade to 3.38.0
|
- Upgrade to 3.38.0
|
||||||
- Sub package totem-nautilus becomes empty
|
- Sub package totem-nautilus becomes empty
|
||||||
|
|||||||
4
totem.yaml
Normal file
4
totem.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: gitlab.gnome
|
||||||
|
src_repo: totem
|
||||||
|
tag_prefix: ^v
|
||||||
|
separator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user