author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16427 | 63d81b085adb |
child 17153 | d46c96c887bf |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package gdesklets |
|
3 |
# |
|
4 |
# Copyright (c) 2007 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner jerrytan |
12857 | 9 |
# bugdb: https://bugs.launchpad.net/gdesklets/+bug/ |
9397 | 10 |
# |
16427 | 11 |
|
12 |
%define OSR 5717:0.35 |
|
13 |
||
14402 | 14 |
%include l10n.inc |
12279 | 15 |
Name: gdesklets |
15684 | 16 |
Version: 0.36.1 |
9397 | 17 |
Release: 1 |
18 |
License: GPL |
|
19 |
Group: Applications/Internet |
|
20 |
Distribution: Java Desktop System |
|
21 |
Vendor: Sun Microsystems, Inc. |
|
22 |
Summary: System for bringing mini programs (desklets) onto the desktop |
|
15684 | 23 |
Source: http://gdesklets.de/files/gdesklets-%{version}.tar.gz |
12031 | 24 |
%if %build_l10n |
14402 | 25 |
Source1: l10n-configure.sh |
26 |
Source2: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
|
12031 | 27 |
%endif |
15964 | 28 |
# date:2007-02-05 owner:jerrytan type:feature state:upstream |
9397 | 29 |
Patch1: gdesklets-01-Solaris-support.diff |
15964 | 30 |
# date:2007-07-12 owner:jerrytan type:feature |
13120 | 31 |
Patch2: gdesklets-02-session-manager-support.diff |
15964 | 32 |
# date:2007-11-21 owner:jerrytan type:bug bugid:151880 bugster:6616731 |
13120 | 33 |
Patch3: gdesklets-03-starter.diff |
15964 | 34 |
# date:2008-05-12 owner:jerrytan type:branding |
13120 | 35 |
Patch5: gdesklets-05-manpage.diff |
36 |
# date:2008-08-13 owner:jedy type:branding |
|
13250 | 37 |
Patch6: gdesklets-06-menu-entry.diff |
9397 | 38 |
URL: http://www.gdesklets.de/ |
39 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
40 |
Autoreqprov: on |
|
41 |
||
42 |
||
43 |
%prep |
|
15684 | 44 |
%setup -q -n gDesklets-%version |
14402 | 45 |
%if %build_l10n |
46 |
bzcat %SOURCE2 | tar xf - |
|
47 |
cd po-sun; make; cd .. |
|
48 |
%endif |
|
49 |
||
9397 | 50 |
%patch1 -p1 |
51 |
%patch2 -p1 |
|
52 |
%patch3 -p1 |
|
12954 | 53 |
%patch5 -p1 |
13120 | 54 |
%patch6 -p1 |
10355 | 55 |
|
9397 | 56 |
%build |
57 |
%ifos linux |
|
58 |
if [ -x /usr/bin/getconf ]; then |
|
59 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
60 |
fi |
|
61 |
%else |
|
62 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
|
63 |
%endif |
|
64 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
65 |
CPUS=1 |
|
66 |
fi |
|
67 |
||
68 |
libtoolize --force |
|
69 |
intltoolize --copy --force |
|
12031 | 70 |
|
71 |
%if %build_l10n |
|
72 |
bash -x %SOURCE1 --enable-copyright |
|
73 |
%endif |
|
74 |
||
9397 | 75 |
aclocal $ACLOCAL_FLAGS |
76 |
autoheader |
|
77 |
automake -a -c -f |
|
78 |
autoconf |
|
79 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
80 |
./configure \ |
|
81 |
--prefix=%{_prefix} \ |
|
82 |
--sysconfdir=%{_sysconfdir} \ |
|
83 |
--mandir=%{_mandir} \ |
|
84 |
--localstatedir=%{_localstatedir} \ |
|
85 |
--disable-scrollkeeper |
|
86 |
||
87 |
make -j $CPUS |
|
88 |
||
89 |
||
90 |
%install |
|
91 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
9531 | 92 |
rm $RPM_BUILD_ROOT%{_libdir}/gdesklets/utils/*.la |
93 |
rm $RPM_BUILD_ROOT%{_libdir}/gdesklets/libdesklets/system/*.la |
|
9397 | 94 |
|
95 |
%files |
|
96 |
%defattr(-, root, root) |
|
97 |
%{_bindir}/* |
|
98 |
%{_libdir}/gdesklets/* |
|
99 |
%{_datadir}/locale/*/*/* |
|
100 |
%{_datadir}/pixmaps/* |
|
101 |
%{_datadir}/applications/* |
|
102 |
%{_datadir}/icons/*/*/*/* |
|
103 |
||
104 |
||
105 |
%clean |
|
106 |
rm -r $RPM_BUILD_ROOT |
|
107 |
||
108 |
%changelog |
|
15964 | 109 |
* Fri Jun 26 2009 - [email protected] |
110 |
- Change spec and patch owner to jerrytan |
|
15884 | 111 |
* Wed Jun 10 2009 - [email protected] |
112 |
- correct the status of patch 05 |
|
15684 | 113 |
* Mon Apr 27 2009 - [email protected] |
114 |
- bump to 0.36.1 and remove upstreamed patch 04 |
|
14525
ef2cde6ebe4f
* base-specs/gdesklets.spec: Remove invalid indiana branding patch
mattman
parents:
14402
diff
changeset
|
115 |
* Wed Oct 29 2008 - [email protected] |
ef2cde6ebe4f
* base-specs/gdesklets.spec: Remove invalid indiana branding patch
mattman
parents:
14402
diff
changeset
|
116 |
- Remove incorrect indiana branding patch 07 #6765066 |
14402 | 117 |
* Wed Oct 01 2008 - [email protected] |
118 |
- Add l10n tarball. |
|
13764
4de3875aeea5
* base-specs/gdesklets.spec : Add patch 07-indiana-branding.diff
mattman
parents:
13250
diff
changeset
|
119 |
* Thu Sep 25 2008 - [email protected] |
4de3875aeea5
* base-specs/gdesklets.spec : Add patch 07-indiana-branding.diff
mattman
parents:
13250
diff
changeset
|
120 |
- Indiana branding, hide gdesklets menu option #6752376 |
13250 | 121 |
* Fri Aug 22 2008 - [email protected] |
122 |
- rename desktop.diff to menu-entry.diff. |
|
13120 | 123 |
* Wed Aug 13 2008 - [email protected] |
124 |
- Add patch 06-dekstop.diff and reorder pathces. |
|
12954 | 125 |
* Wed Jul 30 2008 - [email protected] |
126 |
- Add patch gdesklets-06-manpage.diff to add ARC number and Attributes |
|
127 |
to manpage |
|
12857 | 128 |
* Mon Jul 21 2008 - [email protected] |
129 |
- update bugdb to launchpad |
|
12800 | 130 |
* Fri Jul 11 2008 - [email protected] |
131 |
- Update orange bug status |
|
12280 | 132 |
* Mon May 12 2008 - [email protected] |
133 |
- added patch gdesklets-05-shift-f10.diff to fix bug 6699649, gdesklets |
|
134 |
trayicon support shift-f10 |
|
135 |
* Mon May 12 2008 - [email protected] |
|
12279 | 136 |
- Bump version to 0.36 |
11232
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
137 |
* Wed Nov 22 2007 - [email protected] |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
138 |
- Updated to build with new released gdesklets 0.36beta version |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
139 |
- Removed patch 3,4,5,6,7,9, which have been upstreamed and put into 0.36 beta |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
140 |
- Reorder patch gdesklets-08-session-manger-support.diff to |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
141 |
gdesklets-03-session-manager.diff due to removed patches |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
142 |
- Revised patch 1,2,3 due to the code change in 0.36beta |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
143 |
- Add patch gdesklets-04-starter.diff which fixed bugster bug 6616731 |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
144 |
gdesklets daemon trayicon menu don't pop-up if user put some desklets |
aab9ceb5649c
- Updated to build with new released gdesklets 0.36beta version
bewitche
parents:
10563
diff
changeset
|
145 |
on the desktop |
10355 | 146 |
* Tue Aug 21 2007 - [email protected] |
147 |
- Add patch gdesklets-09-statusicon.diff which fixes bugster bug |
|
148 |
6575986 gdesklets crash on startup in gnome 2.19. This patch is |
|
149 |
from community, since gnome has statusicon since 2.10, they are |
|
150 |
using it to replace eggicon. |
|
10183 | 151 |
* Thu Jul 12 2007 - [email protected] |
152 |
- Add patch that fixed the gdesklets is not session aware |
|
9698 | 153 |
* Mon Apr 09 2007 - [email protected] |
154 |
- Add patch that can get proxy setting from gconf |
|
9531 | 155 |
* Mon Mar 12 2007 - [email protected] |
156 |
- delete .la files |
|
9397 | 157 |
* Fri Feb 16 2007 - [email protected] |
158 |
- Bump to 0.35.4. Update URL to gdesklets.de. |
|
159 |
* Fri Feb 16 2007 - [email protected] |
|
160 |
- Add patch -06-tar, to solve the problem that the tar bundled with Solaris |
|
161 |
don't support -j and -z options. |
|
162 |
* Thu Feb 15 2007 - [email protected] |
|
163 |
- Update the state of current patch |
|
164 |
* Thu Feb 15 2007 - [email protected] |
|
165 |
- Add patch -05-performance, optimize the performance of gdesklets on Solaris |
|
166 |
* Mon Feb 12 2007 - [email protected] |
|
167 |
- Add patch -03-number-of-cpu, to solve the problem that the number of cpu info cannot be |
|
168 |
retrieve correctly on Sparc bug:406957 |
|
169 |
*Mon Feb 12 2007 - [email protected] |
|
170 |
- Add patch -04-parse-args, to correct the args cannot be parsed correctly on |
|
171 |
Sparc box bug:406961 |
|
172 |
* Tue Feb 6 2007 - [email protected] |
|
173 |
- Add patch, 02-rel-symlinks, to change absolute symlinks to relative. #405100. |
|
174 |
* Mon Feb 5 2007 - [email protected] |
|
175 |
- Remove the unnecessary reference to LD_LIBRARY_PATH. |
|
176 |
* Thu Jan 29 2007 - <[email protected]> |
|
177 |
- initial creation |