[parole] Switch to gstreamer1 and build clutter backend
Kevin Fenzi
kevin at fedoraproject.org
Sat Mar 7 15:39:55 UTC 2015
commit c5d057dc2c4fee0f6ac2e96561c921020b2ea13b
Author: Kevin Fenzi <kevin at scrye.com>
Date: Sat Mar 7 08:39:48 2015 -0700
Switch to gstreamer1 and build clutter backend
- Clean up BuildRequires versions
- Properly validate and install appdata
parole-0.8.0-appdata.patch | 24 ++++++++++++++++++++++++
parole.spec | 35 ++++++++++++++++++++++++++---------
2 files changed, 50 insertions(+), 9 deletions(-)
---
diff --git a/parole-0.8.0-appdata.patch b/parole-0.8.0-appdata.patch
new file mode 100644
index 0000000..1c2ebf3
--- /dev/null
+++ b/parole-0.8.0-appdata.patch
@@ -0,0 +1,24 @@
+diff -Nur parole-0.8.0.orig/data/appdata/parole.appdata.xml.in parole-0.8.0/data/appdata/parole.appdata.xml.in
+--- parole-0.8.0.orig/data/appdata/parole.appdata.xml.in 2015-02-28 07:23:54.000000000 -0700
++++ parole-0.8.0/data/appdata/parole.appdata.xml.in 2015-03-07 08:25:01.940009844 -0700
+@@ -41,7 +41,7 @@
+ </provides>
+
+ <releases>
+- <release version="0.7.0" timestamp="">
++ <release version="0.7.0" timestamp="1396146123">
+ <description>
+ <_p>This unstable development release adds the new clutter backend and cleans up
+ deprecated Gtk3 symbols. It also adds a "go to position" feature and several bugs
+diff -Nur parole-0.8.0.orig/po/es.po parole-0.8.0/po/es.po
+--- parole-0.8.0.orig/po/es.po 2015-02-28 07:23:54.000000000 -0700
++++ parole-0.8.0/po/es.po 2015-03-07 08:25:17.447726837 -0700
+@@ -514,7 +514,7 @@
+ "This unstable development release adds the new clutter backend and cleans up"
+ " deprecated Gtk3 symbols. It also adds a \"go to position\" feature and "
+ "several bugs have been addressed."
+-msgstr "Esta versión de desarrollo añade un nuevo motor de <i>clutter</i> y elimina símbolos GTK3 obsoletos. Además añade la funcionalidad «Ir a la posición» y corrige un sinnúmero de errores."
++msgstr "Esta versión de desarrollo añade un nuevo motor de clutter y elimina símbolos GTK3 obsoletos. Además añade la funcionalidad «Ir a la posición» y corrige un sinnúmero de errores."
+
+ #: ../data/appdata/parole.appdata.xml.in.h:4
+ msgid "This release fixes a problem with detecting DVD drive locations."
diff --git a/parole.spec b/parole.spec
index ca86f16..6ca2d89 100644
--- a/parole.spec
+++ b/parole.spec
@@ -4,7 +4,7 @@
Name: parole
Version: 0.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Media player for the Xfce desktop
Group: Applications/Multimedia
@@ -14,19 +14,29 @@ URL: http://goodies.xfce.org/projects/applications/parole
Source0: http://archive.xfce.org/src/apps/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: gtk2-devel >= 2.24.0
-BuildRequires: gstreamer-plugins-base-devel >= 0.10.11
+# Fix problem in es translation of appdata
+# https://bugzilla.xfce.org/show_bug.cgi?id=11653
+Patch1: parole-0.8.0-appdata.patch
+
+BuildRequires: gtk3-devel >= 3.2.0
+BuildRequires: glib2-devel >= 2.32.0
+BuildRequires: clutter-devel >= 1.16.4
+BuildRequires: clutter-gtk-devel >= 1.4.4
+BuildRequires: gstreamer1-plugins-base-devel >= 0.10.11
BuildRequires: dbus-devel >= 0.60
BuildRequires: dbus-glib-devel >= 0.70
-BuildRequires: libxfce4ui-devel >= 4.8.0
+BuildRequires: libxfce4ui-devel >= 4.11.0
+BuildRequires: libxfce4util-devel >= 4.10.0
+BuildRequires: xfconf-devel >= 4.10.0
BuildRequires: libnotify-devel >= 0.4.1
+
+BuildRequires: libappstream-glib
BuildRequires: taglib-devel >= 1.4
BuildRequires: desktop-file-utils
BuildRequires: gettext
-BuildRequires: intltool
+BuildRequires: intltool >= 0.35
BuildRequires: gtk-doc
-BuildRequires: xfconf-devel >= 4.10.0
-Requires: gstreamer-plugins-good
+Requires: gstreamer1-plugins-good
# Obsolete the dead mozilla plugin
Obsoletes: %{name}-mozplugin <= 2.0.2-7
@@ -55,9 +65,11 @@ The %{name}-devel package contains header files for developing plugins for
%prep
%setup -q
+%patch1 -p1
+
%build
-%configure --disable-static --enable-gtk-doc
+%configure --disable-static --enable-gtk-doc --enable-clutter
make %{?_smp_mflags} V=1
@@ -73,7 +85,7 @@ desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications \
%{buildroot}/%{_datadir}/applications/%{name}.desktop
-mkdir -p %{buildroot}/%{_datadir}/appdata
+appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml
%clean
rm -rf $RPM_BUILD_ROOT
@@ -114,6 +126,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
+* Sat Mar 07 2015 Kevin Fenzi <kevin at scrye.com> 0.8.0-2
+- Switch to gstreamer1 and build clutter backend
+- Clean up BuildRequires versions
+- Properly validate and install appdata
+
* Sat Feb 28 2015 Kevin Fenzi <kevin at scrye.com> 0.8.0-1
- Upgrade to 0.8.0
- Rebuild for Xfce 4.12
More information about the scm-commits
mailing list