remove non-working stuff

This commit is contained in:
Alexander Larsson 2004-10-07 16:29:37 +00:00
parent 41350976c2
commit c326f380e6

View File

@ -22,7 +22,6 @@ BuildRequires: gstreamer-plugins-devel >= %gstreamer_plugins_version
BuildRequires: gnome-desktop-devel >= 2.6.0, gnome-vfs2-devel, libglade2-devel
BuildRequires: perl-XML-Parser
BuildRequires: nautilus-cd-burner-devel >= 2.8.1
BuildRequires: mozilla-devel
%description
@ -30,39 +29,17 @@ Totem is simple movie player for the Gnome desktop. It features a
simple playlist, a full-screen mode, seek and volume controls, as well as
a pretty complete keyboard navigation.
%package -n mozilla-totem
Summary: Totem plugin for multimedia playback in the mozilla web browser
Group: Applications/Multimedia
Requires: %{name} = %{version}, mozilla
%description -n mozilla-totem
Totem is simple movie player for the Gnome desktop. It features a simple
playlist, a full-screen mode, seek and volume controls, as well as a pretty
complete keyboard navigation.
This package contains a plugin which embeds Totem inside the mozilla web
browser for multimedia playback.
%package -n vanity
Summary: Simple webcam application
Group: Applications/Multimedia
Requires: gnome-desktop >= 2.6.0
%description -n vanity
Vanity is a webcam application that is supposed to provide the same kind of
service the programs originally shipped with the webcam do. It features
watching and resizing live video.
%prep
%setup -q
%build
%configure --enable-gstreamer --disable-lirc --enable-vanity --enable-mozilla --disable-nvtv
%configure --enable-gstreamer --disable-lirc --disable-vanity --disable-mozilla --disable-nvtv
#apparently someone forgot to autogen before disting 0.99.17 :)
perl -pi -e 's/gstvideowidget.h//g' src/Makefile
@ -77,6 +54,10 @@ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
# We want the nautilus-media properties page
rm -f $RPM_BUILD_ROOT%{_libexecdir}/%{name}-properties-page
rm -f $RPM_BUILD_ROOT%{_libdir}/bonobo/servers/*.server
#nor the property pages
rm -f $RPM_BUILD_ROOT%{_sysconfdir}/gconf/schemas/totem-video-thumbnail.schemas
rm -f $RPM_BUILD_ROOT%{_bindir}/%{name}-video-thumbnailer
%clean
rm -rf $RPM_BUILD_ROOT
@ -85,7 +66,7 @@ rm -rf $RPM_BUILD_ROOT
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule \
%{_sysconfdir}/gconf/schemas/totem.schemas \
%{_sysconfdir}/gconf/schemas/totem-video-thumbnail.schemas >/dev/null || :
>/dev/null || :
%files -f %{name}.lang
@ -93,8 +74,6 @@ gconftool-2 --makefile-install-rule \
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%config %{_sysconfdir}/gconf/schemas/*.schemas
%{_bindir}/%{name}
%{_bindir}/%{name}-video-thumbnailer
%{_libdir}/bonobo/servers/*.server
%{_datadir}/application-registry/%{name}.applications
%{_datadir}/applications/%{name}.desktop
%{_datadir}/gnome/help/%{name}/
@ -105,21 +84,6 @@ gconftool-2 --makefile-install-rule \
%exclude %{_datadir}/%{name}/vanity.*
%{_mandir}/man1/%{name}.1*
%files -n mozilla-totem
%defattr(-, root, root, 0755)
%exclude %{_libdir}/mozilla/plugins/libtotem_mozilla.a
%exclude %{_libdir}/mozilla/plugins/libtotem_mozilla.la
%{_libdir}/mozilla/plugins/libtotem_mozilla.so
%{_libexecdir}/totem-mozilla-viewer
%files -n vanity
%defattr(-, root, root, 0755)
%{_bindir}/vanity
%{_datadir}/applications/vanity.desktop
%{_datadir}/pixmaps/vanity.png
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/vanity.*
%changelog
* Wed Oct 6 2004 Alexander Larsson <alexl@redhat.com> -
- Initial version, based on specfile by Matthias Saou <http://freshrpms.net/>