packages: devede/devede.spec - added patch to change py scripts location

w.kier w.kier at pld-linux.org
Fri Oct 23 20:36:50 CEST 2009


Author: w.kier                       Date: Fri Oct 23 18:36:50 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- added patch to change py scripts location

---- Files affected:
packages/devede:
   devede.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/devede/devede.spec
diff -u packages/devede/devede.spec:1.1 packages/devede/devede.spec:1.2
--- packages/devede/devede.spec:1.1	Fri Oct 23 16:01:24 2009
+++ packages/devede/devede.spec	Fri Oct 23 20:36:44 2009
@@ -10,10 +10,9 @@
 Source0:	http://www.rastersoft.com/descargas/%{name}-%{version}.tar.bz2
 # Source0-md5:	f7304e9276862758f6e4aa0bdbd0fc49
 URL:		http://www.rastersoft.com/programas/devede.html
+Patch0:		%{name}_scriptspath.patch
 BuildArch:	noarch
-Requires:	python
-Requires:	pygtk
-Requires:	pyglade
+Requires:	python-pygtk-glade
 Requires:	mplayer
 Requires:	mencoder
 Requires:	dvdauthor
@@ -30,12 +29,14 @@
 %setup -q %{SOURCE0}
 echo $RPM_BUILD_ROOT
 
+%patch0 -p1 
+
 %build
 export DESTDIR=$RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-./install.sh --targeted=yes --prefix $RPM_BUILD_ROOT%{_prefix} --pkglibdir $RPM_BUILD_ROOT%{_datadir}/devede/scripts
+./install.sh --targeted=yes --prefix $RPM_BUILD_ROOT%{_prefix} --pkglibdir $RPM_BUILD_ROOT%{_datadir}/devede/scripts --pkgdocdir $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -43,6 +44,8 @@
 %files
 %defattr(644,root,root,755)
 %attr(755,root,video) %{_bindir}/devede
+%dir %{_datadir}/devede
+%dir %{_datadir}/devede/scripts
 %attr(755,root,video) %{_datadir}/devede/scripts/devede_*.py
 %{_datadir}/applications/devede.desktop
 %{_datadir}/devede/*.ui
@@ -53,15 +56,18 @@
 %{_datadir}/devede/devede.svg
 %{_datadir}/devede/languages.lst
 %{_datadir}/devede/silence.mp3
-%{_datadir}/locale
-%{_datadir}/pixmaps/*
-%doc %{_docdir}/devede/*
+%{_datadir}/locale/
+%{_datadir}/pixmaps/
+%doc %{_docdir}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 $Log$
+Revision 1.2  2009/10/23 18:36:44  w.kier
+- added patch to change py scripts location
+
 Revision 1.1  2009/10/23 14:01:24  w.kier
 - initial release
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/devede/devede.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list