Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lafenghu
totem
totem.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File totem.spec of Package totem
# # spec file for package totem # # Copyright (c) 2012 SUSE LINUX Products 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.4.3 Release: 0 # FIXME: Check if --disable-maintainer-mode can be dropped from configure. Last checked with 3.2.0 Url: http://www.gnome.org/projects/totem/ Summary: Movie Player for the GNOME Desktop License: GPL-2.0+ ; LGPL-2.1+ Group: Productivity/Multimedia/Video/Players Source0: http://download.gnome.org/sources/totem/3.4/%{name}-%{version}.tar.xz BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gnome-doc-utils-devel BuildRequires: gstreamer-0_10-plugins-good BuildRequires: intltool BuildRequires: libXtst-devel BuildRequires: lirc-devel BuildRequires: translation-update-upstream BuildRequires: update-desktop-files BuildRequires: vala >= 0.14.1 # Only needed because we don't (and won't) support building xz tarballs by default... See bnc#697467 BuildRequires: xz # We need these to pickup the playbin plugin BuildRequires: gstreamer-0_10-plugins-base BuildRequires: gstreamer-utils BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(clutter-1.0) BuildRequires: pkgconfig(clutter-gst-1.0) >= 1.3.9 BuildRequires: pkgconfig(clutter-gtk-1.0) >= 1.0.2 BuildRequires: pkgconfig(dbus-glib-1) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gnome-icon-theme) BuildRequires: pkgconfig(grilo-0.1) >= 0.1.16 BuildRequires: pkgconfig(gstreamer-0.10) BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) BuildRequires: pkgconfig(gstreamer-tag-0.10) BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6 BuildRequires: pkgconfig(ice) 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) BuildRequires: pkgconfig(mx-1.0) BuildRequires: pkgconfig(pygobject-3.0) >= 2.90.3 BuildRequires: pkgconfig(shared-mime-info) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(totem-plparser) BuildRequires: pkgconfig(x11) %if %{build_zeitgeist_plugin} BuildRequires: pkgconfig(zeitgeist-1.0) %endif Requires: gstreamer010 Requires: gstreamer010-plugins-base Requires: gstreamer010-plugins-good Requires: iso-codes Recommends: %{name}-lang Recommends: totem-plugins Recommends: totem-browser-plugin 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 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} # BBC iPlayer plugin Recommends: python-beautifulsoup Recommends: python-httplib2 # Brasero plugin Recommends: brasero # 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 browser-plugin Summary: Browser Plugin Based on Totem Movie Player Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} Supplements: packageand(%{name}:MozillaFirefox) Provides: totem-plugin = 2.25.3 Obsoletes: totem-plugin < 2.25.3 %description browser-plugin Totem is movie player for the GNOME desktop based on GStreamer. Apart from a movie player, it also includes a Mozilla plugin. This package does not include the Windows Media (gmp) browser plugin, nor the Flash video (vegas) plugin. %package browser-plugin-gmp Summary: Windows Media Browser Plugin Based on Totem Movie Player Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} Requires: %{name}-browser-plugin = %{version} Supplements: packageand(%{name}:MozillaFirefox) Provides: totem-plugin = 2.25.3 Obsoletes: totem-plugin < 2.25.3 %description browser-plugin-gmp Totem is movie player for the GNOME desktop based on GStreamer. This package includes only the Windows Media (gmp) browser plugin. %package browser-plugin-vegas Summary: Flash video Browser Plugin Based on Totem Movie Player Group: Productivity/Multimedia/Video/Players Requires: %{name} = %{version} Requires: %{name}-browser-plugin = %{version} Enhances: packageand(%{name}:MozillaFirefox) %description browser-plugin-vegas Totem is movie player for the GNOME desktop based on GStreamer. This package includes only the Flash video (vegas) browser plugin. %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 translation-update-upstream %build export BROWSER_PLUGIN_DIR=%{_libdir}/browser-plugins %configure\ --disable-static\ --disable-scrollkeeper \ --disable-maintainer-mode make %{?jobs:-j%jobs} V=1 %install %makeinstall %if 0%{?suse_version} <= 1120 %{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/* %endif # Remove SWF (#72417) and any Real (#72985) MIME types. sed -i ':1;s/^\(MimeType=.*\);[^;]*\(real\|shockwave-flash\)[^;]*/\1/;t1' \ $RPM_BUILD_ROOT%{_datadir}/applications/totem.desktop %suse_update_desktop_file %{name} %find_lang %{name} %{?no_lang_C} find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print %fdupes $RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %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 %dir %{_datadir}/gnome/ %dir %{_datadir}/gnome/help/ %dir %{_datadir}/gnome/help/%{name}/ %doc %{_datadir}/gnome/help/%{name}/C/ %dir %{_datadir}/omf/ %dir %{_datadir}/omf/%{name}/ %doc %{_datadir}/omf/%{name}/%{name}-C.omf %{_bindir}/* %{_datadir}/GConf/gsettings/totem.convert %{_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*.* %{_datadir}/icons/hicolor/*/devices/totem*.* %{_datadir}/icons/hicolor/scalable/actions/*.svg %dir %{_datadir}/thumbnailers %{_datadir}/thumbnailers/totem.thumbnailer %{_datadir}/totem/ %doc %{_mandir}/man?/*.* # Own directories for plugins %dir %{_libdir}/totem %dir %{_libdir}/totem/plugins # this is needed for python plugins that are not in totem-plugins #{_libdir}/totem/plugins/totem # Be careful here: libdir contains plugins while libexecdir contains a # browser-plugin helper and a small utility for the main package %if "%{_libdir}" != "%{_libexecdir}" %dir %{_libexecdir}/totem %endif %{_libexecdir}/totem/totem-bugreport.py %{_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/brasero-disc-recorder/ %{_libdir}/totem/plugins/chapters/ %{_libdir}/totem/plugins/dbus/ %{_libdir}/totem/plugins/grilo/ %{_libdir}/totem/plugins/gromit/ %{_libdir}/totem/plugins/im-status/ %{_libdir}/totem/plugins/iplayer/ %{_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/publish/ %{_libdir}/totem/plugins/pythonconsole/ %{_libdir}/totem/plugins/rotation/ %{_libdir}/totem/plugins/save-file/ %{_libdir}/totem/plugins/screensaver/ %{_libdir}/totem/plugins/screenshot/ %{_libdir}/totem/plugins/skipto/ %{_datadir}/GConf/gsettings/opensubtitles.convert %{_datadir}/GConf/gsettings/publish.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.publish.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 browser-plugin %defattr(-, root, root) %doc browser-plugin/README.browser-plugin %{_libexecdir}/totem-plugin-viewer %{_libdir}/browser-plugins/libtotem-cone-plugin* %{_libdir}/browser-plugins/libtotem-mully-plugin* %{_libdir}/browser-plugins/libtotem-narrowspace-plugin* %files browser-plugin-gmp %defattr(-, root, root) %{_libdir}/browser-plugins/libtotem-gmp-plugin* %files browser-plugin-vegas %defattr(-, root, root) %{_libdir}/browser-plugins/libtotem-vegas-plugin* %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