Browse Source

updated gnome-mplayer

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2176 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 14 years ago
parent
commit
faa2b63632
1 changed files with 22 additions and 6 deletions
  1. 22 6
      g/gnome-mplayer/gnome-mplayer-vl.spec

+ 22 - 6
g/gnome-mplayer/gnome-mplayer-vl.spec

@@ -2,13 +2,13 @@
 %define with_nautilus 0
 %define with_my_japo 0
 #% define svnrevision 1729
-%define rcversion 3
+#% define rcversion 3
 
 %define GNOME_MPLAYER_BIN %{_libexecdir}/%{name}
 
 Name:           gnome-mplayer
-Version:        0.9.99
-Release:        2%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}%{?_dist_release}
+Version:        1.0.0
+Release:        1%{?svnrevision:.svn%svnrevision}%{?rcversion:.rc%rcversion}%{?_dist_release}
 Summary:        An MPlayer GUI, a full-featured binary
 Summary(ja):    高機能な MPlayer のグラフィカルユーザーインターフェース
 Group:          Applications/Multimedia
@@ -35,12 +35,16 @@ BuildRequires:  gtk2-devel
 #BuildRequires:  libcurl-devel
 BuildRequires:  curl-devel
 BuildRequires:  libgpod-devel
-#BuildRequires:  libmusicbrainz3-devel
-BuildRequires:  libmusicbrainz-devel
+%if %{?_dist_release} == "vl6"
+BuildRequires:  libmusicbrainz3-devel
+%endif
+#BuildRequires:  libmusicbrainz-devel
 BuildRequires:  libnotify-devel
 BuildRequires:  libXScrnSaver-devel
+BuildRequires:  gnome-power-manager
 
 Requires:       gvfs-fuse
+Requires:       gnome-power-manager
 #Requires:       mencoder
 #Requires:       self-build-mplayer
 
@@ -110,7 +114,12 @@ GNOME MPlayer のインスタンスを制御できます.
 
 
 %build
-%configure --disable-static
+%configure \
+    --disable-static \
+    %if !%{with_nautilus}
+    --disable-nautilus \
+    %endif
+    ;
 %__make %{?_smp_mflags}
 
 
@@ -199,6 +208,13 @@ update-desktop-database &> /dev/null || :
 
 
 %changelog
+* Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.0.0-1
+- new upstream release
+- added BuildRequires: 
+  - libmusicbrainz3-devel (only vl6)
+  - gnome-power-manager
+- added Requires: gnome-power-manager
+
 * Tue Oct 12 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.99-2.rc3
 - source 0.9.99.rc3