/[packages]/cauldron/gnome-screensaver/current/SPECS/gnome-screensaver.spec
ViewVC logotype

Diff of /cauldron/gnome-screensaver/current/SPECS/gnome-screensaver.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 26578 by pterjan, Thu Jan 20 18:16:04 2011 UTC revision 26579 by pterjan, Thu Jan 20 18:21:44 2011 UTC
# Line 7  Name: %{name} Line 7  Name: %{name}
7  Version: %{version}  Version: %{version}
8  Release: %{release}  Release: %{release}
9  Source0: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2  Source0: http://ftp.gnome.org/pub/GNOME/sources/%name/%{name}-%{version}.tar.bz2
 Source1: ia-ora-slideshow.desktop  
 Source2: ia-ora-blue-slideshow.desktop  
 Source3: ia-ora-orange-slideshow.desktop  
 Source4: ia-ora-gray-slideshow.desktop  
 Source5: ia-ora-free-slideshow.desktop  
 Source6: ia-ora-one-slideshow.desktop  
10  # (fc) 2.15.7-2mdv change default settings  # (fc) 2.15.7-2mdv change default settings
11  Patch4: gnome-screensaver-2.15.7-default.patch  Patch4: gnome-screensaver-2.15.7-default.patch
12  # (vdanen) drops setgid calls to work with tcb auth  # (vdanen) drops setgid calls to work with tcb auth
# Line 43  BuildRequires: gnome-common Line 37  BuildRequires: gnome-common
37  BuildRequires: desktop-file-utils  BuildRequires: desktop-file-utils
38  Requires: libxslt-proc  Requires: libxslt-proc
39  Requires: dbus-x11  Requires: dbus-x11
40  Suggests: mandriva-theme-screensaver  Suggests: mageia-theme-screensaver
41    
42  %description  %description
43  gnome-screensaver is a screen saver and locker that aims to have  gnome-screensaver is a screen saver and locker that aims to have
# Line 75  sed -ie 's@b=`basename ${FILE} .xml`@b=x Line 69  sed -ie 's@b=`basename ${FILE} .xml`@b=x
69  install -m755 data/migrate-xscreensaver-config.sh $RPM_BUILD_ROOT%{_datadir}/gnome-screensaver  install -m755 data/migrate-xscreensaver-config.sh $RPM_BUILD_ROOT%{_datadir}/gnome-screensaver
70  install -m644 data/xscreensaver-config.xsl $RPM_BUILD_ROOT%{_datadir}/gnome-screensaver  install -m644 data/xscreensaver-config.xsl $RPM_BUILD_ROOT%{_datadir}/gnome-screensaver
71    
 install -m644 %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/applications/screensavers  
   
 sed -i -e 's@Exec=slideshow@Exec=%{_libdir}/gnome-screensaver/slideshow@g' $RPM_BUILD_ROOT%{_datadir}/applications/screensavers/ia-ora*.desktop  
   
72  desktop-file-install --vendor="" \  desktop-file-install --vendor="" \
73    --add-category="GTK" \    --add-category="GTK" \
74    --add-category="GNOME" \    --add-category="GNOME" \
# Line 88  desktop-file-install --vendor="" \ Line 78  desktop-file-install --vendor="" \
78    
79  %define schemas %name  %define schemas %name
80    
 # unset default screensaver  
 %triggerpostun -- gnome-screensaver < 2.20.0-2mdv  
   %{_bindir}/gconftool-2 --config-source=xml::/etc/gconf/gconf.xml.local-defaults/ --direct --unset /apps/gnome-screensaver/themes > /dev/null  
   
   
 %if %mdkversion < 200900  
 %post  
 %update_menus  
 %post_install_gconf_schemas %{schemas}  
 %endif  
   
81  %triggerin -- xscreensaver-base xscreensaver-gl xscreensaver-extrusion xscreensaver-matrix  %triggerin -- xscreensaver-base xscreensaver-gl xscreensaver-extrusion xscreensaver-matrix
82  (  cd %{_datadir}/applications/screensavers ; \  (  cd %{_datadir}/applications/screensavers ; \
83    for f in %{_datadir}/xscreensaver/config/*.xml; do    for f in %{_datadir}/xscreensaver/config/*.xml; do
# Line 138  done) Line 117  done)
117  %preun  %preun
118  %preun_uninstall_gconf_schemas %{schemas}  %preun_uninstall_gconf_schemas %{schemas}
119    
 %if %mdkversion < 200900  
 %postun  
 %clean_menus  
 %endif  
   
120  %clean  %clean
121  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
122    

Legend:
Removed from v.26578  
changed lines
  Added in v.26579

  ViewVC Help
Powered by ViewVC 1.1.28