File betaradio.spec of Package betaradio

Name:           betaradio
Version:        1.2
Release:        1
License:        GPLv2
Vendor:		FourDollars <fourdollars@gmail.com>
URL: 		http://code.google.com/p/betaradio/
Packager:       swyear <swyear@gmail.com>
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  gtk2-devel libcurl-devel gstreamer010-devel update-desktop-files
BuildRequires: json-glib-devel libsoup-devel vala-devel
Requires:       gstreamer-0_10-ffmpeg gstreamer-0_10-plugins-base gstreamer-0_10-plugins-good gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-ugly
Source0:        %{name}-%{version}.tar.bz2
Patch0:		makefile.diff
Group:          Productivity/Multimedia/Sound/Players
Summary:        Listen to hiChannel radio online

%description
With this client you can listen to the hiChannel electric radio (http://hichannel.hinet.net/radio/index.jsp) without opening a browser.

%prep
%setup -q
%patch0
%build
./configure --prefix=/usr --libdir=%{_libdir}
make
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%suse_update_desktop_file  %name

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_bindir}/betaradio
%{_datadir}/applications/*
%{_datadir}/pixmaps/*