ALT Linux repos
Group :: Video
RPM: mplayerTV
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define pre rc1
Name: mplayerTV
Version: 0.2.1
Release: alt0.1%pre
Summary: MPlayer TV - PERL/GTK2 frontend
Url: http://www.mplayertv.tk/
License: GPL
Group: Video
Source: http://mplayertv.zer0.hu/downloads/%name-%{version}%pre.tar.bz2
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
# Automatically added by buildreq on Sun Apr 17 2005 (-bi)
BuildRequires: fontconfig freetype2 glib2 perl-Glib perl-Gtk2 perl-MPlayer perl-threads xorg-x11-libs
%description
mplayerTV is a PERL/Gtk2 frontend for mplayer. If you have a configured
version of xawtv then mplayerTV uses it's configuration file. mplayerTV
stores your configuration in ~/.mplayertv file. This configuration file
partially compatible with xawtv.
%prep
%setup -q -n %name-%{version}%pre
%install
%__install -D -v -m 755 mplayerTV %buildroot/%_bindir/mplayerTV
#%__install -D -v -m 755 mplayerTV.1 %buildroot/%_man1dir/mplayerTV.1
#menu
mkdir -p %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name): command="%_bindir/%name" icon="%name.png" needs="x11" longtitle="TV Viewer" title="Mplayer TV" section="Multimedia/Video"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc README AUTHORS DOCS
%_bindir/%name
%_menudir/%name
%changelog
…
Full changelog you can see here
Name: mplayerTV
Version: 0.2.1
Release: alt0.1%pre
Summary: MPlayer TV - PERL/GTK2 frontend
Url: http://www.mplayertv.tk/
License: GPL
Group: Video
Source: http://mplayertv.zer0.hu/downloads/%name-%{version}%pre.tar.bz2
Packager: Vitaly Lipatov <lav at altlinux.ru>
BuildArch: noarch
# Automatically added by buildreq on Sun Apr 17 2005 (-bi)
BuildRequires: fontconfig freetype2 glib2 perl-Glib perl-Gtk2 perl-MPlayer perl-threads xorg-x11-libs
%description
mplayerTV is a PERL/Gtk2 frontend for mplayer. If you have a configured
version of xawtv then mplayerTV uses it's configuration file. mplayerTV
stores your configuration in ~/.mplayertv file. This configuration file
partially compatible with xawtv.
%prep
%setup -q -n %name-%{version}%pre
%install
%__install -D -v -m 755 mplayerTV %buildroot/%_bindir/mplayerTV
#%__install -D -v -m 755 mplayerTV.1 %buildroot/%_man1dir/mplayerTV.1
#menu
mkdir -p %buildroot%_menudir
cat << EOF > %buildroot%_menudir/%name
?package(%name): command="%_bindir/%name" icon="%name.png" needs="x11" longtitle="TV Viewer" title="Mplayer TV" section="Multimedia/Video"
EOF
%post
%update_menus
%postun
%clean_menus
%files
%doc README AUTHORS DOCS
%_bindir/%name
%_menudir/%name
%changelog
…
Full changelog you can see here