summaryrefslogtreecommitdiff
path: root/totem.spec.in
blob: 9972a9be1430713f7a9cd6e6cfca551eb4d8a791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# $Id$

Summary: Movie player for GNOME 2 based on the xine or GStreamer engine.
Name: totem
Version: @VERSION@
Release: 1
License: GPL
Group: Applications/Multimedia
Source: http://www.hadess.net/files/software/%{name}/%{name}-%{version}.tar.bz2
URL: http://www.gnome.org/projects/totem
BuildRoot: %{_tmppath}/%{name}-root
Requires: gnome-desktop >= 2.0.0
BuildRequires: pkgconfig
BuildRequires: libgnomeui-devel >= 2.0.0, gnome-vfs2-devel, libglade2-devel

%description
Totem is simple movie player for the Gnome desktop based on xine or
GStreamer. It features a simple playlist, a full-screen mode, seek and
volume controls, as well as a pretty complete keyboard navigation.

It also includes a thumbnailer for your movie files, a properties page
for media metadata (both in Nautilus) and a browser plugin for Mozilla.

%prep
%setup -q

%build
export MOZILLA_PLUGINDIR=%{buildroot}%{_libdir}/mozilla
%configure --enable-gstreamer=0.10
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
%makeinstall
%find_lang %{name}

%clean
rm -rf %{buildroot}

%post
scrollkeeper-update -q
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/totem.schemas > /dev/null
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/totem-video-thumbnail.schemas >/dev/null
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/totem-handlers.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}/totem-video-thumbnailer
@HAVE_NAUTILUS_TRUE@%{_libdir}/nautilus/extensions-1.0
@HAVE_MOZILLA_TRUE@%{_libdir}/mozilla/plugins/libtotem_mozilla.*
@HAVE_MOZILLA_TRUE@%{_libexecdir}/totem-mozilla-viewer
%{_libdir}/libtotem-plparser*
%{_libdir}/pkgconfig/totem-plparser.pc
%{_includedir}//totem/1/plparser/*.h
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/*
%{_datadir}/gnome/help
%{_datadir}/omf/totem/totem-*.omf
%{_datadir}/%{name}
%{_sysconfdir}/gconf/schemas/totem-handlers.schemas
%{_mandir}/man1/totem.1.gz
%{_mandir}/man1/totem-video-thumbnailer.1.gz
%{_datadir}/omf/totem/totem-de.omf
%{_datadir}/omf/totem/totem-es.omf
%{_mandir}/man1/*.1.gz

%changelog
* Tue May 3 2005 Christian Schaller <uraeus@gnome.org>
- Update spec file to handle the mozilla plugin install

* Fri Jan 28 2005 Christian Schaller <Uraeus@gnome.org>
- update spec file to reflect update to new nautilus version
- add playlist

* Thu Dec 23 2004 Christian Schaller <Uraeus@gnome.org>
- Add russian omf file
* Thu Sep 21 2004 Christian Schaller <Uraeus@gnome.org>
- Remove vanity
- Add manpage
- Add totem-handlers.schemas file
- Add a couple of omf files

* Fri Mar 19 2004 Christian Schaller <Uraeus@gnome.org>
- Add all unpackaged files
- Add scrollkeeper to post area

* Fri Apr 25 2003 Bastien Nocera <hadess@hadess.net>
- Package the thumbnailer as well (spotted by Chris Chabot <chabotc@4-ice.com>

* Mon Sep 30 2002 Bastien Nocera <hadess@hadess.net>
- Install gconf schemas properly

* Mon Sep 30 2002 Matthias Saou <matthias.saou@est.une.marmotte.net>
- Initial RPM release.