Fix non-Fedora build
This commit is contained in:
parent
c6efbc64f5
commit
b7a39d8333
17
totem.spec
17
totem.spec
@ -1,7 +1,7 @@
|
||||
Summary: Movie player for GNOME
|
||||
Name: totem
|
||||
Version: 3.14.0
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 1
|
||||
License: GPLv2+ with exceptions
|
||||
Group: Applications/Multimedia
|
||||
@ -38,7 +38,9 @@ BuildRequires: itstool
|
||||
BuildRequires: libXtst-devel
|
||||
BuildRequires: libXi-devel
|
||||
BuildRequires: libXt-devel
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: pylint
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: pygobject3-devel
|
||||
BuildRequires: totem-pl-parser-devel
|
||||
@ -54,10 +56,14 @@ BuildRequires: nautilus-devel
|
||||
BuildRequires: liberation-sans-fonts
|
||||
|
||||
# For plugins
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: lirc-devel
|
||||
%endif
|
||||
BuildRequires: libgdata-devel
|
||||
BuildRequires: grilo-devel >= 0.2.0
|
||||
%if 0%{?fedora}
|
||||
BuildRequires: zeitgeist-devel
|
||||
%endif
|
||||
|
||||
# The mythtv sub-package was removed
|
||||
# (obsoleted by -upnp then by grilo in main)
|
||||
@ -90,6 +96,7 @@ a pretty complete keyboard navigation.
|
||||
|
||||
Totem is extensible through a plugin system.
|
||||
|
||||
%if 0%{?fedora}
|
||||
%package lirc
|
||||
Summary: LIRC (Infrared remote) plugin for Totem
|
||||
Group: Applications/Multimedia
|
||||
@ -97,6 +104,7 @@ Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description lirc
|
||||
This package provides a plugin to add LIRC (Infrared remote) support to Totem.
|
||||
%endif
|
||||
|
||||
%package youtube
|
||||
Summary: YouTube plugin for Totem
|
||||
@ -215,7 +223,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%{_libdir}/totem/plugins/screenshot
|
||||
%{_libdir}/totem/plugins/save-file
|
||||
%{_libdir}/totem/plugins/vimeo
|
||||
%if 0%{?fedora}
|
||||
%{_libdir}/totem/plugins/zeitgeist-dp
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/*/apps/totem.png
|
||||
%{_datadir}/icons/hicolor/*/devices/totem-tv.png
|
||||
%{_datadir}/icons/hicolor/scalable/devices/totem-tv.svg
|
||||
@ -228,8 +238,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%files nautilus
|
||||
%{_libdir}/nautilus/extensions-3.0/*.so*
|
||||
|
||||
%if 0%{?fedora}
|
||||
%files lirc
|
||||
%{_libdir}/totem/plugins/lirc
|
||||
%endif
|
||||
|
||||
%if 0
|
||||
%files youtube
|
||||
@ -244,6 +256,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||
%{_datadir}/gir-1.0/Totem-1.0.gir
|
||||
|
||||
%changelog
|
||||
* Tue Nov 04 2014 Richard Hughes <richard@hughsie.com> - 1:3.14.0-2
|
||||
- Fix non-Fedora build
|
||||
|
||||
* Mon Sep 22 2014 Kalev Lember <kalevlember@gmail.com> - 1:3.14.0-1
|
||||
- Update to 3.14.0
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user