rpms/elisa/devel elisa-0.1.5-desktopentry.patch, NONE, 1.1 elisa-0.1.5-nobangpy.patch, NONE, 1.1 elisa-0.1.6-desktop.patch, NONE, 1.1 elisa.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Mon May 21 19:21:59 UTC 2007
Author: thias
Update of /cvs/extras/rpms/elisa/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2183
Modified Files:
.cvsignore sources
Added Files:
elisa-0.1.5-desktopentry.patch elisa-0.1.5-nobangpy.patch
elisa-0.1.6-desktop.patch elisa.spec
Log Message:
Initial import.
elisa-0.1.5-desktopentry.patch:
--- NEW FILE elisa-0.1.5-desktopentry.patch ---
diff -Naupr elisa-0.1.5.orig/setup.py elisa-0.1.5/setup.py
--- elisa-0.1.5.orig/setup.py 2007-03-21 10:32:35.000000000 +0100
+++ elisa-0.1.5/setup.py 2007-04-16 12:52:45.000000000 +0200
@@ -116,10 +116,8 @@ if sys.platform == "win32":
("elisa\\core\\plugins", ["elisa\\core\\plugins\\pictures.py"])]
elif sys.platform == 'linux2':
- # only root user can write in /usr/share on linux platform
- if os.getuid() == 0:
- data_files=[('/usr/share/pixmaps', ['elisa.png']),
- ('/usr/share/applications', ['elisa.desktop'])]
+ data_files=[('/usr/share/pixmaps', ['elisa.png']),
+ ('/usr/share/applications', ['elisa.desktop'])]
icon_path = os.path.join('win32', 'elisa.ico')
elisa-0.1.5-nobangpy.patch:
--- NEW FILE elisa-0.1.5-nobangpy.patch ---
diff -Naupr elisa-0.1.5.orig/elisa/extern/metar/__init__.py elisa-0.1.5/elisa/extern/metar/__init__.py
--- elisa-0.1.5.orig/elisa/extern/metar/__init__.py 2007-02-12 18:04:56.000000000 +0100
+++ elisa-0.1.5/elisa/extern/metar/__init__.py 2007-04-16 12:49:30.000000000 +0200
@@ -1,5 +1,3 @@
-#!/usr/bin/python
-#
# A python package for interpreting METAR and SPECI weather reports.
#
# US conventions for METAR/SPECI reports are described in chapter 12 of
diff -Naupr elisa-0.1.5.orig/elisa/extern/metar/Metar.py elisa-0.1.5/elisa/extern/metar/Metar.py
--- elisa-0.1.5.orig/elisa/extern/metar/Metar.py 2007-02-12 18:04:56.000000000 +0100
+++ elisa-0.1.5/elisa/extern/metar/Metar.py 2007-04-16 12:49:18.000000000 +0200
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-#
# A python package for interpreting METAR and SPECI weather reports.
#
# US conventions for METAR/SPECI reports are described in chapter 12 of
elisa-0.1.6-desktop.patch:
--- NEW FILE elisa-0.1.6-desktop.patch ---
diff -Naupr elisa-0.1.6.orig/elisa.desktop elisa-0.1.6/elisa.desktop
--- elisa-0.1.6.orig/elisa.desktop 2007-03-02 13:15:21.000000000 +0100
+++ elisa-0.1.6/elisa.desktop 2007-05-16 20:02:15.000000000 +0200
@@ -1,5 +1,4 @@
[Desktop Entry]
-Version=0.1.4.1
Encoding=UTF-8
Name=Elisa Media Center
Comment=Play movies and songs on TV with remote
@@ -7,5 +6,4 @@ Exec=elisa %U
Icon=elisa
Terminal=false
Type=Application
-Categories=GNOME;GTK;Application;AudioVideo;Player;X-Ximian-Main;X-Red-Hat-Base;
-
+Categories=Application;AudioVideo;Player;
--- NEW FILE elisa.spec ---
%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")
Summary: Media Center
Name: elisa
Version: 0.1.6
Release: 4%{?dist}
License: GPL
Group: Applications/Multimedia
URL: http://elisa.fluendo.com/
Source: http://elisa.fluendo.com/static/download/elisa/elisa-%{version}.tar.gz
Patch0: elisa-0.1.5-nobangpy.patch
Patch1: elisa-0.1.5-desktopentry.patch
Patch2: elisa-0.1.6-desktop.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# Mandatory
Requires: python-setuptools
Requires: python-imaging
Requires: python-twisted-core
Requires: gnome-python2-extras
Requires: gstreamer-python
Requires: pigment >= 0.1.5
# For uPnP
Requires: python-Coherence
# For caching
Requires: python-sqlite2
Requires: python-tag
# Optional, but these are useful to get something useful out of elisa
Requires: gstreamer-plugins-good
#Requires: gstreamer-plugins-bad
#Requires: gstreamer-plugins-ugly
#Requires: gstreamer-ffmpeg
#Requires: libdvdcss
# For lirc
Requires: python-lirc
# For DAAP
Requires: python-daap
Requires: dbus-python
Requires: avahi-tools
# For iPod
Requires: python-gpod
# For weather
Requires: python-metar
# For the "build" itself, most of the above aren't required
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: python-twisted-core
Buildarch: noarch
%description
Media center solution using the GStreamer multimedia framework.
%prep
%setup -q
%patch0 -p1 -b .nobangpy
%patch1 -p1 -b .desktopentry
%patch2 -p1 -b .desktop
%build
%{__python} setup.py build
%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install \
--single-version-externally-managed \
-O1 --skip-build --root %{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING FAQ LICENSE* NEWS README.txt docs/*.txt
%{_bindir}/elisa
%{_bindir}/elisa-client
%{_datadir}/applications/elisa.desktop
%{_datadir}/pixmaps/elisa.png
%{python_sitelib}/elisa/
%{python_sitelib}/elisa-*.egg-info/
%changelog
* Wed May 16 2007 Matthias Saou <http://freshrpms.net/> 0.1.6-4
- Patch desktop file to remove useless bits (Version and extra Categories).
* Tue May 8 2007 Matthias Saou <http://freshrpms.net/> 0.1.6-3
- Change Coherence requirement to python-Coherence to match package name change.
* Mon May 7 2007 Matthias Saou <http://freshrpms.net/> 0.1.6-2
- Change coherence requirement to Coherence to match package name change.
* Fri May 4 2007 Matthias Saou <http://freshrpms.net/> 0.1.6-1
- Update to 0.1.6.
* Mon Apr 16 2007 Matthias Saou <http://freshrpms.net/> 0.1.5-1
- Update to 0.1.5.
- Disable gst requirements which aren't part of Fedora (oops!).
- Patch out the hash-bang python from scripts not meant to be executed.
- Rip out the root user test condition to installing the desktop entry.
* Fri Mar 23 2007 Matthias Saou <http://freshrpms.net/> 0.1.4.2-1
- Update to 0.1.4.2.
* Wed Feb 21 2007 Matthias Saou <http://freshrpms.net/> 0.1.4.1-1
- Update to 0.1.4.1.
* Thu Feb 8 2007 Matthias Saou <http://freshrpms.net/> 0.1.3-1
- Initial RPM release.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/elisa/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 21 May 2007 17:25:25 -0000 1.1
+++ .cvsignore 21 May 2007 19:21:24 -0000 1.2
@@ -0,0 +1 @@
+elisa-0.1.6.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/elisa/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 21 May 2007 17:25:25 -0000 1.1
+++ sources 21 May 2007 19:21:24 -0000 1.2
@@ -0,0 +1 @@
+fd2ff4b1616089c335b6b64e5232376a elisa-0.1.6.tar.gz
More information about the fedora-extras-commits
mailing list