auto-import totem-0.99.17-1 on branch devel from totem-0.99.17-1.src.rpm
This commit is contained in:
parent
31cb7a4d4a
commit
da1c9f71a3
@ -0,0 +1 @@
|
||||
totem-0.99.17.tar.bz2
|
||||
126
totem.spec
Normal file
126
totem.spec
Normal file
@ -0,0 +1,126 @@
|
||||
%define gstreamer_version 0.8.7
|
||||
%define gstreamer_plugins_version 0.8.5
|
||||
|
||||
Summary: Movie player for GNOME 2
|
||||
Name: totem
|
||||
Version: 0.99.17
|
||||
Release: 1
|
||||
License: GPL
|
||||
Group: Applications/Multimedia
|
||||
URL: http://www.hadess.net/totem.php3
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/totem/0.99/totem-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
Requires(post): GConf2
|
||||
Requires: gnome-desktop >= 2.6.0
|
||||
Requires: gstreamer >= %gstreamer_version
|
||||
Requires: gstreamer-plugins >= %gstreamer_plugins_version
|
||||
BuildRequires: nautilus-cd-burner >= 2.8.1
|
||||
BuildRequires: gcc-c++, pkgconfig, gettext, scrollkeeper
|
||||
BuildRequires: gstreamer-devel >= %gstreamer_version
|
||||
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
|
||||
|
||||
|
||||
%description
|
||||
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
|
||||
BuildRequires: mozilla-devel
|
||||
|
||||
%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
|
||||
|
||||
#apparently someone forgot to autogen before disting 0.99.17 :)
|
||||
perl -pi -e 's/gstvideowidget.h//g' src/Makefile
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
||||
%makeinstall
|
||||
%find_lang %{name}
|
||||
|
||||
# We want the nautilus-media properties page
|
||||
rm -f $RPM_BUILD_ROOT%{_libexecdir}/%{name}-properties-page
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
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 || :
|
||||
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%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}/
|
||||
%{_datadir}/mime-info/%{name}.keys
|
||||
%{_datadir}/omf/%{name}/
|
||||
%{_datadir}/pixmaps/media-player-48.png
|
||||
%{_datadir}/%{name}/
|
||||
%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/>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user