|
@@ -1,9 +1,9 @@
|
|
|
# by default don't build the browser plugin
|
|
|
# use bcond_without to change the default
|
|
|
-%bcond_with mozilla
|
|
|
+#%bcond_with mozilla
|
|
|
|
|
|
Name: parole
|
|
|
-Version: 0.2.0.2
|
|
|
+Version: 0.2.0.6
|
|
|
Release: 1%{?_dist_release}
|
|
|
Summary: Media player for the Xfce desktop
|
|
|
Summary(ja): Xfce デスクトップのメディアプレーヤー
|
|
@@ -11,7 +11,9 @@ Summary(ja): Xfce デスクトップのメディアプレーヤー
|
|
|
Group: Applications/Multimedia
|
|
|
License: GPLv2+
|
|
|
URL: http://goodies.xfce.org/projects/applications/parole
|
|
|
-Source0: http://archive.xfce.org/src/apps/parole/0.1/%{name}-%{version}.tar.bz2
|
|
|
+Source0: http://archive.xfce.org/src/apps/parole/0.2/%{name}-%{version}.tar.bz2
|
|
|
+Patch1: parole-0.2.0.6-dsofix.patch
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
BuildRequires: gtk2-devel >= 2.16.0
|
|
@@ -27,9 +29,11 @@ BuildRequires: taglib-devel >= 1.4
|
|
|
BuildRequires: desktop-file-utils
|
|
|
BuildRequires: gettext
|
|
|
BuildRequires: intltool
|
|
|
-%if %{with mozilla}
|
|
|
-BuildRequires: xulrunner-devel
|
|
|
-%endif
|
|
|
+
|
|
|
+#%if %{with mozilla}
|
|
|
+#BuildRequires: xulrunner-devel
|
|
|
+#%endif
|
|
|
+
|
|
|
BuildRequires: gtk-doc
|
|
|
Requires: gstreamer-plugins-good
|
|
|
|
|
@@ -73,35 +77,37 @@ The %{name}-devel package contains header files for developing plugins for
|
|
|
%{name}-devel パッケージ は %{name} のプラグインを開発するための
|
|
|
ヘッダファイルを含みます。
|
|
|
|
|
|
-%if %{with mozilla}
|
|
|
-%package mozplugin
|
|
|
-Summary: Browser plugin for %{name}
|
|
|
-Group: Application/Internet
|
|
|
-Requires: %{name} = %{version}-%{release}
|
|
|
+#%if %{with mozilla}
|
|
|
+#%package mozplugin
|
|
|
+#Summary: Browser plugin for %{name}
|
|
|
+#Group: Application/Internet
|
|
|
+#Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
-%description mozplugin
|
|
|
-Parole is a modern simple media player based on the GStreamer framework and
|
|
|
-written to fit well in the Xfce desktop. This plugin allows it to be embedded
|
|
|
-in a web browser.
|
|
|
-%endif
|
|
|
+#%description mozplugin
|
|
|
+#Parole is a modern simple media player based on the GStreamer framework and
|
|
|
+#written to fit well in the Xfce desktop. This plugin allows it to be embedded
|
|
|
+#in a web browser.
|
|
|
+#%endif
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
+%patch1 -p1
|
|
|
|
|
|
%build
|
|
|
%configure --disable-static --enable-gtk-doc \
|
|
|
-%if %{with mozilla}
|
|
|
- --enable-browser-plugin
|
|
|
-%else
|
|
|
- --disable-browser-plugin
|
|
|
-%endif
|
|
|
-make %{?_smp_mflags} V=1
|
|
|
+#%if %{with mozilla}
|
|
|
+# --enable-browser-plugin
|
|
|
+#%else
|
|
|
+# --disable-browser-plugin
|
|
|
+#%endif
|
|
|
+make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
|
+
|
|
|
%find_lang %{name}
|
|
|
|
|
|
desktop-file-install \
|
|
@@ -148,14 +154,18 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
%{_includedir}/%{name}/
|
|
|
|
|
|
|
|
|
-%if %{with mozilla}
|
|
|
-%files mozplugin
|
|
|
-%defattr(-,root,root,-)
|
|
|
-%{_libexecdir}/%{name}-media-plugin
|
|
|
-%{_libdir}/mozilla/plugins/%{name}-player.so
|
|
|
-%endif
|
|
|
+#%if %{with mozilla}
|
|
|
+#%files mozplugin
|
|
|
+#%defattr(-,root,root,-)
|
|
|
+#%{_libexecdir}/%{name}-media-plugin
|
|
|
+#%{_libdir}/mozilla/plugins/%{name}-player.so
|
|
|
+#%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Sep 30 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0.6-1
|
|
|
+- new upstream release
|
|
|
+- obsoleted -mozplugin package
|
|
|
+
|
|
|
* Tue Jan 26 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.2.0.2-1
|
|
|
- new upstream release
|
|
|
|