|
@@ -1,11 +1,13 @@
|
|
#TODO: Nautilus extention
|
|
#TODO: Nautilus extention
|
|
%define with_nautilus 0
|
|
%define with_nautilus 0
|
|
%define with_my_japo 0
|
|
%define with_my_japo 0
|
|
-%define svnrevision 1673
|
|
|
|
|
|
+%define svnrevision 1685
|
|
|
|
+
|
|
|
|
+%define GNOME_MPLAYER_BIN %{_libexecdir}/%{name}
|
|
|
|
|
|
Name: gnome-mplayer
|
|
Name: gnome-mplayer
|
|
Version: 0.9.9.2
|
|
Version: 0.9.9.2
|
|
-Release: 2%{?svnrevision:.svn%svnrevision}%{?_dist_release}
|
|
|
|
|
|
+Release: 3%{?svnrevision:.svn%svnrevision}%{?_dist_release}
|
|
Summary: An MPlayer GUI, a full-featured binary
|
|
Summary: An MPlayer GUI, a full-featured binary
|
|
Summary(ja): 高機能な MPlayer のグラフィカルユーザーインターフェース
|
|
Summary(ja): 高機能な MPlayer のグラフィカルユーザーインターフェース
|
|
Group: Applications/Multimedia
|
|
Group: Applications/Multimedia
|
|
@@ -13,6 +15,7 @@ License: GPLv2+
|
|
URL: http://kdekorte.googlepages.com/gnomemplayer
|
|
URL: http://kdekorte.googlepages.com/gnomemplayer
|
|
Source0: http://gnome-mplayer.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz}
|
|
Source0: http://gnome-mplayer.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz}
|
|
Source10: gnome-mplayer-snapshot.sh
|
|
Source10: gnome-mplayer-snapshot.sh
|
|
|
|
+Source50: gnome-mplayer.sh.in
|
|
|
|
|
|
## vine
|
|
## vine
|
|
%if %{with_my_japo}
|
|
%if %{with_my_japo}
|
|
@@ -95,7 +98,6 @@ GNOME MPlayer のインスタンスを制御できます.
|
|
プロパティを示すに Nautilus 拡張を提供します.
|
|
プロパティを示すに Nautilus 拡張を提供します.
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
|
|
|
|
@@ -122,6 +124,12 @@ desktop-file-install --vendor=vine \
|
|
--delete-original --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
--delete-original --dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
+## wrapper
|
|
|
|
+%__mkdir_p $RPM_BUILD_ROOT%{_libexecdir}
|
|
|
|
+%__mv $RPM_BUILD_ROOT%{_bindir}/%{name} $RPM_BUILD_ROOT%{GNOME_MPLAYER_BIN}
|
|
|
|
+%__sed s,@@GNOME_MPLAYER_BIN@@,%{GNOME_MPLAYER_BIN}, %{SOURCE50} > $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
|
+%__chmod 0755 $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
|
|
+
|
|
%find_lang %{name}
|
|
%find_lang %{name}
|
|
|
|
|
|
# remove intrusive docs
|
|
# remove intrusive docs
|
|
@@ -175,6 +183,7 @@ update-desktop-database &> /dev/null || :
|
|
%files -f %{name}.lang
|
|
%files -f %{name}.lang
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%{_bindir}/gnome-mplayer
|
|
%{_bindir}/gnome-mplayer
|
|
|
|
+%{GNOME_MPLAYER_BIN}
|
|
%{_datadir}/applications/*-gnome-mplayer.desktop
|
|
%{_datadir}/applications/*-gnome-mplayer.desktop
|
|
%{_datadir}/gnome-control-center/default-apps/gnome-mplayer.xml
|
|
%{_datadir}/gnome-control-center/default-apps/gnome-mplayer.xml
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README DOCS/* DOCS/tech/*
|
|
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README DOCS/* DOCS/tech/*
|
|
@@ -190,6 +199,11 @@ update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Apr 17 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-3.svn1685
|
|
|
|
+- source snapshot r1685
|
|
|
|
+- added gnome-mplayer.sh.in
|
|
|
|
+ - this script is a wrapper to check MPlayer binary existance
|
|
|
|
+
|
|
* Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-2.svn1673
|
|
* Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-2.svn1673
|
|
- source snapshot r1673
|
|
- source snapshot r1673
|
|
- Rework vdpau codec selection and deinterlace (r1673)
|
|
- Rework vdpau codec selection and deinterlace (r1673)
|