SPECS: gnome-applet-deskbar.spec - updated to 0.8.3 - added pyc pa...

paladine paladine at pld-linux.org
Wed Nov 2 18:48:27 CET 2005


Author: paladine                     Date: Wed Nov  2 17:48:27 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.8.3
- added pyc patch
- use %{py_sitedir} instead of %{py_sitescriptdir} due to .so files
- rel. 0.9, works for me

---- Files affected:
SPECS:
   gnome-applet-deskbar.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/gnome-applet-deskbar.spec
diff -u SPECS/gnome-applet-deskbar.spec:1.4 SPECS/gnome-applet-deskbar.spec:1.5
--- SPECS/gnome-applet-deskbar.spec:1.4	Tue Oct 25 23:22:37 2005
+++ SPECS/gnome-applet-deskbar.spec	Wed Nov  2 18:48:22 2005
@@ -8,12 +8,13 @@
 Summary:	GNOME applet similar to Google's Deskbar
 Summary(pl):	Aplet GNOME podobny do Google Deskbar
 Name:		gnome-applet-deskbar
-Version:	0.8.2
-Release:	0.1
+Version:	0.8.3
+Release:	0.9
 License:	GPL v2
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/browserbookapp/%{_realname}-%{version}.tar.gz
-# Source0-md5:	762dde3a98bb98907532e501520fae59
+# Source0-md5:	b9f0b7d427527f7ff449c5b5a47cf028
+Patch0:		%{name}-pyc.patch
 URL:		http://browserbookapp.sourceforge.net/deskbar.html
 BuildRequires:	GConf2-devel
 BuildRequires:	autoconf
@@ -25,7 +26,6 @@
 BuildRequires:	pkgconfig
 BuildRequires:	python-pygtk-devel >= 2.8.0
 BuildRequires:	rpmbuild(macros) >= 1.197
-%{?with_evolution:Requires:	evolution}
 Requires:	pydoc
 Requires:	python-gnome-extras-applet >= 2.12.0
 Requires:	python-gnome-gconf >= 2.12.0
@@ -42,6 +42,7 @@
 
 %prep
 %setup -q -n %{_realname}-%{version}
+%patch0 -p1
 
 %build
 %{__aclocal} -I m4
@@ -56,10 +57,12 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-	DESTDIR=$RPM_BUILD_ROOT
+	DESTDIR=$RPM_BUILD_ROOT \
+	pythondir=%{py_sitedir}
 
-rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/deskbar/*.py
-rm -f $RPM_BUILD_ROOT%{py_sitescriptdir}/deskbar/{beagle,evolution,iconentry,keybinder}/*.{la,py}
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/deskbar/*.py
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/deskbar/{beagle,evolution,iconentry,keybinder}/*.{la,py}
+rm -f $RPM_BUILD_ROOT%{_libdir}/deskbar-applet/handlers/*.py
 
 %find_lang %{_realname}
 
@@ -74,30 +77,31 @@
 
 %files -f %{_realname}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS ChangeLog README deskbar/handlers/google-live-help.txt
 %{_datadir}/deskbar-applet
 %dir %{_libdir}/deskbar-applet
 %attr(755,root,root) %{_libdir}/deskbar-applet/deskbar-applet
-%{_libdir}/deskbar-applet/handlers
+%dir %{_libdir}/deskbar-applet/handlers
+%{_libdir}/deskbar-applet/handlers/*.py[co]
 %{_libdir}/bonobo/servers/*.server
-%dir %{py_sitescriptdir}/deskbar
+%dir %{py_sitedir}/deskbar
 %if %{with beagle}
-%dir %{py_sitescriptdir}/deskbar/beagle
-%{py_sitescriptdir}/deskbar/beagle/*.py[co]
-%attr(755,root,root) %{py_sitescriptdir}/deskbar/beagle/*.so
+%dir %{py_sitedir}/deskbar/beagle
+%{py_sitedir}/deskbar/beagle/*.py[co]
+%attr(755,root,root) %{py_sitedir}/deskbar/beagle/*.so
 %endif
 %if %{with evolution}
-%dir %{py_sitescriptdir}/deskbar/evolution
-%{py_sitescriptdir}/deskbar/evolution/*.py[co]
-%attr(755,root,root) %{py_sitescriptdir}/deskbar/evolution/*.so
+%dir %{py_sitedir}/deskbar/evolution
+%{py_sitedir}/deskbar/evolution/*.py[co]
+%attr(755,root,root) %{py_sitedir}/deskbar/evolution/*.so
 %endif
-%dir %{py_sitescriptdir}/deskbar/iconentry
-%dir %{py_sitescriptdir}/deskbar/keybinder
-%{py_sitescriptdir}/deskbar/*.py[co]
-%{py_sitescriptdir}/deskbar/iconentry/*.py[co]
-%{py_sitescriptdir}/deskbar/keybinder/*.py[co]
-%attr(755,root,root) %{py_sitescriptdir}/deskbar/iconentry/*.so
-%attr(755,root,root) %{py_sitescriptdir}/deskbar/keybinder/*.so
+%dir %{py_sitedir}/deskbar/iconentry
+%dir %{py_sitedir}/deskbar/keybinder
+%{py_sitedir}/deskbar/*.py[co]
+%{py_sitedir}/deskbar/iconentry/*.py[co]
+%{py_sitedir}/deskbar/keybinder/*.py[co]
+%attr(755,root,root) %{py_sitedir}/deskbar/iconentry/*.so
+%attr(755,root,root) %{py_sitedir}/deskbar/keybinder/*.so
 %{_pixmapsdir}/*
 %{_sysconfdir}/gconf/schemas/deskbar-applet.schemas
 
@@ -107,6 +111,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2005/11/02 17:48:22  paladine
+- updated to 0.8.3
+- added pyc patch
+- use %{py_sitedir} instead of %{py_sitescriptdir} due to .so files
+- rel. 0.9, works for me
+
 Revision 1.4  2005/10/25 21:22:37  paladine
 - updated to 0.8.2
 - added bconds for beagle and evolution (removed todo)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnome-applet-deskbar.spec?r1=1.4&r2=1.5&f=u




More information about the pld-cvs-commit mailing list