packages: listen/listen.spec - change LIBDIR to py_sitescriptdir - R python...

uzsolt uzsolt at pld-linux.org
Thu Jul 16 11:13:18 CEST 2009


Author: uzsolt                       Date: Thu Jul 16 09:13:18 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- change LIBDIR to py_sitescriptdir
- R python-pyxdg
- remove SOURCE1
- TODO

---- Files affected:
packages/listen:
   listen.spec (1.9 -> 1.10) 

---- Diffs:

================================================================
Index: packages/listen/listen.spec
diff -u packages/listen/listen.spec:1.9 packages/listen/listen.spec:1.10
--- packages/listen/listen.spec:1.9	Thu Jul 16 10:26:32 2009
+++ packages/listen/listen.spec	Thu Jul 16 11:13:13 2009
@@ -1,32 +1,33 @@
 # $Revision$Date$
+# TODO:
+# - Listen require pyinotify (http://pyinotify.sourceforge.net/)
 Summary:	Feature rich media player for GNOME
 Summary(pl.UTF-8):	Pełnowartościowy odtwarzacz dla GNOME
 Name:		listen
 Version:	0.6.2
-Release:	0.1
+Release:	0.2
 License:	GPL v2
 Group:		X11/Applications/Sound
 Source0:	http://download.listen-project.org/lastest/%{name}-%{version}.tar.gz
 # Source0-md5:	d5b039a1679246ab6224a4aefe16e1be
-Source1:	%{name}
-Patch0:		%{name}-makefile.patch
-Patch1:		%{name}-desktop.patch
 URL:		http://www.listen-project.org/
 BuildRequires:	gtk+2-devel >= 2:2.6.0
 BuildRequires:	python-dbus
 BuildRequires:	python-devel >= 1:2.3
 BuildRequires:	python-gstreamer-devel
 BuildRequires:	python-mutagen
+BuildRequires:	python-pynotify-devel
 BuildRequires:	python-pygtk-devel >= 2:2.6.0
 BuildRequires:	python-pywebkitgtk-devel
 Requires:	python >= 1:2.3
-Requires:	python-Imaging
+# Requires:	python-Imaging
 Requires:	python-gnome-extras-egg
 Requires:	python-gnome-extras-gtkhtml
 Requires:	python-gstreamer >= 0.8.2
 Requires:	python-mad
 Requires:	python-pygtk-gtk >= 2:2.6.0
 Requires:	python-pyvorbis
+Requires:	python-pyxdg
 Requires:	python-sqlite
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -38,21 +39,18 @@
 
 %prep
 %setup -q
-# %patch0 -p1
-# %patch1 -p1
 
 %build
-%{__make}
+%{__make} LIBDIR=%{py_sitescriptdir}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_bindir}
 
 %{__make} install \
+	LIBDIR=%{py_sitescriptdir} \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -c %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
-
 %find_lang %{name} --with-gnome
 
 %clean
@@ -61,9 +59,8 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
-%dir %{_libdir}/%{name}
 %{_datadir}/listen
-%{_libdir}/%{name}/*
+%{py_sitescriptdir}/%{name}
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*
 %{_datadir}/dbus-1/services/org.gnome.Listen.service
@@ -75,6 +72,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.10  2009/07/16 09:13:13  uzsolt
+- change LIBDIR to py_sitescriptdir
+- R python-pyxdg
+- remove SOURCE1
+- TODO
+
 Revision 1.9  2009/07/16 08:26:32  uzsolt
 - more BR
 - more %files
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/listen/listen.spec?r1=1.9&r2=1.10&f=u



More information about the pld-cvs-commit mailing list