rpms/totem/OLPC-4 totem.spec,1.206,1.207

Peter Robinson pbrobinson at fedoraproject.org
Sun Nov 23 14:23:16 UTC 2008


Author: pbrobinson

Update of /cvs/pkgs/rpms/totem/OLPC-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv3378

Modified Files:
	totem.spec 
Log Message:
- Branch for OLPC-4 and compile with reduced plugins



Index: totem.spec
===================================================================
RCS file: /cvs/pkgs/rpms/totem/OLPC-4/totem.spec,v
retrieving revision 1.206
retrieving revision 1.207
diff -u -r1.206 -r1.207
--- totem.spec	13 Nov 2008 04:12:11 -0000	1.206
+++ totem.spec	23 Nov 2008 14:22:46 -0000	1.207
@@ -1,4 +1,5 @@
-%define with_xine 1
+%define with_xine 0
+%define minimal_build 1
 
 %define gstreamer_version 0.10.1
 %define gstreamer_plugins_base_version 0.10.17.2-4
@@ -10,7 +11,7 @@
 Summary: Movie player for GNOME
 Name: totem
 Version: 2.24.3
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+ with exceptions
 Group: Applications/Multimedia
 URL: http://www.gnome.org/projects/totem/
@@ -22,20 +23,22 @@
 Requires(preun): GConf2 >= 2.14
 Requires(post): GConf2 >= 2.14
 Requires(post): desktop-file-utils
-Requires(post): scrollkeeper
 Requires(postun): desktop-file-utils
-Requires(postun): scrollkeeper
 
+%if !%{minimal_build}
+Requires(post): scrollkeeper
+Requires(postun): scrollkeeper
 Requires: gnome-desktop >= 2.6.0
-Requires: iso-codes
 Requires: gnome-themes
+%endif 
+
+Requires: iso-codes
 Requires: gtk2 >= %gtk2_version
 # FIXME?
 #Requires: %{name}-backend = %{version}-%{release}
 Requires: %{name}-gstreamer
 
 BuildRequires: gcc-c++, pkgconfig, gettext
-BuildRequires: gnome-desktop-devel >= 2.6.0, libglade2-devel
 BuildRequires: perl(XML::Parser) intltool
 BuildRequires: iso-codes-devel
 BuildRequires: gnome-icon-theme
@@ -47,13 +50,16 @@
 BuildRequires: control-center-devel >= 2.18.0
 BuildRequires: hal-devel
 BuildRequires: gnome-doc-utils
-BuildRequires: lirc-devel
 BuildRequires: libgalago-devel
-BuildRequires: gmyth-devel
 BuildRequires: python-devel gnome-python2-devel pygtk2-devel
-BuildRequires: tracker-devel
 BuildRequires: libepc-devel
 BuildRequires: totem-pl-parser-devel
+%if !%{minimal_build}
+BuildRequires: gnome-desktop-devel >= 2.6.0, libglade2-devel
+BuildRequires: lirc-devel
+BuildRequires: gmyth-devel
+BuildRequires: tracker-devel
+%endif
 
 Obsoletes: nautilus-media
 
@@ -72,7 +78,9 @@
 Requires: gstreamer-plugins-base >= %gstreamer_plugins_base_version
 Requires: gstreamer-plugins-good >= %gstreamer_plugins_good_version
 Requires: gstreamer-plugins-flumpegdemux >= %gstreamer_plugins_flumpegdemux_version
+%if !%{minimal_build}
 Requires: gvfs-fuse
+%endif
 BuildRequires: gstreamer-devel >= %gstreamer_version
 BuildRequires: gstreamer-plugins-base-devel >= %gstreamer_plugins_base_version
 BuildRequires: gstreamer-plugins-good >= %gstreamer_plugins_good_version
@@ -103,14 +111,6 @@
 Totem is simple movie player for the Gnome desktop. The mozilla plugin
 for totem allows totem to be embeded into a web browser. 
 
-%package lirc
-Summary: LIRC (Infrared remote) plugin for Totem
-Group: Applications/Multimedia
-Requires: %{name} = %{version}-%{release}
-
-%description lirc
-A plugin to add LIRC (Infrared remote) support to Totem.
-
 %package galago
 Summary: Galago (Instant Messenger status) plugin for Totem
 Group: Applications/Multimedia
@@ -123,6 +123,24 @@
 Your Instant Messenging program might require a plugin to take
 advantage of this feature.
 
+%package publish
+Summary: Share your playlist with other Totems on the local network
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description publish
+A plugin to allow you to share your current playlist (and the files included
+in that playlist) with other Totems on the same local network.
+
+%if !%{minimal_build}
+%package lirc
+Summary: LIRC (Infrared remote) plugin for Totem
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+
+%description lirc
+A plugin to add LIRC (Infrared remote) support to Totem.
+
 %package mythtv
 Summary: MythTV plugin for Totem
 Group: Applications/Multimedia
@@ -131,6 +149,20 @@
 %description mythtv
 A plugin to allow access to recordings on a remote MythTV server.
 
+%package nautilus
+Summary: Video and Audio Properties tab for Nautilus
+Group: Applications/Multimedia
+Requires: %{name} = %{version}-%{release}
+Provides: totem-nautilus-xine = %{version}-%{release}
+Provides: totem-nautilus-gstreamer = %{version}-%{release}
+Obsoletes: totem-nautilus-xine < 2.23.0
+Obsoletes: totem-nautilus-gstreamer < 2.23.0
+
+%description nautilus
+A Nautilus extension that shows the properties of audio and video files in•
+the properties dialogue.
+%endif
+
 %package youtube
 Summary: YouTube plugin for Totem
 Group: Applications/Multimedia
@@ -152,28 +184,6 @@
 A plugin to allow searching local videos, based on their tags, metadata,
 or filenames, as indexing by the Tracker indexer.
 
-%package publish
-Summary: Share your playlist with other Totems on the local network
-Group: Applications/Multimedia
-Requires: %{name} = %{version}-%{release}
-
-%description publish
-A plugin to allow you to share your current playlist (and the files included
-in that playlist) with other Totems on the same local network.
-
-%package nautilus
-Summary: Video and Audio Properties tab for Nautilus
-Group: Applications/Multimedia
-Requires: %{name} = %{version}-%{release}
-Provides: totem-nautilus-xine = %{version}-%{release}
-Provides: totem-nautilus-gstreamer = %{version}-%{release}
-Obsoletes: totem-nautilus-xine < 2.23.0
-Obsoletes: totem-nautilus-gstreamer < 2.23.0
-
-%description nautilus
-A Nautilus extension that shows the properties of audio and video files in•
-the properties dialogue.
-
 %prep
 %setup -q -c
 # Whatever needs to be changed in both copies do here
@@ -194,11 +204,27 @@
 DBUS_FATAL_WARNINGS=0 /usr/bin/gst-inspect-0.10 --print-all # > /dev/null
 export MOZILLA_PLUGINDIR=%{_libdir}/mozilla/plugins
 %configure \
+%if !%{minimal_build}
   --enable-gstreamer \
   --enable-mozilla \
   --enable-nautilus \
   --disable-scrollkeeper \
   --disable-nvtv
+%else
+  --enable-gstreamer \
+  --enable-mozilla \
+  --disable-lirc \
+  --disable-vanity \
+  --disable-nautilus \
+  --disable-scrollkeeper \
+  --disable-nvtv \
+  --disable-skipto \
+  --disable-screensaver \
+  --disable-tracker \
+  --disable-vala \
+  --with-dbus \
+  --enable-gtk
+%endif
 
 make %{?_smp_mflags}
 popd
@@ -291,9 +317,11 @@
 /usr/sbin/alternatives --install %{_libdir}/libbaconvideowidget.so.0.0.0 totem-backend %{_libdir}/libbaconvideowidget-gstreamer.so.0.0.0 2
 /sbin/ldconfig
 
+%if %{with_xine}
 %post xine
 /usr/sbin/alternatives --install %{_libdir}/libbaconvideowidget.so.0.0.0 totem-backend %{_libdir}/libbaconvideowidget-xine.so.0.0.0 1
 /sbin/ldconfig
+%endif
 
 %pre
 if [ "$1" -gt 1 ]; then
@@ -329,12 +357,15 @@
 fi
 /sbin/ldconfig
 
+%if %{with_xine}
 %postun xine
 if [ "$1" -eq 0 ]; then
   /usr/sbin/alternatives --remove totem-backend %{_libdir}/libbaconvideowidget-xine.so.0.0.0
 fi
 /sbin/ldconfig
+%endif
 
+%if !%{minimal_build}
 %pre mythtv
 if [ "$1" -gt 1 ]; then
     export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
@@ -354,6 +385,7 @@
             >& /dev/null || :
     fi
 fi
+%endif
 
 %files -f %{name}.lang
 %defattr(-,root,root,-)
@@ -387,14 +419,15 @@
 %{_mandir}/man1/%{name}.1*
 %{_mandir}/man1/totem-video-thumbnailer.1.gz
 
-%files nautilus
-%defattr(-, root, root)
-%{_libdir}/nautilus/extensions-2.0/*.so*
-
 %files galago
 %defattr(-, root, root)
 %{_libdir}/totem/plugins/galago
 
+%if !%{minimal_build}
+%files nautilus
+%defattr(-, root, root)
+%{_libdir}/nautilus/extensions-2.0/*.so*
+
 %files lirc
 %defattr(-, root, root)
 %{_libdir}/totem/plugins/lirc
@@ -403,23 +436,24 @@
 %defattr(-, root, root)
 %{_libdir}/totem/plugins/mythtv
 
+%files tracker
+%defattr(-, root, root)
+%{_libdir}/totem/plugins/tracker
+%endif
+
 %files youtube
 %defattr(-, root, root)
 %{_libdir}/totem/plugins/youtube
 
-%files tracker
+%files publish
 %defattr(-, root, root)
-%{_libdir}/totem/plugins/tracker
+%{_libdir}/totem/plugins/publish
 
 %files mozplugin
 %defattr(-, root, root)
 %{_libdir}/mozilla/plugins/*
 %{_libexecdir}/totem-plugin-viewer
 
-%files publish
-%defattr(-, root, root)
-%{_libdir}/totem/plugins/publish
-
 %files gstreamer
 %{_libdir}/libbaconvideowidget-gstreamer.so.0.0.0
 
@@ -429,6 +463,9 @@
 %endif
 
 %changelog
+* Sun Nov 23 2008 Peter Robinson <pbrobinson at gmail.com> - 2.24.3-3
+- Branch for OLPC-4
+
 * Wed Nov 12 2008 Christopher Aillon <caillon at redhat.com> - 2.24.3-2
 - Rebuild against newer gecko
 




More information about the fedora-extras-commits mailing list