rpms/radiotray/F-12 import.log, NONE, 1.1 radiotray-0.5.1-fix-desktop-file.patch, NONE, 1.1 radiotray-0.5.1-fix-setup.patch, NONE, 1.1 radiotray.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Jean-Francois Saucier jfsaucier at fedoraproject.org
Wed Jun 2 23:02:02 UTC 2010


Author: jfsaucier

Update of /cvs/pkgs/rpms/radiotray/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv27866/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log radiotray-0.5.1-fix-desktop-file.patch 
	radiotray-0.5.1-fix-setup.patch radiotray.spec 
Log Message:
Initial import (#583102).


--- NEW FILE import.log ---
radiotray-0_5_1-3_fc12:F-12:radiotray-0.5.1-3.fc12.src.rpm:1275519627

radiotray-0.5.1-fix-desktop-file.patch:
 radiotray.desktop |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

--- NEW FILE radiotray-0.5.1-fix-desktop-file.patch ---
diff -up radiotray-0.5.1/data/radiotray.desktop.orig radiotray-0.5.1/data/radiotray.desktop
--- radiotray-0.5.1/data/radiotray.desktop.orig	2010-04-14 10:14:29.898783690 -0400
+++ radiotray-0.5.1/data/radiotray.desktop	2010-04-14 10:15:31.884957514 -0400
@@ -1,13 +1,9 @@
 [Desktop Entry]
-Version=0.5.1
-Encoding=UTF-8
 Name=Radio Tray
-_GenericName=Streaming music player
-_X-GNOME-FullName=Streaming music player
-_Comment=A simple yet powerful streaming music player
-Terminal=false
+GenericName=Streaming music player
+Comment=A simple yet powerful streaming music player
 Exec=radiotray
 Icon=radiotray
 Type=Application
+Terminal=false
 Categories=AudioVideo;Audio;Player;GTK;
-X-GNOME-Gettext-Domain=radiotray

radiotray-0.5.1-fix-setup.patch:
 setup.py |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

--- NEW FILE radiotray-0.5.1-fix-setup.patch ---
diff -up radiotray-0.5.1/setup.py.orig radiotray-0.5.1/setup.py
--- radiotray-0.5.1/setup.py.orig	2010-04-14 10:28:43.939997558 -0400
+++ radiotray-0.5.1/setup.py	2010-04-14 10:31:33.992801367 -0400
@@ -85,15 +85,12 @@ setup(name='radiotray',
     license='GPL',
     scripts=['radiotray'],
     data_files = [
-      ('share/applications', glob.glob('data/images/*.png')),
-      ('share/applications', glob.glob('data/images/*.gif')),
       ('share/applications', glob.glob('data/*.desktop')),
       ('share/doc/radiotray-%s' % APPVERSION,
           ['AUTHORS', 'CONTRIBUTORS', 'COPYING', 'NEWS', 'README']),
       ('share/radiotray/images', glob.glob('data/images/*.png')),
       ('share/radiotray/images', glob.glob('data/images/*.gif')),
-      ('share/pixmaps', glob.glob('data/images/*.png')),
-      ('share/pixmaps', glob.glob('data/images/*.gif')),
+      ('share/pixmaps', glob.glob('data/images/radiotray.png')),
       ('share/radiotray', ['data/configBookmarks.glade', 'data/bookmarks.xml']),
     ],
     package_dir={'radiotray': 'src'},


--- NEW FILE radiotray.spec ---
%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:        3%{?dist}
Summary:        Radio Tray is a streaming player for listening to online radios
BuildArch:      noarch 
Group:          Applications/Multimedia
License:        GPL+
URL:            http://radiotray.sourceforge.net
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz

# Fix the syntax of the desktop file to comply with the guidelines.
Patch0:         radiotray-0.5.1-fix-desktop-file.patch

# Remove some redundant files
Patch1:         radiotray-0.5.1-fix-setup.patch

BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

# Explicit dependencies required because there is no automatic dependencies
# resolution for the python modules.
Requires:       gstreamer-python pygtk2 python-lxml python-inotify
BuildRequires:  python-devel pyxdg desktop-file-utils gettext

%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. And that's the sole purpose of Radio Tray.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

# Remove unnecessary shebang
sed -i -e '/^#!\//, 1d' src/radiotray.py

%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
desktop-file-validate $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}/radiotray/
%{_datadir}/applications/radiotray.desktop
%{_datadir}/pixmaps/radiotray.png
%{python_sitelib}/radiotray/
%{python_sitelib}/radiotray-0.5.1-py?.?.egg-info

%changelog
* Tue May 25 2010 Jean-Francois Saucier <jfsaucier at infoglobe.ca> - 0.5.1-3
- Change license to match COPYING
- Add comments to SPEC file
- Add comment for the explicit dependencies

* Fri May  7 2010 Jean-Francois Saucier <jfsaucier at infoglobe.ca> - 0.5.1-2
- Fix as per the recommendations of bug #583102
- Change the python_sitelib definition to the new way of doing it for >F-12
- Add build CFLAGS
- Use the __python macro
- Make some modifications to help not break when python version change

* Wed Apr 14 2010 Jean-Francois Saucier <jfsaucier at infoglobe.ca> - 0.5.1-1
- Initial build for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/radiotray/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	31 May 2010 19:31:52 -0000	1.1
+++ .cvsignore	2 Jun 2010 23:02:01 -0000	1.2
@@ -0,0 +1 @@
+radiotray-0.5.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/radiotray/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	31 May 2010 19:31:53 -0000	1.1
+++ sources	2 Jun 2010 23:02:01 -0000	1.2
@@ -0,0 +1 @@
+9811f8145108784e8e515b66fdaa6f05  radiotray-0.5.1.tar.gz



More information about the scm-commits mailing list