- added patch to change py scripts location
authorw.kier <w.kier@pld-linux.org>
Fri, 23 Oct 2009 18:36:44 +0000 (18:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    devede.spec -> 1.2

devede.spec

index 1a4ded4..8de2b11 100644 (file)
@@ -9,10 +9,9 @@ Group:         X11/Applications/Multimedia
 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
@@ -29,12 +28,14 @@ Prosty program do tworzenia dvd wideo.
 %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
@@ -42,6 +43,8 @@ rm -rf $RPM_BUILD_ROOT
 %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
@@ -52,6 +55,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_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}
This page took 0.071111 seconds and 4 git commands to generate.