Sisyphus
: 7 2023 | : 18459 | : 27968427
en ru br
ALT

::
: rdj

             Sources      Gear   Bugs and FR  Repocop 

%define LANG russian
Name: rdj
Version: 0.3.2
Release: alt6.1
Serial: 1

License: GPL
Url: http://mimms.sourceforge.net/
Summary: gtk+ radio program for Video4Linux users
Summary(ru_RU.CP1251): gtk+ - Video4Linux
Group: Sound
Packager: Aleksandr Blokhin <sass at altlinux.ru>

Source: %name-%version.tar.bz2
Source1: rdj_menuentry
Source2: rdj

Patch0: %name-%version-makefile.patch.gz
Patch1: %name-%version-lang_russian.patch
Patch2: %name-%version-desktop_entry.patch
Patch3: %name-%version-alt-rdj_scan.patch

Provides: %name

# Automatically added by buildreq on Wed Dec 31 2003 (-bi)

BuildRequires: XFree86-devel esound-devel gcc-c++ glib-devel gnome-libs-devel
BuildRequires: gtk+-devel imlib-devel libaudiofile-devel libdb1-devel libstdc++-devel

%description
This in a gtk+ radio interface for bttv video devices with radio tuners.
Scanning, station editing, using devices radio0-3, setting a default station,
and having unlimited stations are fully supported. Also, you can start your
favorite television app and mixer from it.

%description -l ru_RU.CP1251
%name gtk+ bttv, -.
:
   o
   o
   o (radio0-3)
   o ,
   o rdj .

%package console
Summary: Radio program for video4linux users
Summary(ru_RU.CP1251):   - Video4Linux
Group: Sound

%description console
%name is radio interface for bttv video devices with radio tuners.
Scanning, station editing, using devices radio0-3, setting a default station,
and having unlimited stations are fully supported.

%description console -l ru_RU.CP1251
%name bttv, -.
:
   o
   o
   o (radio0-3)

%prep
%setup
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
%make_build -C src LANG=%LANG %name

%install
%__mkdir_p $RPM_BUILD_ROOT{%_bindir,%_man1dir,%_iconsdir}
%__mkdir_p $RPM_BUILD_ROOT%_datadir{/gnome/apps/Multimedia/Sound,/%name/xpm,/applnk/Multimedia/Sound}
%__install -p -m664 -D %SOURCE1 $RPM_BUILD_ROOT%_menudir/RadioDJ
%__install -p -m664 %{name}_icon.xpm $RPM_BUILD_ROOT%_iconsdir/%name.xpm
%__install -p -m664 xpm/* $RPM_BUILD_ROOT%_datadir/%name/xpm/

%makeinstall -C src
%__install -p -m755 src/%name $RPM_BUILD_ROOT%_bindir/xrdj
%__install -p -m755 %SOURCE2 $RPM_BUILD_ROOT%_bindir

%post
%update_menus

%postun
%clean_menus

%files
%doc README COPYING ChangeLog KNOWN_BUGS Languages
%dir %_datadir/%name
%dir %_datadir/%name/xpm
%_bindir/%name
%_bindir/xrdj
%_bindir/%{name}_scan
%_datadir/%name/xpm/*
%_iconsdir/%name.xpm
%_menudir/RadioDJ
%_datadir/gnome/apps/Multimedia/Sound/rdj.desktop
%_datadir/applnk/Multimedia/Sound/rdj.kdelnk
%_man1dir/%name.1.gz

%files console
%doc %_docdir/%name-%version
%_bindir/%{name}_term
%_bindir/fscan
%_man1dir/%name.1.gz

%changelog

changelog

 
: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
: Michael Shigorin