specs/SUNWgnome-desklets-extra.spec
author Jon Tibble <meths@btinternet.com>
Sat, 06 Oct 2012 16:11:50 +0100
branchs11express-2010-11
changeset 22109 db10202d5f6d
parent 17937 664c0536875a
child 20107 c9bb1ac4aebe
child 20361 b24af7c56923
permissions -rw-r--r--
Added tag oi_151a_prestable7 for changeset 25dee50cecca
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
#
16434
f21f22550fe9 2009-08-31 Christian Kelly <[email protected]>
chrisk
parents: 15964
diff changeset
     9
%define owner jerrytan
9397
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
17937
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
    19
IPS_package_name:        gnome/desklet/gdesklets-extra
664c0536875a Added tags IPS_package_name and Meta(info.consolidation)
davelam
parents: 17902
diff changeset
    20
Meta(info.classification): %{classification_prefix}:Applications/Panels and Applets
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    21
Summary:                 Supplied Gnome desktop widgets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    22
Version:                 %{default_pkg_version}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    23
SUNW_BaseDir:            %{_basedir}
11926
b0d7072c94a4 2008-03-27 chris.wang <[email protected]>
bewitche
parents: 9397
diff changeset
    24
SUNW_Copyright:          %{name}.copyright
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    25
BuildRoot:               %{_tmppath}/%{name}-%{version}-build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    26
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    27
Requires: SUNWgnome-desklets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    28
Requires: SUNWgnome-desktop-prefs
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    29
Requires: SUNWgnome-libs
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    30
Requires: SUNWdesktop-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    31
BuildRequires: SUNWgnome-desktop-prefs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    32
BuildRequires: SUNWgnome-libs-devel
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    33
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    34
%prep
12825
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    35
rm -rf %name-%version
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    36
mkdir %name-%version
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    37
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    38
%build
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    39
# we just get the bits tarball from developer
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    40
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    41
%install
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    42
rm -rf $RPM_BUILD_ROOT
12821
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    43
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdesklets/Controls
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    44
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdesklets/Displays
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    45
%gd_calendar.install -d %name-%version
15744
9363f013d74d fixed attribute issue of README file
davelam
parents: 15556
diff changeset
    46
chmod 444 $RPM_BUILD_ROOT%{_datadir}/gdesklets/Displays/Calendar/months/README
12821
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    47
%gd_clock.install -d %name-%version
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    48
%gd_worldtime.install -d %name-%version
9397
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
%clean
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    51
rm -rf $RPM_BUILD_ROOT
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
%post
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
%postun
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    57
%restart_fmri desktop-mime-cache
9397
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    58
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    59
%files
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    60
%defattr (-, root, bin)
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    61
%dir %attr (0755, root, sys) %{_datadir}
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    62
%dir %attr (0755, root, bin) %{_datadir}/gdesklets
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    63
%{_datadir}/gdesklets/*
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    64
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    65
%changelog
15964
d6d0c5b04507 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15744
diff changeset
    66
* Fri Jun 26 2009 - [email protected]
d6d0c5b04507 2009-06-26 Chris Wang <[email protected]>
bewitche
parents: 15744
diff changeset
    67
- Change owner to jerrytan
15744
9363f013d74d fixed attribute issue of README file
davelam
parents: 15556
diff changeset
    68
* Mon May 11 2009 - [email protected]
9363f013d74d fixed attribute issue of README file
davelam
parents: 15556
diff changeset
    69
- Fixed attribute issue of README file.
15556
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    70
* Fri Apr  3 2009 - [email protected]
79756053d7da 2009-04-03 Laszlo (Laca) Peter <[email protected]>
laca
parents: 12825
diff changeset
    71
- use desktop-cache instead of postrun
12825
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    72
* Wed Jul 16 2008 - [email protected]
c7519e14e11d 2008-07-16 Damien Carbery <[email protected]>
dcarbery
parents: 12821
diff changeset
    73
- 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
    74
* Tue Jul 15 2008 - [email protected]
44f7b0915774 2008-07-15 Damien Carbery <[email protected]>
dcarbery
parents: 11926
diff changeset
    75
- 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
    76
  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
    77
* Thu Feb  8 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    78
- 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
    79
* Mon Feb  5 2007 - [email protected]
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    80
- Add %prep section to create dir in BUILD dir.
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    81
* Thu Jan 29 2007 - <[email protected]>
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    82
- initial creation
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    83
b16e349d18c5 the easy part of the reorg (most files moved around)
laca
parents:
diff changeset
    84