SPECS: rss-glx.spec - and actually make gnome-screensaver work

patrys patrys at pld-linux.org
Mon Mar 5 03:00:10 CET 2007


Author: patrys                       Date: Mon Mar  5 02:00:10 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- and actually make gnome-screensaver work

---- Files affected:
SPECS:
   rss-glx.spec (1.12 -> 1.13) 

---- Diffs:

================================================================
Index: SPECS/rss-glx.spec
diff -u SPECS/rss-glx.spec:1.12 SPECS/rss-glx.spec:1.13
--- SPECS/rss-glx.spec:1.12	Mon Mar  5 02:43:19 2007
+++ SPECS/rss-glx.spec	Mon Mar  5 03:00:04 2007
@@ -72,8 +72,7 @@
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_libdir}/xscreensaver
-install -d $RPM_BUILD_ROOT%{_themedir}
+install -d $RPM_BUILD_ROOT{%{_libdir}/{xscreensaver,gnome-screensaver},%{_themedir}}
 mv -f $RPM_BUILD_ROOT%{_bindir}/* $RPM_BUILD_ROOT%{_libdir}/xscreensaver
 
 install %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}
@@ -90,13 +89,14 @@
 Encoding=UTF-8
 Name=${name}
 Comment=${desc}
-TryExec=rss-glx-${trycmd}
-Exec=rss-glx-${cmd} -r
+TryExec=${trycmd}
+Exec=${cmd} -r
 StartupNotify=false
 Terminal=false
 Type=Application
 Categories=Screensaver
 EOF
+		ln -sf "%{_libdir}/xscreensaver/${trycmd}" "$RPM_BUILD_ROOT%{_libdir}/gnome-screensaver/${trycmd}"
 	done
 }
 cat << EOF | generate_fix_desktop_files_links
@@ -141,6 +141,7 @@
 
 %files -n gnome-screensaver-theme-rss-glx
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gnome-screensaver/*
 %{_themedir}/*.desktop
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -149,6 +150,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.13  2007/03/05 02:00:04  patrys
+- and actually make gnome-screensaver work
+
 Revision 1.12  2007/03/05 01:43:19  patrys
 - wtf was it doing in /etc?
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/rss-glx.spec?r1=1.12&r2=1.13&f=u



More information about the pld-cvs-commit mailing list