Fedora Linux Support Community & Resources Center
  #1  
Old 25th April 2010, 11:31 AM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
linuxsafari
Radiotray for Fedora 12

If anyone's interested (fine and unobtrusive radio player for gnome) in radiotray rpm (i386) for Fedora 12 :
Link
Reply With Quote
  #2  
Old 25th April 2010, 12:45 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201
linuxfirefox
Re: Radiotray for Fedora 12

Have you submitted this to Fedora? I'd hope we'd soon see it in the official repositories.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #3  
Old 25th April 2010, 01:18 PM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
linuxsafari
Re: Radiotray for Fedora 12

Hmmm, don't know how to submit it ....
Reply With Quote
  #4  
Old 25th April 2010, 01:34 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201
linuxfirefox
Re: Radiotray for Fedora 12

https://fedoraproject.org/wiki/Package_Review_Process
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #5  
Old 25th April 2010, 01:57 PM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
linuxsafari
Re: Radiotray for Fedora 12

It seems someone was before me. Nobody has touched that request https://bugzilla.redhat.com/show_bug.cgi?id=583102
Reply With Quote
  #6  
Old 25th April 2010, 02:40 PM
bob's Avatar
bob Offline
Administrator (yeah, back again)
 
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201
linuxfirefox
Re: Radiotray for Fedora 12

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.
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651


Don't use any of my solutions on working computers or near small children.
Reply With Quote
  #7  
Old 25th April 2010, 02:43 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Radiotray for Fedora 12

Quote:
Originally Posted by PabloEsc View Post
If anyone's interested (fine and unobtrusive radio player for gnome) in radiotray rpm (i386) for Fedora 12 :
Link

Radiotray should be a noarch package, not i386

Code:
%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}/*



%changelog
Here's a example spec file ( it needs the BuildRequires & Requires to be added )
Attached Files
File Type: patch desktopfile.patch (558 Bytes, 64 views)
Reply With Quote
  #8  
Old 25th April 2010, 07:01 PM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
linuxsafari
Re: Radiotray for Fedora 12

Quote:
Originally Posted by bob View Post
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
Reply With Quote
  #9  
Old 25th April 2010, 07:14 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Re: Radiotray for Fedora 12

Quote:
Originally Posted by PabloEsc View Post
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

Code:
%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 .
Reply With Quote
  #10  
Old 25th April 2010, 07:20 PM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
linuxsafari
Re: Radiotray for Fedora 12

Ok, Just learning. Still a lot ahead of me (devel package - must've missed it when I took some spec as a entry point).
Reply With Quote
  #11  
Old 25th April 2010, 07:24 PM
leigh123linux's Avatar
leigh123linux Offline
Retired Administrator
 
Join Date: Oct 2006
Posts: 21,509
linuxfedorafirefox
Red face Re: Radiotray for Fedora 12

Quote:
Originally Posted by PabloEsc View Post
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/p...?packageID=741



P.S why no debug package?
Reply With Quote
  #12  
Old 25th April 2010, 08:50 PM
PabloEsc's Avatar
PabloEsc Offline
Registered User
 
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58
linuxsafari
Re: Radiotray for Fedora 12

I've deleted the debug nil line in spec and srpm
Reply With Quote
Reply

Tags
fedora, radiotray

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Current GMT-time: 20:57 (Saturday, 18-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat