 |
 |
 |
 |
| Programming & Packaging A place to discuss programming and packaging. |

25th April 2010, 11:31 AM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58

|
|
|
Radiotray for Fedora 12
If anyone's interested (fine and unobtrusive radio player for gnome) in radiotray rpm (i386) for Fedora 12 :
Link
|

25th April 2010, 12:45 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201

|
|
|
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.
|

25th April 2010, 01:18 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58

|
|
|
Re: Radiotray for Fedora 12
Hmmm, don't know how to submit it ....
|

25th April 2010, 01:34 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201

|
|
|
Re: Radiotray for Fedora 12
__________________
Linux & Beer - That TOTALLY Computes!
Registered Linux User #362651
Don't use any of my solutions on working computers or near small children.
|

25th April 2010, 02:40 PM
|
 |
Administrator (yeah, back again)
|
|
Join Date: Jul 2004
Location: Colton, NY; Junction of Heaven & Earth (also Routes 56 & 68).
Age: 67
Posts: 21,201

|
|
|
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.
|

25th April 2010, 02:43 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Radiotray for Fedora 12
Quote:
Originally Posted by PabloEsc
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 )
|

25th April 2010, 07:01 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58

|
|
|
Re: Radiotray for Fedora 12
Quote:
Originally Posted by bob
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
|

25th April 2010, 07:14 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
|
Re: Radiotray for Fedora 12
Quote:
Originally Posted by PabloEsc
|
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 .
|

25th April 2010, 07:20 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58

|
|
|
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).
|

25th April 2010, 07:24 PM
|
 |
Retired Administrator
|
|
Join Date: Oct 2006
Posts: 21,509

|
|
Re: Radiotray for Fedora 12
Quote:
Originally Posted by PabloEsc
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?
|

25th April 2010, 08:50 PM
|
 |
Registered User
|
|
Join Date: Apr 2010
Location: Poznan, Poland
Age: 33
Posts: 58

|
|
|
Re: Radiotray for Fedora 12
I've deleted the debug nil line in spec and srpm
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 20:57 (Saturday, 18-05-2013)
|
|
 |
 |
 |
 |
|
|