SUNWgnome-screensaver.spec
author hawklu
Fri, 26 Feb 2010 03:26:31 +0000
branchgnome-2-28
changeset 18643 8c2f88f3d983
parent 16457 cac1922e029c
child 17893 36619080451b
permissions -rw-r--r--
2010-02-26 Brian Lu <[email protected]> * SUNWsqlite3.spec: * base-specs/sqlite.spec: * copyright/SUNWsqlite3.copyright: * ext-sources/mapfile-libsqlite3: * ext-sources/pkgIndex.tcl: * manpages/Makefile: * manpages/man1/sqlite3.1: * patches/sqlite3-01-using-mapfile.diff: Ship sqlite3 packages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16457
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     1
#
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     2
# spec file for packages SUNWgnome-screensaver-*
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     3
#
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     4
# Copyright 2009 Sun Microsystems, Inc.
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     6
# packages are under the same license as the packages themselves.
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     7
#
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     8
%define owner alanc
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
     9
%define OSR developed in the open, no OSR needed:0
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    10
#
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    11
%include Solaris.inc
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    12
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    13
# This package is a temporary placeholder to deliver the autostart file
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    14
# for xscreensaver for now - will be replaced with the gnome-screensaver
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    15
# autostart when that project integrates
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    16
Name:                    SUNWgnome-screensaver-root
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    17
Summary:                 GNOME screensaver configuration files
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    18
Version:                 0.1
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    19
Vendor:                  Sun Microsystems, Inc.
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    20
SUNW_BaseDir:            /
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    21
SUNW_Copyright:          SUNWgnome-screensaver.copyright
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    22
License:                 CDDL
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    23
Source:			 xscreensaver.desktop
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    24
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    25
%include default-depend.inc
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    26
Requires: SUNWxscreensaver
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    27
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    28
%prep
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    29
# nothing to do yet
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    30
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    31
%build
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    32
# nothing to do yet
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    33
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    34
%install
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    35
rm -rf ${RPM_BUILD_ROOT}
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    36
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    37
cp -p %{SOURCE} ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    38
chmod 444 ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/xscreensaver.desktop
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    39
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    40
%clean
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    41
rm -rf ${RPM_BUILD_ROOT}
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    42
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    43
%files
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    44
%defattr (-, root, bin)
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    45
%attr (0755, root, sys) %dir %{_sysconfdir}
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    46
%attr (0755, root, sys) %dir %{_sysconfdir}/xdg
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    47
%attr (0755, root, sys) %dir %{_sysconfdir}/xdg/autostart
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    48
%{_sysconfdir}/xdg/autostart/*.desktop
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    49
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    50
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    51
%changelog
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    52
* Wed Sep 2 2009 - [email protected]
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    53
- Created with just xscreensaver.desktop to fix
cac1922e029c 2009-09-02 Alan Coopersmith <[email protected]>
alanc
parents:
diff changeset
    54
  d.o.o Bug 10771 -  [gnome2.28] xscreensaver fails to start on login