9397
|
1 |
#
|
|
2 |
# spec file for package SUNWgnome-desklets-extra
|
|
3 |
#
|
|
4 |
#
|
15556
|
5 |
# Copyright 2009 Sun Microsystems, Inc.
|
9397
|
6 |
# This file and all modifications and additions to the pristine
|
|
7 |
# package are under the same license as the package itself.
|
|
8 |
#
|
|
9 |
# Owner: bewitche
|
|
10 |
#
|
|
11 |
|
|
12 |
|
|
13 |
%include Solaris.inc
|
12821
|
14 |
%use gd_calendar = gdesklets-calendar.spec
|
|
15 |
%use gd_clock = gdesklets-clock.spec
|
|
16 |
%use gd_worldtime = gdesklets-worldtime.spec
|
9397
|
17 |
|
|
18 |
Name: SUNWgnome-desklets-extra
|
|
19 |
Summary: Supplied Gnome desktop widgets
|
|
20 |
Version: %{default_pkg_version}
|
|
21 |
SUNW_BaseDir: %{_basedir}
|
11926
|
22 |
SUNW_Copyright: %{name}.copyright
|
9397
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
|
|
25 |
Requires: SUNWgnome-desklets
|
|
26 |
Requires: SUNWgnome-desktop-prefs
|
|
27 |
Requires: SUNWgnome-libs
|
15556
|
28 |
Requires: SUNWdesktop-cache
|
9397
|
29 |
BuildRequires: SUNWgnome-desktop-prefs-devel
|
|
30 |
BuildRequires: SUNWgnome-libs-devel
|
|
31 |
|
|
32 |
%prep
|
12825
|
33 |
rm -rf %name-%version
|
|
34 |
mkdir %name-%version
|
9397
|
35 |
|
|
36 |
%build
|
|
37 |
# we just get the bits tarball from developer
|
|
38 |
|
|
39 |
%install
|
|
40 |
rm -rf $RPM_BUILD_ROOT
|
12821
|
41 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdesklets/Controls
|
|
42 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gdesklets/Displays
|
|
43 |
%gd_calendar.install -d %name-%version
|
|
44 |
%gd_clock.install -d %name-%version
|
|
45 |
%gd_worldtime.install -d %name-%version
|
9397
|
46 |
|
|
47 |
%clean
|
|
48 |
rm -rf $RPM_BUILD_ROOT
|
|
49 |
|
|
50 |
%post
|
15556
|
51 |
%restart_fmri desktop-mime-cache
|
9397
|
52 |
|
|
53 |
%postun
|
15556
|
54 |
%restart_fmri desktop-mime-cache
|
9397
|
55 |
|
|
56 |
%files
|
|
57 |
%defattr (-, root, bin)
|
|
58 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
59 |
%dir %attr (0755, root, bin) %{_datadir}/gdesklets
|
|
60 |
%{_datadir}/gdesklets/*
|
|
61 |
|
|
62 |
%changelog
|
15556
|
63 |
* Fri Apr 3 2009 - [email protected]
|
|
64 |
- use desktop-cache instead of postrun
|
12825
|
65 |
* Wed Jul 16 2008 - [email protected]
|
|
66 |
- Add rm/mkdir to %prep because build requires that the dir exists.
|
12821
|
67 |
* Tue Jul 15 2008 - [email protected]
|
|
68 |
- Break gdesklets-extra.spec into three spec files (one for each desklet).
|
|
69 |
Change this file to use each of the spec files.
|
9397
|
70 |
* Thu Feb 8 2007 - [email protected]
|
|
71 |
- Update dependency list for files used in %post and during build.
|
|
72 |
* Mon Feb 5 2007 - [email protected]
|
|
73 |
- Add %prep section to create dir in BUILD dir.
|
|
74 |
* Thu Jan 29 2007 - <[email protected]>
|
|
75 |
- initial creation
|
|
76 |
|
|
77 |
|