# sitelib for noarch packages, sitearch for others (remove the unneeded one) %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} Name: idjc Version: 0.8.1 Release: 1%{?dist} Summary: Internet DJ Console Group: Applications/Multimedia License: GPLv3 URL: http://www.onlymeok.nildram.co.uk Source0: http://downloads.sourceforge.net/project/idjc/idjc/0.8/idjc-%{version}.tar.gz Source1: %{name}.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: flac-devel, gamin-devel, faac-devel, faad2-devel, ffmpeg-devel, BuildRequires: libvorbis-devel speex-devel, libmad-devel, lame-devel BuildRequires: jack-audio-connection-kit-devel, libsndfile-devel, libsamplerate-devel BuildRequires: glib2-devel, python-devel, pygtk2-devel, python-mutagen, desktop-file-utils Requires: python %description Internet DJ console is a free software application for people wanting to make radio shows on the internet. Internet DJ console supports live streaming in Ogg or MP3 formats to Shoutcast and Icecast servers. It also has a record facility that does both Ogg and MP3. Multiple bitrates are supported. Two main media players. A jingles/interlude player (interlude fills the background with music when you are not playing anything). A basic crossfader. A stream shut-off timer (just in case you forget). DJ Alarm (an alarm tone to alert you when the music is about to stop). Mute buttons that enable you to preview the songs you might want to play without affecting the stream/recording. The aux input facilitates the connection of other JACK audio applications to IDJC. IDJC outputs two audio streams. The second that appears on the rear speaker terminals of the soundcard is intended for the listeners and can be used for a truly live show. A VOIP feature allows the taking of calls on and off-air (telephone icons). IDJC can announce the tracks you are playing to IRC (internet relay chat) using the X-Chat plugin (supplied). %prep %setup -q %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ --add-category="AudioVideo" \ --dir=%{buildroot}%{_datadir}/applications \ %{SOURCE1} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README %doc doc/* %{_bindir}/%{name}* %{_mandir}/man*/%{name}* %{_libexecdir}/%{name}* %{python_sitelib}/* %dir %{_datadir}/%{name} %{_datadir}/%{name}/* %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %changelog * Sun Jan 3 2010 Jonathan Steffan - 0.8.1-1 - Initial Package