2003-07-28 Glynn Foster <
[email protected]>
* totem.spec: Lovely. Too bad gstreamer doesn't work so
well with it ;)
--- a/ChangeLog Mon Jul 28 08:16:43 2003 +0000
+++ b/ChangeLog Mon Jul 28 08:52:38 2003 +0000
@@ -1,3 +1,8 @@
+2003-07-28 Glynn Foster <[email protected]>
+
+ * totem.spec: Lovely. Too bad gstreamer doesn't work so
+ well with it ;)
+
2003-07-28 Glynn Foster <[email protected]>
* gnome-pilot.spec: Clean up a little. Move the applet
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/totem.spec Mon Jul 28 08:52:38 2003 +0000
@@ -0,0 +1,89 @@
+#
+# spec file for package totem
+#
+# Copyright (c) 2003 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+
+Name: totem
+License: GPL
+Group: System/GUI/GNOME
+Version: 0.99.2
+Release: 1
+Distribution: Mercury
+Vendor: Sun Microsystems, Inc.
+Summary: Totem Multimedia Player
+Source: http://ftp.gnome.org/pub/GNOME/sources/totem/0.99/%{name}-%{version}.tar.bz2
+Patch1: totem-01-init-threads.diff
+URL: http://www.gnome.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Docdir: %{_defaultdocdir}/%{name}
+Autoreqprov: on
+
+%define libgnomeui_version 2.2.0.1
+%define gstreamer_version 0.6.2
+%define gstreamer_plugins_version 0.6.2
+
+Requires: libgnomeui >= %{libgnomeui_version}
+Requires: gstreamer >= %{gstreamer_version}
+Requires: gstreamer-plugins >= %{gstreamer_plugins_version}
+BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
+BuildRequires: gstreamer-devel >= %{gstreamer_version}
+BuildRequires: gstreamer-plugins-devel >= %{gstreamer_plugins_version}
+
+%description
+Totem is multimeida player for the GNOME desktop, allowing you to play CDs, DVDS and a
+wide range of multimedia formats
+
+%prep
+%setup -q
+%patch1 -p1
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" \
+ ./configure \
+ --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir} \
+ --localstatedir=/var/lib \
+ --enable-gstreamer \
+ --disable-lirc
+make
+
+%install
+export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+make -i install DESTDIR=$RPM_BUILD_ROOT
+unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
+rm -rf $RPM_BUILD_ROOT%{_bindir}/vanity
+rm -rf $RPM_BUILD_ROOT%{_datadir}/applications/vanity.desktop
+rm -rf $RPM_BUILD_ROOT%{_datadir}/totem/vanity.glade
+rm -rf $RPM_BUILD_ROOT%{_datadir}/totem/vanity.png
+rm -rf $RPM_BUILD_ROOT%{_datadir}/pixmaps/vanity.png
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
+SCHEMAS="totem.schemas totem-video-thumbnail.schemas"
+for S in $SCHEMAS; do
+ gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
+done
+
+%files
+%defattr (-, root, root)
+%{_bindir}/*
+%{_sysconfdir}/gconf/schemas
+%{_libdir}/bonobo/servers/*
+%{_libexecdir}/*
+%{_datadir}/applications
+%{_datadir}/application-registry
+%{_datadir}/mime-info
+%{_datadir}/pixmaps/*
+%{_datadir}/totem/*
+%{_datadir}/locale/*/LC_MESSAGES/*.mo
+
+%changelog
+* Fri Jul 25 2003 - [email protected]
+- Initial Sun release