16457
|
1 |
#
|
|
2 |
# spec file for packages SUNWgnome-screensaver-*
|
|
3 |
#
|
|
4 |
# Copyright 2009 Sun Microsystems, Inc.
|
|
5 |
# This file and all modifications and additions to the pristine
|
|
6 |
# packages are under the same license as the packages themselves.
|
|
7 |
#
|
|
8 |
%define owner alanc
|
|
9 |
%define OSR developed in the open, no OSR needed:0
|
|
10 |
#
|
|
11 |
%include Solaris.inc
|
|
12 |
|
|
13 |
# This package is a temporary placeholder to deliver the autostart file
|
|
14 |
# for xscreensaver for now - will be replaced with the gnome-screensaver
|
|
15 |
# autostart when that project integrates
|
|
16 |
Name: SUNWgnome-screensaver-root
|
|
17 |
Summary: GNOME screensaver configuration files
|
|
18 |
Version: 0.1
|
|
19 |
Vendor: Sun Microsystems, Inc.
|
|
20 |
SUNW_BaseDir: /
|
|
21 |
SUNW_Copyright: SUNWgnome-screensaver.copyright
|
|
22 |
License: CDDL
|
|
23 |
Source: xscreensaver.desktop
|
|
24 |
|
|
25 |
%include default-depend.inc
|
|
26 |
Requires: SUNWxscreensaver
|
|
27 |
|
|
28 |
%prep
|
|
29 |
# nothing to do yet
|
|
30 |
|
|
31 |
%build
|
|
32 |
# nothing to do yet
|
|
33 |
|
|
34 |
%install
|
|
35 |
rm -rf ${RPM_BUILD_ROOT}
|
|
36 |
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart
|
|
37 |
cp -p %{SOURCE} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart
|
|
38 |
chmod 444 ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/xscreensaver.desktop
|
|
39 |
|
|
40 |
%clean
|
|
41 |
rm -rf ${RPM_BUILD_ROOT}
|
|
42 |
|
|
43 |
%files
|
|
44 |
%defattr (-, root, bin)
|
|
45 |
%attr (0755, root, sys) %dir %{_sysconfdir}
|
|
46 |
%attr (0755, root, sys) %dir %{_sysconfdir}/xdg
|
|
47 |
%attr (0755, root, sys) %dir %{_sysconfdir}/xdg/autostart
|
|
48 |
%{_sysconfdir}/xdg/autostart/*.desktop
|
|
49 |
|
|
50 |
|
|
51 |
%changelog
|
|
52 |
* Wed Sep 2 2009 - [email protected]
|
|
53 |
- Created with just xscreensaver.desktop to fix
|
|
54 |
d.o.o Bug 10771 - [gnome2.28] xscreensaver fails to start on login
|