SUNWgnome-desklets-extra.spec
author laca
Fri, 03 Apr 2009 12:08:32 +0000
changeset 15556 79756053d7da
parent 12825 c7519e14e11d
child 15744 9363f013d74d
permissions -rw-r--r--
2009-04-03 Laszlo (Laca) Peter <[email protected]> * SUNWcheese.spec, SUNWdesktop-search.spec, SUNWdrivel.spec, SUNWevolution-exchange.spec, SUNWevolution-webcal.spec, SUNWevolution.spec, SUNWfirefox.spec, SUNWglibmm.spec, SUNWgnome-a11y-dasher.spec, SUNWgnome-a11y-gok.spec, SUNWgnome-a11y-libs.spec, SUNWgnome-a11y-mousetweaks.spec, SUNWgnome-a11y-poke.spec, SUNWgnome-applets.spec, SUNWgnome-archive-mgr.spec, SUNWgnome-base-libs.spec, SUNWgnome-calculator.spec, SUNWgnome-camera.spec, SUNWgnome-cd-burner.spec, SUNWgnome-cd.spec, SUNWgnome-character-map.spec, SUNWgnome-commander.spec, SUNWgnome-config-editor.spec, SUNWgnome-crash-report.spec, SUNWgnome-desklets-extra.spec, SUNWgnome-desklets.spec, SUNWgnome-desktop-prefs.spec, SUNWgnome-devel-docs.spec, SUNWgnome-devhelp.spec, SUNWgnome-dialog.spec, SUNWgnome-display-mgr.spec, SUNWgnome-doc-utils.spec, SUNWgnome-file-mgr.spec, SUNWgnome-games.spec, SUNWgnome-gui-test.spec, SUNWgnome-help-viewer.spec, SUNWgnome-hex-editor.spec, SUNWgnome-im-client.spec, SUNWgnome-img-editor.spec, SUNWgnome-img-organizer.spec, SUNWgnome-img-viewer.spec, SUNWgnome-libs.spec, SUNWgnome-media-apps.spec, SUNWgnome-media-player.spec, SUNWgnome-media.spec, SUNWgnome-meeting.spec, SUNWgnome-menu-editor.spec, SUNWgnome-nettool.spec, SUNWgnome-panel.spec, SUNWgnome-pdf-viewer.spec, SUNWgnome-pilot.spec, SUNWgnome-power-manager.spec, SUNWgnome-print.spec, SUNWgnome-remote-desktop.spec, SUNWgnome-session.spec, SUNWgnome-system-monitor.spec, SUNWgnome-system-tools.spec, SUNWgnome-terminal.spec, SUNWgnome-text-editor.spec, SUNWgnome-themes.spec, SUNWgnome-ui-designer.spec, SUNWgnome-user-docs.spec, SUNWgnome-utils.spec, SUNWgnome-vfs.spec, SUNWgnome-wm.spec, SUNWhamster.spec, SUNWlibcanberra.spec, SUNWlibgsf.spec, SUNWlibrsvg.spec, SUNWnwam-manager.spec, SUNWprint-monitor.spec, SUNWseahorse.spec, SUNWthunderbird.spec, SUNWvinagre.spec, SUNWvirt-manager.spec: use desktop-cache instead of postrun; replace %post and %postun scripts with calls to restart_fmri, as script that pings an smf service. * include/prod.inc: define %restart_fmri
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     1
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     2
# spec file for package SUNWgnome-desklets-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     3
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     4
#
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
     5
# Copyright 2009 Sun Microsystems, Inc.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     6
# This file and all modifications and additions to the pristine
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     7
# package are under the same license as the package itself.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     8
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
     9
# Owner: bewitche
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    10
#
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    11
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    12
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    13
%include Solaris.inc
12821
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    14
%use gd_calendar = gdesklets-calendar.spec
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    15
%use gd_clock = gdesklets-clock.spec
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    16
%use gd_worldtime = gdesklets-worldtime.spec
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    17
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    18
Name:                    SUNWgnome-desklets-extra
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    19
Summary:                 Supplied Gnome desktop widgets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    20
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
SUNW_BaseDir:            %{_basedir}
11926
b0d7072c94a4 2008-03-27 chris.wang <[email protected]>
bewitche
parents: 9397
diff changeset
    22
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    24
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
Requires: SUNWgnome-desklets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
Requires: SUNWgnome-desktop-prefs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWgnome-libs
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    28
Requires: SUNWdesktop-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
BuildRequires: SUNWgnome-desktop-prefs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    30
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
%prep
12825
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    33
rm -rf %name-%version
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    34
mkdir %name-%version
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    35
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    36
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
# we just get the bits tarball from developer
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
rm -rf $RPM_BUILD_ROOT
12821
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    41
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdesklets/Controls
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    42
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdesklets/Displays
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    43
%gd_calendar.install -d %name-%version
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    44
%gd_clock.install -d %name-%version
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    45
%gd_worldtime.install -d %name-%version
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    46
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    47
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    48
rm -rf $RPM_BUILD_ROOT
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    49
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    50
%post
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    51
%restart_fmri desktop-mime-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    52
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    53
%postun
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    54
%restart_fmri desktop-mime-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    55
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    56
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    57
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%dir %attr (0755, root, bin) %{_datadir}/gdesklets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%{_datadir}/gdesklets/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%changelog
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    63
* Fri Apr  3 2009 - [email protected]
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    64
- use desktop-cache instead of postrun
12825
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    65
* Wed Jul 16 2008 - [email protected]
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    66
- Add rm/mkdir to %prep because build requires that the dir exists.
12821
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    67
* Tue Jul 15 2008 - [email protected]
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    68
- Break gdesklets-extra.spec into three spec files (one for each desklet).
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    69
  Change this file to use each of the spec files.
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    70
* Thu Feb  8 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    71
- Update dependency list for files used in %post and during build.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    72
* Mon Feb  5 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    73
- Add %prep section to create dir in BUILD dir.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    74
* Thu Jan 29 2007 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    75
- initial creation
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    76
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    77