From ef9e8a2eeeff47c3bd4bd05a54b176e1967ba693 Mon Sep 17 00:00:00 2001 From: Jakub Krajniak Date: Tue, 13 Sep 2005 20:48:59 +0000 Subject: [PATCH] - up to 0.13, added missing R: python-gstreamer, update banner by Marcin Sztolcman - added missing R: GConf, gstreamer-GConf - added home-etc patch Changed files: quodlibet-home_etc.patch -> 1.1 quodlibet.spec -> 1.12 --- quodlibet-home_etc.patch | 13 +++++++++++++ quodlibet.spec | 20 +++++++++++++++----- 2 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 quodlibet-home_etc.patch diff --git a/quodlibet-home_etc.patch b/quodlibet-home_etc.patch new file mode 100644 index 0000000..bc6de83 --- /dev/null +++ b/quodlibet-home_etc.patch @@ -0,0 +1,13 @@ +Pliki quodlibet-0.13/config.pyc i quodlibet-0.13.mod/config.pyc ró¿ni± siê +diff -Nur quodlibet-0.13/const.py quodlibet-0.13.mod/const.py +--- quodlibet-0.13/const.py 2005-08-21 01:27:08.000000000 +0200 ++++ quodlibet-0.13.mod/const.py 2005-09-13 21:42:16.000000000 +0200 +@@ -6,7 +6,7 @@ + VERSION = "0.13" + + HOME = os.path.expanduser("~") +-DIR = os.path.join(HOME, ".quodlibet") ++DIR = os.path.join(os.getenv("HOME_ETC",HOME),".quodlibet") + CONTROL = os.path.join(DIR, "control") + CONFIG = os.path.join(DIR, "config") + QUEUE = os.path.join(DIR, "queue") diff --git a/quodlibet.spec b/quodlibet.spec index 1f6e467..ab6aa64 100644 --- a/quodlibet.spec +++ b/quodlibet.spec @@ -2,23 +2,30 @@ # TODO: # - check what's up with gstreamer backend # +# Conditional build: +%bcond_without home_etc # don't use home_etc +# %define date 20050731 # Summary: Quod Libet - GTK+-based audio player Summary(pl): Quod Libet - odtwarzacz d¼wiêku oparty na GTK+ Name: quodlibet -Version: 0.12 -Release: 1 +Version: 0.13 +Release: 0.1 License: GPL v2 Group: X11/Applications/Multimedia Source0: http://www.sacredchao.net/~piman/software/%{name}-%{version}.tar.gz -# Source0-md5: 225719e71fb66420884b530e11432257 +# Source0-md5: 24e81a7d41594372117e45053807b1fe +Patch1: %{name}-home_etc.patch URL: http://www.sacredchao.net/quodlibet/wiki BuildRequires: python-devel BuildRequires: python-pygtk-devel %pyrequires_eq python-modules Requires: gtk+2 >= 2.6.0 Requires: python-pygtk-gtk >= 2.6.0 +Requires: python-gstreamer +Requires: GConf +Requires: gstreamer-GConf BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -49,6 +56,7 @@ python-pyao, python-mad, python-pyid3lib. %prep %setup -q +%{?with_home_etc:%patch1 -p1} %build %{__make} extensions @@ -70,8 +78,10 @@ rm -rf $RPM_BUILD_ROOT %banner %{name} -e << EOF Remember to install appropriate python modules for files you want to play: -- python-mad (for MP3s) -- python-pyvorbis (for Ogg Vorbis) +- python-mad and gstreamer-mad (for MP3s) +- python-pyvorbis and gstreamer-vorbis (for Ogg Vorbis) +and audio output: +- gstreamer-audiosink-(alsa|oss|esd) (for ALSA,OSS or ESD output) EOF %files -f %{name}.lang -- 2.44.0