View Full Version : Radiotray for Fedora 12
PabloEsc
25th April 2010, 11:31 AM
If anyone's interested (fine and unobtrusive radio player for gnome) in radiotray rpm (i386) for Fedora 12 :
Link (http://pawelpogorzelski.iblogger.org/2010/04/25/radiotray-fedora-12/)
bob
25th April 2010, 12:45 PM
Have you submitted this to Fedora? I'd hope we'd soon see it in the official repositories.
PabloEsc
25th April 2010, 01:18 PM
Hmmm, don't know how to submit it ....
bob
25th April 2010, 01:34 PM
https://fedoraproject.org/wiki/Package_Review_Process
PabloEsc
25th April 2010, 01:57 PM
It seems someone was before me. Nobody has touched that request https://bugzilla.redhat.com/show_bug.cgi?id=583102
bob
25th April 2010, 02:40 PM
Well, there you go! You could become a Package Maintainer. Sadly, there's a lot of good stuff out there and relatively few people who are willing to spend the time and have the abilities to handle them.
leigh123linux
25th April 2010, 02:43 PM
If anyone's interested (fine and unobtrusive radio player for gnome) in radiotray rpm (i386) for Fedora 12 :
Link (http://pawelpogorzelski.iblogger.org/2010/04/25/radiotray-fedora-12/)
Radiotray should be a noarch package, not i386
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?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))")}
%endif
Name: radiotray
Version: 0.5.1
Release: 1%{?dist}
Summary: online radio streaming player that runs on a system tray
Group: Application/Internet
License: GPL
URL: http://radiotray.sourceforge.net
Source0: http://downloads.sf.net/radiotray/%{name}-%{version}.tar.gz
Patch0: desktopfile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel
BuildRequires: desktop-file-utils
%description
Radio Tray is an online radio streaming player that runs on a Linux system tray.
Its goal is to have the minimum interface possible, making it very straightforward to use.
Radio Tray is not a full featured music player, there are plenty of excellent music players already.
However, there was a need for a simple application with minimal interface just to listen to online radios.
%prep
%setup -q
%patch0 -p1 -b .desktopfile
%build
%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# remove icons from /usr/share/applications/radiotray_off.png
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/radiotray*.png
rm -f $RPM_BUILD_ROOT%{_datadir}/applications/radiotray*.gif
desktop-file-install --delete-original \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
$RPM_BUILD_ROOT%{_datadir}/applications/radiotray.desktop
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS CONTRIBUTORS COPYING NEWS README
%{_bindir}/radiotray
%{_datadir}/applications/radiotray.desktop
%{_datadir}/pixmaps/radiotray*
%dir %{_datadir}/radiotray
%{_datadir}/radiotray/*
%{python_sitelib}/*
%changelogHere's a example spec file ( it needs the BuildRequires & Requires to be added )
PabloEsc
25th April 2010, 07:01 PM
Well, there you go! You could become a Package Maintainer. Sadly, there's a lot of good stuff out there and relatively few people who are willing to spend the time and have the abilities to handle them.
I'll try my best :)
---------- Post added at 08:01 PM CDT ---------- Previous post was at 05:26 PM CDT ----------
My first try. I hope I didn't screw something up : Guayadeque Music Player https://bugzilla.redhat.com/show_bug.cgi?id=585707
leigh123linux
25th April 2010, 07:14 PM
I'll try my best :)
---------- Post added at 08:01 PM CDT ---------- Previous post was at 05:26 PM CDT ----------
My first try. I hope I didn't screw something up : Guayadeque Music Player https://bugzilla.redhat.com/show_bug.cgi?id=585707
It doesn't qualify for fedora due to flac, try rpmfusion instead ;)
http://rpmfusion.org/Contributors
%define debug_package %{nil}
Name: guayadeque
Version: 0.2.5
Release: 1%{?dist}
Summary: Music player
License: GPLv2
Group: Applications/Media
URL: http://sourceforge.net/projects/guayadeque/
Source0: http://sourceforge.net/projects/guayadeque/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: cmake, wxGTK-devel, gcc-c++, flac-devel, taglib-devel
BuildRequires: desktop-file-utils
Requires: flac, taglib, wxGTK, wxGTK-media, sqlite
P.S you will need to come up with good reason why you need to disable the debug package .
PabloEsc
25th April 2010, 07:20 PM
Ok, Just learning. Still a lot ahead of me (devel package - must've missed it when I took some spec as a entry point).
leigh123linux
25th April 2010, 07:24 PM
Ok, Just learning. Still a lot ahead of me (devel package - must've missed it when I took some spec as a entry point).
Sorry my mistake flac is a fedora repo package so your review request is fine.
http://koji.fedoraproject.org/koji/packageinfo?packageID=741
P.S why no debug package?
PabloEsc
25th April 2010, 08:50 PM
I've deleted the debug nil line in spec and srpm
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.