[521] | 1 | #TODO: Nautilus extention |
---|
| 2 | %define with_nautilus 0 |
---|
| 3 | %define with_my_japo 0 |
---|
[591] | 4 | %define svnrevision 1673 |
---|
[521] | 5 | |
---|
| 6 | Name: gnome-mplayer |
---|
| 7 | Version: 0.9.9.2 |
---|
[591] | 8 | Release: 2%{?svnrevision:.svn%svnrevision}%{?_dist_release} |
---|
[521] | 9 | Summary: An MPlayer GUI, a full-featured binary |
---|
| 10 | Summary(ja): 高機能な MPlayer のグラフィカルユーザーインターフェース |
---|
| 11 | Group: Applications/Multimedia |
---|
| 12 | License: GPLv2+ |
---|
| 13 | URL: http://kdekorte.googlepages.com/gnomemplayer |
---|
| 14 | Source0: http://gnome-mplayer.googlecode.com/files/%{name}-%{version}%{?svnrevision:.svn%svnrevision}.tar.%{?svnrevision:bz2}%{!?svnrevision:gz} |
---|
| 15 | Source10: gnome-mplayer-snapshot.sh |
---|
| 16 | |
---|
| 17 | ## vine |
---|
| 18 | %if %{with_my_japo} |
---|
| 19 | #Patch100: gnome-mplayer-0.9.4-ja.patch |
---|
| 20 | Source100: gnome-mplayer-0.9.9.svn1629-ja.po |
---|
| 21 | %endif |
---|
| 22 | |
---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 24 | |
---|
| 25 | BuildRequires: alsa-lib-devel |
---|
| 26 | BuildRequires: dbus-glib-devel |
---|
| 27 | BuildRequires: desktop-file-utils |
---|
| 28 | BuildRequires: GConf2-devel |
---|
| 29 | BuildRequires: gettext |
---|
| 30 | BuildRequires: gtk2-devel |
---|
| 31 | #BuildRequires: libcurl-devel |
---|
| 32 | BuildRequires: curl-devel |
---|
| 33 | BuildRequires: libgpod-devel |
---|
| 34 | #BuildRequires: libmusicbrainz3-devel |
---|
| 35 | BuildRequires: libmusicbrainz-devel |
---|
| 36 | BuildRequires: libnotify-devel |
---|
| 37 | BuildRequires: libXScrnSaver-devel |
---|
| 38 | |
---|
| 39 | Requires: gvfs-fuse |
---|
| 40 | #Requires: mencoder |
---|
| 41 | #Requires: self-build-mplayer |
---|
| 42 | |
---|
| 43 | Requires(pre): GConf2 |
---|
| 44 | Requires(post): GConf2 |
---|
| 45 | Requires(preun): GConf2 |
---|
| 46 | |
---|
| 47 | Distribution: Vine |
---|
| 48 | Vendor: Project Vine |
---|
| 49 | Packager: munepi |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %description |
---|
| 53 | GNOME MPlayer is a simple GUI for MPlayer. It is intended to be a nice tight |
---|
| 54 | player and provide a simple and clean interface to MPlayer. GNOME MPlayer has |
---|
| 55 | a rich API that is exposed via DBus. Using DBus you can control a single or |
---|
| 56 | multiple instances of GNOME MPlayer from a single command. |
---|
| 57 | |
---|
| 58 | %description -l ja |
---|
| 59 | GNOME MPlayer は MPlayer のための簡単なグラフィカルユーザー |
---|
| 60 | インターフェースです。とても引き締まったていて, |
---|
| 61 | MPlayer への簡単でかつ明確なインターフェースを提供します. |
---|
| 62 | GNOME MPlayer は DBus 経由で公開されている豊富な API を持っています。 |
---|
| 63 | DBus を使って,あなたは1つのコマンドから単一のあるいは複数の |
---|
| 64 | GNOME MPlayer のインスタンスを制御できます. |
---|
| 65 | |
---|
| 66 | gnome-mplayer を使うためには,mplayer が必要です. |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %if %{with_nautilus} |
---|
| 70 | %package nautilus |
---|
| 71 | Summary: A Nautilus extention of %{name} |
---|
| 72 | Summary(ja): %{name} の Nautilus 拡張 |
---|
| 73 | Group: Applications/Multimedia |
---|
| 74 | Requires: %{name} = %{version}-%{release} |
---|
| 75 | Requires: nautilus-extensions |
---|
| 76 | |
---|
| 77 | %description nautilus |
---|
| 78 | GNOME MPlayer is a simple GUI for MPlayer. It is intended to be a nice tight |
---|
| 79 | player and provide a simple and clean interface to MPlayer. GNOME MPlayer has |
---|
| 80 | a rich API that is exposed via DBus. Using DBus you can control a single or |
---|
| 81 | multiple instances of GNOME MPlayer from a single command. |
---|
| 82 | |
---|
| 83 | This package provides a nautilus extension, which shows properties of audio and |
---|
| 84 | video files in the properties dialogue. |
---|
| 85 | |
---|
| 86 | %description nautilus -l ja |
---|
| 87 | GNOME MPlayer は MPlayer のための簡単なグラフィカルユーザー |
---|
| 88 | インターフェースです。とても引き締まったていて, |
---|
| 89 | MPlayer への簡単でかつ明確なインターフェースを提供します. |
---|
| 90 | GNOME MPlayer は DBus 経由で公開されている豊富な API を持っています。 |
---|
| 91 | DBus を使って,あなたは1つのコマンドから単一のあるいは複数の |
---|
| 92 | GNOME MPlayer のインスタンスを制御できます. |
---|
| 93 | |
---|
| 94 | このパッケージはプロパティダイアログ内でオーディオやビデオファイルの |
---|
| 95 | プロパティを示すに Nautilus 拡張を提供します. |
---|
| 96 | %endif |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | %prep |
---|
| 100 | %setup -q |
---|
| 101 | |
---|
| 102 | %if %{with_my_japo} |
---|
| 103 | ## vine |
---|
| 104 | #% patch100 -p1 -b .ja |
---|
| 105 | %__install -m644 %{SOURCE100} po/ja.po |
---|
| 106 | #autoreconf -f |
---|
| 107 | %endif |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | %build |
---|
| 111 | %configure --disable-static |
---|
| 112 | %__make %{?_smp_mflags} |
---|
| 113 | |
---|
| 114 | |
---|
| 115 | %install |
---|
| 116 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 117 | |
---|
| 118 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 119 | %__make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 120 | |
---|
| 121 | desktop-file-install --vendor=vine \ |
---|
| 122 | --delete-original --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 123 | $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop |
---|
| 124 | |
---|
| 125 | %find_lang %{name} |
---|
| 126 | |
---|
| 127 | # remove intrusive docs |
---|
| 128 | %__rm -rf $RPM_BUILD_ROOT%{_docdir}/gnome-mplayer |
---|
| 129 | |
---|
| 130 | # remove unpackaged files |
---|
| 131 | find $RPM_BUILD_ROOT -name *.la -exec rm -f {} \; |
---|
| 132 | |
---|
| 133 | |
---|
| 134 | %pre |
---|
| 135 | if [ "$1" -gt 1 ]; then |
---|
| 136 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 137 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 138 | %{_sysconfdir}/gconf/schemas/gnome-mplayer.schemas >/dev/null || : |
---|
| 139 | # If the schema file has ever been renamed:: |
---|
| 140 | #gconftool-2 --makefile-uninstall-rule \ |
---|
| 141 | # %{_sysconfdir}/gconf/schemas/[OLDNAME].schemas > /dev/null || : |
---|
| 142 | fi |
---|
| 143 | |
---|
| 144 | |
---|
| 145 | %post |
---|
| 146 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 147 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 148 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 149 | fi |
---|
| 150 | update-desktop-database &> /dev/null || : |
---|
| 151 | |
---|
| 152 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 153 | gconftool-2 --makefile-install-rule \ |
---|
| 154 | %{_sysconfdir}/gconf/schemas/gnome-mplayer.schemas > /dev/null || : |
---|
| 155 | |
---|
| 156 | %preun |
---|
| 157 | if [ "$1" -eq 0 ]; then |
---|
| 158 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 159 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 160 | %{_sysconfdir}/gconf/schemas/gnome-mplayer.schemas > /dev/null || : |
---|
| 161 | fi |
---|
| 162 | |
---|
| 163 | %postun |
---|
| 164 | touch --no-create %{_datadir}/icons/hicolor |
---|
| 165 | if [ -x %{_bindir}/gtk-update-icon-cache ]; then |
---|
| 166 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor |
---|
| 167 | fi |
---|
| 168 | update-desktop-database &> /dev/null || : |
---|
| 169 | |
---|
| 170 | |
---|
| 171 | %clean |
---|
| 172 | %__rm -rf $RPM_BUILD_ROOT |
---|
| 173 | |
---|
| 174 | |
---|
| 175 | %files -f %{name}.lang |
---|
| 176 | %defattr(-,root,root,-) |
---|
| 177 | %{_bindir}/gnome-mplayer |
---|
| 178 | %{_datadir}/applications/*-gnome-mplayer.desktop |
---|
| 179 | %{_datadir}/gnome-control-center/default-apps/gnome-mplayer.xml |
---|
| 180 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README DOCS/* DOCS/tech/* |
---|
| 181 | %{_sysconfdir}/gconf/schemas/gnome-mplayer.schemas |
---|
| 182 | %{_datadir}/icons/hicolor/*/apps/gnome-mplayer.* |
---|
| 183 | %{_mandir}/man1/gnome-mplayer.1.gz |
---|
| 184 | |
---|
| 185 | %if %{with_nautilus} |
---|
| 186 | %files nautilus |
---|
| 187 | %{_libdir}/nautilus/extensions-2.0/*.so.* |
---|
| 188 | %{_libdir}/nautilus/extensions-2.0/*.so |
---|
| 189 | %endif |
---|
| 190 | |
---|
| 191 | |
---|
| 192 | %changelog |
---|
[592] | 193 | * Tue Mar 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-2.svn1673 |
---|
| 194 | - source snapshot r1673 |
---|
[591] | 195 | - Rework vdpau codec selection and deinterlace (r1673) |
---|
| 196 | |
---|
[521] | 197 | * Thu Mar 04 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9.2-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
| 200 | * Sat Feb 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-4 |
---|
| 201 | - new upstream release |
---|
| 202 | - added gnome-mplayer-snapshot.sh |
---|
| 203 | |
---|
| 204 | * Sat Jan 16 2010 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-2.svn1619 |
---|
| 205 | - source snapshot r1619 |
---|
| 206 | - added gnome-mplayer-0.9.9.svn1619-ja.po |
---|
| 207 | |
---|
| 208 | * Mon Dec 14 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1.svn1599 |
---|
| 209 | - source snapshot r1599 |
---|
| 210 | - added BuildRequires: libXScrnSaver-devel |
---|
| 211 | |
---|
| 212 | * Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.9-1.svn1583 |
---|
| 213 | - source snapshot r1583 |
---|
| 214 | - dropped gnome-mplayer-0.9.8-fix-hidden-cursor-over-menus.patch |
---|
| 215 | |
---|
| 216 | * Sun Nov 01 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-4 |
---|
| 217 | - applied gnome-mplayer-0.9.8-fix-hidden-cursor-over-menus.patch |
---|
| 218 | - fix hidden cursor over menus (r1576) |
---|
| 219 | |
---|
| 220 | * Sat Sep 19 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-3 |
---|
| 221 | - new upstream release |
---|
| 222 | |
---|
| 223 | * Tue Sep 15 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-2.svn1540 |
---|
| 224 | - source snapshot r1540 |
---|
| 225 | |
---|
| 226 | * Mon Sep 14 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.8-1.svn1538 |
---|
| 227 | - source snapshot r1538 |
---|
| 228 | - updated the latest up-to-date ja.po |
---|
| 229 | |
---|
| 230 | * Sat Aug 22 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-3 |
---|
| 231 | - new upstream release |
---|
| 232 | |
---|
| 233 | * Fri Aug 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-2.svn1493 |
---|
| 234 | - source snapshot r1493 |
---|
| 235 | |
---|
| 236 | * Fri Aug 07 2009 Munehiro Yamamoto <munepi@vinelinux.org> 0.9.7-1.svn1486 |
---|
| 237 | - source snapshot r1486 |
---|
| 238 | - updated the latest up-to-date ja.po |
---|
| 239 | - added gtk-update-icon-cache actions in %%post, %%postun |
---|
| 240 | |
---|
| 241 | * Wed Jun 10 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.9.6-2 |
---|
| 242 | - rebuild with libgpod-0.7.2 |
---|
| 243 | - gconf uninstall rule in %%preun, not %%postun |
---|
| 244 | |
---|
| 245 | * Sat Jun 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.6-1 |
---|
| 246 | - new upstream release |
---|
| 247 | |
---|
| 248 | * Thu May 27 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-4.svn1298 |
---|
| 249 | - source snapshot r1298 |
---|
| 250 | - updated the latest up-to-date ja.po |
---|
| 251 | |
---|
| 252 | * Sat Apr 25 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-3.svn1236 |
---|
| 253 | - dropped Requires: self-build-mplayer |
---|
| 254 | |
---|
| 255 | * Sat Mar 28 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-2.svn1236 |
---|
| 256 | - source snapshot r1236 |
---|
| 257 | - updated the latest up-to-date ja.po |
---|
| 258 | |
---|
| 259 | * Sun Mar 15 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.5-1 |
---|
| 260 | - new upstream release |
---|
| 261 | |
---|
| 262 | * Fri Mar 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-4.r1184 |
---|
| 263 | - dropped a Nautilus plugin once |
---|
| 264 | |
---|
| 265 | * Fri Mar 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-3.r1184 |
---|
| 266 | - source snapshot r1184 |
---|
| 267 | - dropped gnome-mplayer-0.9.4-ja.patch |
---|
| 268 | - committed Japanese translation |
---|
| 269 | - applied gnome-mplayer-0.9.4.r1184-ja.po |
---|
| 270 | - update the latest up-to-date ja.po |
---|
| 271 | |
---|
| 272 | * Fri Feb 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-2 |
---|
| 273 | - added Summary(ja), %%description -l ja |
---|
| 274 | - updated gnome-mplayer-0.9.4-ja.patch |
---|
| 275 | |
---|
| 276 | * Fri Feb 06 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.4-1 |
---|
| 277 | - new upstream release |
---|
| 278 | - updated gnome-mplayer-0.9.4-ja.patch |
---|
| 279 | - updated gnome-mplayer-0.9.4-ja.po |
---|
| 280 | - updated the URL tag |
---|
| 281 | |
---|
| 282 | * Sun Feb 01 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 0.9.3-1 |
---|
| 283 | - initial build |
---|
| 284 | - added ja.po |
---|
| 285 | |
---|
| 286 | * Thu Jan 8 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-2 |
---|
| 287 | - Added patch fixing rpmfusion bug #238 from SVN |
---|
| 288 | - Made the dependencies between packages stricter (%%{version} → %%{version}-%%{release}) |
---|
| 289 | |
---|
| 290 | * Sat Jan 3 2009 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.3-1 |
---|
| 291 | - Updated to 0.9.3 |
---|
| 292 | |
---|
| 293 | * Mon Nov 24 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-2 |
---|
| 294 | - Refactored the spec to allow building both minimal and full-featured versions |
---|
| 295 | - s/gnome-mplayer-core-functionality/gnome-mplayer-binary |
---|
| 296 | |
---|
| 297 | * Sat Nov 22 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.2-1 |
---|
| 298 | - Updated to 0.9.2 |
---|
| 299 | - Added libcurl-devel, libgpod-devel and libmusicbrainz3-devel to BuildRequires |
---|
| 300 | - Provide gnome-mplayer-core-functionality |
---|
| 301 | |
---|
| 302 | * Sun Nov 2 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.1-1 |
---|
| 303 | - Updated to 0.9.1 |
---|
| 304 | |
---|
| 305 | * Fri Oct 31 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.9.0-1 |
---|
| 306 | - Updated to 0.9.0 |
---|
| 307 | - Added libnotify-devel to BuildRequires |
---|
| 308 | - Added gvfs-fuse to Requires |
---|
| 309 | |
---|
| 310 | * Mon Sep 29 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.8.0-1.1 |
---|
| 311 | - Updated to 0.8.0 |
---|
| 312 | |
---|
| 313 | * Sat Sep 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.7.0-2.1 |
---|
| 314 | - Added alsa-lib-devel to BuildRequires (livna bug #2084) |
---|
| 315 | |
---|
| 316 | * Sun Aug 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.7.0-1.1 |
---|
| 317 | - Updated to 0.7.0 |
---|
| 318 | |
---|
| 319 | * Wed Jul 30 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info - 0.6.3-2 |
---|
| 320 | - rebuild for buildsys cflags issue |
---|
| 321 | |
---|
| 322 | * Sun Jul 6 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.3-1 |
---|
| 323 | - Updated to 0.6.3 |
---|
| 324 | |
---|
| 325 | * Tue Jun 10 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.2-2 |
---|
| 326 | - Added mencoder to Requires (bug #1991) |
---|
| 327 | |
---|
| 328 | * Wed May 28 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.2-1 |
---|
| 329 | - Updated to 0.6.2 |
---|
| 330 | |
---|
| 331 | * Thu Apr 17 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.1-1 |
---|
| 332 | - Updated to 0.6.1 |
---|
| 333 | - Updated URL and Source0 |
---|
| 334 | |
---|
| 335 | * Wed Feb 13 2008 Julian Sikorski <belegdol[at]gmail[dot]com> - 0.6.0-1 |
---|
| 336 | - Initial rpmfusion release |
---|