Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
totem
totem.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File totem.spec of Package totem
# # spec file for package totem # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define build_zeitgeist_plugin 1 Name: totem Version: 3.20.1 Release: 0 Summary: Movie Player for the GNOME Desktop License: GPL-2.0+ and LGPL-2.1+ Group: Productivity/Multimedia/Video/Players Url: http://www.gnome.org/projects/totem/ Source0: http://download.gnome.org/sources/totem/3.20/%{name}-%{version}.tar.xz # PATCH-FIX-UPSTREAM totem-Fix-build-werror.patch bgo#765036 zaitor@opensuse.org -- backend: Fix the build with -Werror=format Patch0: totem-Fix-build-werror.patch BuildRequires: appstream-glib BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gstreamer-plugins-good >= 0.11.93 # For gst-inspect tool BuildRequires: gstreamer-utils >= 0.11.93 BuildRequires: intltool BuildRequires: lirc-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: vala >= 0.14.1 BuildRequires: yelp-tools BuildRequires: pkgconfig(cairo) >= 1.14.0 BuildRequires: pkgconfig(clutter-1.0) >= 1.17.3 BuildRequires: pkgconfig(clutter-gst-3.0) >= 2.99.2 BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.6.6 BuildRequires: pkgconfig(glib-2.0) >= 2.35.0 BuildRequires: pkgconfig(gnome-desktop-3.0) BuildRequires: pkgconfig(grilo-0.3) >= 0.3.0 BuildRequires: pkgconfig(gsettings-desktop-schemas) BuildRequires: pkgconfig(gstreamer-1.0) >= 1.6.0 BuildRequires: pkgconfig(gstreamer-plugins-bad-1.0) >= 1.0.2 BuildRequires: pkgconfig(gstreamer-plugins-base-1.0) >= 1.6.0 BuildRequires: pkgconfig(gstreamer-tag-1.0) BuildRequires: pkgconfig(gtk+-3.0) >= 3.19.4 BuildRequires: pkgconfig(iso-codes) BuildRequires: pkgconfig(libepc-ui-1.0) > 0.4.0 BuildRequires: pkgconfig(libnautilus-extension) BuildRequires: pkgconfig(libpeas-1.0) >= 1.1.0 BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0 BuildRequires: pkgconfig(pygobject-3.0) >= 2.90.3 BuildRequires: pkgconfig(shared-mime-info) BuildRequires: pkgconfig(totem-plparser) >= 3.10.1 BuildRequires: pkgconfig(x11) %if %{build_zeitgeist_plugin} BuildRequires: pkgconfig(zeitgeist-2.0) >= 0.9.12 %endif # Required for cluttersink Requires: gstreamer-plugin-gstclutter-3_0 # We want a useful set of plugins Requires: gstreamer-plugins-base Requires: gstreamer-plugins-good # Needed for scaletempo (bnc#810378, bnc#809854). Requires: gstreamer-plugins-bad Requires: iso-codes Recommends: %{name}-lang Recommends: totem-plugins Suggests: gnome-dvb-daemon # Since totem-devel no longer exists, obsolete it. Provides: totem-devel = %{version} Obsoletes: totem-devel < %{version} # totem-plugin-upnp has been substituted by a grilo plugin. Obsoletes: totem-plugin-upnp <= %{version} %if ! %{build_zeitgeist_plugin} Obsoletes: totem-plugin-zeitgeist <= %{version} %endif # The browser plugins were dropped with totem 3.13.90 Obsoletes: totem-browser-plugin < 3.13.90 Obsoletes: totem-browser-plugin-gmp < 3.13.90 Obsoletes: totem-browser-plugin-vegas < 3.13.90 BuildRoot: %{_tmppath}/%{name}-%{version}-build %glib2_gsettings_schema_requires %description Totem is a movie player for the GNOME desktop based on GStreamer. It features a playlist, a full-screen mode, seek and volume controls, and complete keyboard navigation. %package plugins Summary: Plugins for Totem Movie Player Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} # Brasero plugin Recommends: brasero # BBC iPlayer plugin Recommends: python-beautifulsoup Recommends: python-httplib2 # Gromit Annotation plugin Suggests: gromit %glib2_gsettings_schema_requires %description plugins Totem is movie player for the GNOME desktop based on GStreamer. This package includes plugins for Totem, to add advanced features. %if %{build_zeitgeist_plugin} %package plugin-zeitgeist Summary: Plugins for Totem Movie Player -- Zeitgeist Support Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} Supplements: packageand(%{name}:zeitgeist) %description plugin-zeitgeist Totem is movie player for the GNOME desktop based on GStreamer. This package includes the Zeitgeist plugin for Totem. %endif %package -n nautilus-totem Summary: Totem Plugin for Nautilus Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} Supplements: packageand(%{name}:nautilus) %description -n nautilus-totem Totem is movie player for the GNOME desktop based on GStreamer. This package contains a plugin to integrate Totem into Nautilus. %package devel Summary: Developer Documentation for Totem Movie Player Group: Development/Libraries/GNOME Requires: %{name} = %{version} %description devel Totem is movie player for the GNOME desktop based on GStreamer. This package contains developer documentation. %lang_package %prep %setup -q %patch0 -p1 translation-update-upstream %build %configure\ --disable-static make %{?_smp_mflags} V=1 %install %make_install # Remove SWF (#72417) and any Real (#72985) MIME types. sed -i ':1;s/^\(MimeType=.*\);[^;]*\(real\|shockwave-flash\)[^;]*/\1/;t1' \ %{buildroot}%{_datadir}/applications/org.gnome.Totem.desktop %suse_update_desktop_file org.gnome.Totem %find_lang %{name} %{?no_lang_C} find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %fdupes %{buildroot} %clean rm -rf %{buildroot} %post /sbin/ldconfig %glib2_gsettings_schema_post %desktop_database_post %icon_theme_cache_post %postun /sbin/ldconfig %glib2_gsettings_schema_postun %desktop_database_postun %icon_theme_cache_postun %post plugins %glib2_gsettings_schema_post %postun plugins %glib2_gsettings_schema_postun %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README %doc %{_datadir}/help/C/%{name}/ %{_bindir}/* %{_datadir}/GConf/gsettings/totem.convert %{_datadir}/dbus-1/services/org.gnome.Totem.service %dir %{_datadir}/appdata %{_datadir}/appdata/org.gnome.Totem.appdata.xml %{_datadir}/applications/*.desktop %{_datadir}/glib-2.0/schemas/org.gnome.totem.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.totem.gschema.xml %{_datadir}/icons/hicolor/*/apps/totem*.* %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/totem.thumbnailer %{_datadir}/totem/ %doc %{_mandir}/man?/*.* # Own directories for plugins %dir %{_libdir}/totem %dir %{_libdir}/totem/plugins %{_libdir}/libtotem.so.0* %{_libdir}/girepository-1.0/Totem-1.0.typelib %files lang -f %{name}.lang %files -n nautilus-totem %defattr(-, root, root) %{_libdir}/nautilus/extensions-3.0/*.so %files plugins %defattr(-, root, root) # Explicitly list plugins %{_libdir}/totem/plugins/apple-trailers/ %{_libdir}/totem/plugins/autoload-subtitles/ %{_libdir}/totem/plugins/brasero-disc-recorder/ %{_libdir}/totem/plugins/dbus/ %{_libdir}/totem/plugins/gromit/ %{_libdir}/totem/plugins/im-status/ %{_libdir}/totem/plugins/lirc/ %{_libdir}/totem/plugins/media-player-keys/ %{_libdir}/totem/plugins/ontop/ %{_libdir}/totem/plugins/opensubtitles/ %{_libdir}/totem/plugins/properties/ %{_libdir}/totem/plugins/pythonconsole/ %{_libdir}/totem/plugins/recent/ %{_libdir}/totem/plugins/rotation/ %{_libdir}/totem/plugins/save-file/ %{_libdir}/totem/plugins/screensaver/ %{_libdir}/totem/plugins/screenshot/ %{_libdir}/totem/plugins/skipto/ %{_libdir}/totem/plugins/vimeo/ %{_datadir}/GConf/gsettings/opensubtitles.convert %{_datadir}/GConf/gsettings/pythonconsole.convert %{_datadir}/glib-2.0/schemas/org.gnome.totem.plugins.opensubtitles.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.totem.plugins.pythonconsole.gschema.xml %if %{build_zeitgeist_plugin} %files plugin-zeitgeist %defattr(-, root, root) %{_libdir}/totem/plugins/zeitgeist-dp/ %endif %files devel %defattr(-, root, root) %{_datadir}/gtk-doc/html/totem/ # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_includedir}/totem/ %{_libdir}/libtotem.so %{_libdir}/pkgconfig/totem.pc %{_datadir}/gir-1.0/*.gir %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor