LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File python-pyradio.spec of Package python-pyradio (Project home:uebelhacker)

Summary:        Curses based internet radio player
Name:		python-pyradio
Version:	0.4
Release:	1.1
Autoreqprov:    on
Group:          Productivity/Multimedia/Sound/Players
License:	MIT
URL:		http://www.coderholic.com/pyradio
Source0:	%{name}-%{version}.tar.bz2
Source1:        %{name}-rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	python-devel
Requires:	python-base
Requires:	python-curses
Requires:	MPlayer
%py_requires
BuildArch:      noarch

%description
PyRadio is a console based Internet radio player. It is implemented in Python, and uses mplayer for media playback. You can configure your stations in ~/.pyradio/stations.csv, example stations.csv can be found in /usr/share/doc/packages/python-pyradio/

%prep
%setup -q -n coderholic-pyradio-377de18/

%build
# nothing to build here

%install
# binary
install -d -m 0775 %{buildroot}/%{_bindir}
install -m 0755 pyradio %{buildroot}/%{_bindir}/pyradio
# docs
install -d -m 0775 %{buildroot}/%{_docdir}/%{name}/
install -m 0644 LICENCE README stations.csv %{buildroot}/%{_docdir}/%{name}/

%if ! 0%{?suse_version}
%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
%endif

%files
%defattr(-, root, root)
%doc README LICENCE stations.csv
%{_bindir}/pyradio

%changelog
* Fri Feb 17 2012 - Sven Uebelacker <sven@uebelacker.net> - 0.4
- updating to version 0.4 from github 377de188c3, 2012-01-18
- looks now in ~/.pyradio/stations.csv for stations

* Sun Jan 08 2012 - Sven Uebelacker <sven@uebelacker.net> - 0.2
- updating to github 3b95e36b74, 2012-01-02
- log errors fixed

* Sun Jan 01 2012 - Sven Uebelacker <sven@uebelacker.net> - 0.2
- initial package from github 13cc936ff4, 2011-12-22