author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19838 | 42a3a4365a3b |
permissions | -rw-r--r-- |
570 | 1 |
# |
19693 | 2 |
# spec file for package now |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
570 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
8 |
||
9 |
Name: now |
|
10 |
License: GPL |
|
11 |
Group: System/GUI/GNOME |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
12 |
Version: 1.0.d5 |
19643 | 13 |
Release: 59 |
19693 | 14 |
Distribution: Java Desktop System |
4867
e8cfe7e64783
*.spec (almost): update Vendor and Distribution tags
dermotm
parents:
4863
diff
changeset
|
15 |
Vendor: Sun Microsystems, Inc. |
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
16 |
Summary: The Sun Java System Calendar Server client applet |
570 | 17 |
Source: now-%{version}.tar.bz2 |
19733 | 18 |
Patch1: now-01-gmtoff.diff |
19 |
Patch2: now-02-g11n-i18n-date.diff |
|
20 |
Patch3: now-03-g11n-i18n-ui.diff |
|
21 |
Patch4: now-04-prefs-about-tittle.diff |
|
22 |
Patch5: now-05-launch-using-keynav.diff |
|
570 | 23 |
URL: http://www.gnome.org/ |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
25 |
Docdir: %{_defaultdocdir} |
|
26 |
Autoreqprov: on |
|
27 |
||
28 |
%define gnome_panel_version 2.0.0 |
|
29 |
%define librsvg_version 2.2.0 |
|
30 |
%define libghttp_version 1.0.9 |
|
31 |
%define libical_version 0.23 |
|
32 |
||
33 |
Requires: gnome-panel >= %{gnome_panel_version} |
|
34 |
Requires: librsvg >= %{librsvg_version} |
|
35 |
Requires: libghttp >= %{libghttp_version} |
|
36 |
Requires: libical >= %{libical_version} |
|
19838 | 37 |
|
38 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
|
39 |
BuildRequires: librsvg-devel >= %{librsvg_version} |
|
40 |
BuildRequires: libghttp-devel >= %{libghttp_version} |
|
41 |
BuildRequires: libical-devel >= %{libical_version} |
|
570 | 42 |
|
43 |
%description |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
44 |
This package contains an applet which provides information from Sun Java System |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
45 |
Calendar Server account on your panel. |
570 | 46 |
|
47 |
%prep |
|
48 |
%setup -q |
|
19733 | 49 |
%patch1 -p1 |
4187
0a2dbe176759
- fix for tm_gmtoff for Solaris (now-06-gmtoff.diff);
mk84910
parents:
4174
diff
changeset
|
50 |
%patch2 -p1 |
19733 | 51 |
%patch3 -p1 |
4348 | 52 |
%patch4 -p1 |
4352 | 53 |
%patch5 -p1 |
4455 | 54 |
|
570 | 55 |
%build |
3263 | 56 |
%ifos linux |
57 |
if [ -x /usr/bin/getconf ]; then |
|
58 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
59 |
fi |
|
60 |
%else |
|
3846 | 61 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 62 |
%endif |
63 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
64 |
CPUS=1 |
|
65 |
fi |
|
66 |
||
2143 | 67 |
LC_ALL= |
68 |
LANG= |
|
69 |
export LC_ALL LANG |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
70 |
glib-gettextize --force --copy |
19464 | 71 |
|
72 |
# This is a real hack to make intloolize work, no idea why |
|
73 |
mkdir config/po |
|
74 |
||
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
75 |
intltoolize --force --copy --automake |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
76 |
libtoolize --force --copy |
19243 | 77 |
aclocal $ACLOCAL_FLAGS |
2143 | 78 |
autoheader |
1768 | 79 |
automake -a -c -f |
80 |
autoconf |
|
81 |
||
570 | 82 |
CFLAGS="$RPM_OPT_FLAGS" \ |
83 |
./configure \ |
|
84 |
--prefix=%{_prefix} \ |
|
2338 | 85 |
--libexecdir=%{_libexecdir} \ |
570 | 86 |
--sysconfdir=%{_sysconfdir} |
87 |
||
3263 | 88 |
make -j $CPUS |
570 | 89 |
|
90 |
%install |
|
91 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
92 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
93 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
94 |
||
95 |
%clean |
|
96 |
rm -rf $RPM_BUILD_ROOT |
|
97 |
||
98 |
%post |
|
99 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
100 |
SCHEMAS="now.schemas" |
|
101 |
for S in $SCHEMAS; do |
|
102 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
103 |
done |
|
104 |
||
105 |
%files |
|
106 |
%defattr(-,root,root) |
|
107 |
%doc AUTHORS ChangeLog COPYING NEWS README |
|
108 |
%config %{_sysconfdir}/gconf/schemas/*.schemas |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
109 |
#%{_bindir}/now |
570 | 110 |
%{_libdir}/bonobo/servers/*.server |
111 |
%{_libexecdir}/* |
|
112 |
%{_datadir}/pixmaps/* |
|
113 |
%{_datadir}/gnome-2.0/ui/*.xml |
|
114 |
%{_datadir}/icons/now/ |
|
3628 | 115 |
%{_datadir}/locale/* |
19750 | 116 |
#%{_datadir}/gnome/* |
117 |
#%{_datadir}/omf/* |
|
570 | 118 |
|
119 |
%changelog |
|
19464 | 120 |
* Mon Jun 20 2005 - [email protected] |
121 |
- Hack to mkdir of config/po so that intloolize works |
|
122 |
||
5210 | 123 |
* Fri Mar 11 2005 - [email protected] |
124 |
- Add javahelp-convert as a build requirement. |
|
125 |
||
5202 | 126 |
* Thu Mar 10 2005 - [email protected] |
127 |
- Added now-10-launch-using-keynav.diff to allow |
|
128 |
user to launch the applet using keynav. |
|
129 |
Fixes bug #6232700. |
|
130 |
||
4863 | 131 |
* Mon Jan 17 2005 - [email protected] |
132 |
- Added now-09-prefs-about-tittle.diff to change the |
|
133 |
preferences and about dialog tittle. Fixes bug 5077204. |
|
134 |
||
4844 | 135 |
* Fri Jan 14 2005 - [email protected] |
136 |
- Updated l10n help tarball for cinnabar-linux |
|
137 |
||
4448 | 138 |
* Fri Nov 05 2004 - [email protected] |
139 |
- Updated now-07-g11n-i18n-ui.diff to fix 6184408 |
|
140 |
||
4425
a094f38e54c2
- Added patch to fix localization of date (now-07-g11n-i18n-date.diff).
mk84910
parents:
4409
diff
changeset
|
141 |
* Wed Nov 03 2004 - [email protected] |
a094f38e54c2
- Added patch to fix localization of date (now-07-g11n-i18n-date.diff).
mk84910
parents:
4409
diff
changeset
|
142 |
- Added patch to fix localization of date (now-07-g11n-i18n-date.diff) |
a094f38e54c2
- Added patch to fix localization of date (now-07-g11n-i18n-date.diff).
mk84910
parents:
4409
diff
changeset
|
143 |
|
4352 | 144 |
* Thu Oct 28 2004 - [email protected] |
145 |
- Updated l10n help tarball and added pt_BR |
|
146 |
||
4209 | 147 |
* Fri Oct 08 2004 - [email protected] |
148 |
- Added back use of now-l10n-po-* tarballs |
|
4205 | 149 |
|
4198 | 150 |
* Fri Oct 08 2004 - [email protected] |
151 |
- Fix for help build (now-06-help-build.diff) |
|
152 |
||
4187
0a2dbe176759
- fix for tm_gmtoff for Solaris (now-06-gmtoff.diff);
mk84910
parents:
4174
diff
changeset
|
153 |
* Thu Oct 07 2004 - [email protected] |
0a2dbe176759
- fix for tm_gmtoff for Solaris (now-06-gmtoff.diff);
mk84910
parents:
4174
diff
changeset
|
154 |
- Fix for tm_gmtoff for Solaris (now-06-gmtoff.diff) |
0a2dbe176759
- fix for tm_gmtoff for Solaris (now-06-gmtoff.diff);
mk84910
parents:
4174
diff
changeset
|
155 |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
156 |
* Wed Oct 06 2004 - [email protected] |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
157 |
- Fix for BugId 5085749 (no support for timezones) |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
158 |
- Fix for BugId 5069959 (no command line application) |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
159 |
- Merged now-l10n-po-1.5.tar.bz2 |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
160 |
- Merged now-01-g11n-i18n-ui.diff |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
161 |
- Merged now-02-g11n-branding.diff |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
162 |
- Merged now-04-help.diff |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
163 |
- Merged now-05-g11n-allinguas.diff |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
164 |
- version 1.0.d5 |
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
165 |
|
3981
3506ede22679
Updating now.spec to include now-05-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
166 |
* Thu Sep 16 2004 - [email protected] |
3506ede22679
Updating now.spec to include now-05-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
167 |
- Added now-05-g11n-allinguas.diff to add cs,hu linguas |
3506ede22679
Updating now.spec to include now-05-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
168 |
|
3809 | 169 |
* Wed Sep 01 2004 - [email protected] |
170 |
- Added javahelp-convert for now docs |
|
171 |
||
3800 | 172 |
* Tue Aug 31 2004 - [email protected] |
173 |
- Added patch to implement Help invocation. |
|
174 |
||
3722
50b45e4a9641
* now.spec: Add %{_datadir}/gnome and %{_datadir}/omf as added by docs tarball.
dc144907
parents:
3679
diff
changeset
|
175 |
* Tue Aug 24 2004 - [email protected] |
50b45e4a9641
* now.spec: Add %{_datadir}/gnome and %{_datadir}/omf as added by docs tarball.
dc144907
parents:
3679
diff
changeset
|
176 |
- Add %{_datadir}/gnome and %{_datadir}/omf as added by docs tarball. |
50b45e4a9641
* now.spec: Add %{_datadir}/gnome and %{_datadir}/omf as added by docs tarball.
dc144907
parents:
3679
diff
changeset
|
177 |
|
3664
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3628
diff
changeset
|
178 |
* Fri Aug 20 2004 - [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3628
diff
changeset
|
179 |
- Integrated updated docs tarball from [email protected] |
8cf0c5cfb717
* now.spec, gnome-address-applet.spec, file-roller.spec, bug-buddy.spec,
dc144907
parents:
3628
diff
changeset
|
180 |
|
3488
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
181 |
* Thu Aug 05 2004 - [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
182 |
- Integrated docs tarball from [email protected] |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
183 |
- Added patch to add Makefiles for docs files. |
7f86036bf90e
* bug-buddy.spec gnome-address-applet.spec gnome-applets.spec
dc144907
parents:
3425
diff
changeset
|
184 |
|
3628 | 185 |
* Wed Jul 14 2004 - [email protected] |
186 |
- rpm4 fixes |
|
187 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
188 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
189 |
- Updated l10n content to now-l10n-po-1.2.tar.bz2 |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
190 |
|
3263 | 191 |
* Wed Jul 07 2004 - [email protected] |
192 |
- added "-j $CPUS" to make to speed up builds |
|
193 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
194 |
* Wed May 12 2004 - [email protected] |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
195 |
- Updated l10n content to now-l10n-po-1.1.tar.bz2 |
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
196 |
|
2350 | 197 |
* Mon Mar 29 2004 - [email protected] |
198 |
- Updated l10n content to now-l10n-po-1.0.tar.bz2 |
|
199 |
||
2338 | 200 |
* Fri Mar 26 2004 - [email protected] |
201 |
- added --libexecdir to configure args |
|
2143 | 202 |
* Thu Mar 04 2004 - takao.fujiwara.sun.com |
203 |
- Added now-01-g11n-i18n-ui.diff, now-02-g11n-branding.diff to fix 4940829 |
|
204 |
||
1817
fcbaa5c427e0
- Updated the name of the calendar server in now.spec
mk84910
parents:
1797
diff
changeset
|
205 |
* Thu Feb 19 2004 - <[email protected]> |
fcbaa5c427e0
- Updated the name of the calendar server in now.spec
mk84910
parents:
1797
diff
changeset
|
206 |
- Updated the name of the calendar server in now.spec |
fcbaa5c427e0
- Updated the name of the calendar server in now.spec
mk84910
parents:
1797
diff
changeset
|
207 |
|
1768 | 208 |
* Wed Feb 18 2004 - <[email protected]> |
209 |
- Update distro to cinnaber |
|
210 |
- add l10n-0.8 |
|
211 |
- Patches 01 & 02 need porting... |
|
212 |
||
1168 | 213 |
* Thu Sep 25 2003 - <[email protected]> |
214 |
- Fix for BugId 4914857 |
|
215 |
- Fix for BugId 4912313 |
|
216 |
- Cosmetic fixes in GUI |
|
217 |
- version 1.0.d4 |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
218 |
|
1158 | 219 |
* Mon Sep 22 2003 - <[email protected]> |
220 |
- Fix for BugId 4905844 |
|
221 |
- Fix for version in the About dialog |
|
222 |
- version 1.0.d3 |
|
4174
c89cadf72025
- Fix for BugId 5085749 (no support for timezones)
mk84910
parents:
4133
diff
changeset
|
223 |
|
570 | 224 |
* Fri Jul 11 2003 - <[email protected]> |
225 |
- Initial spec file |