author | dermotm |
Mon, 18 Oct 2004 09:30:38 +0000 | |
changeset 4276 | 2a2c7f354601 |
parent 4274 | db01cec80c59 |
child 4387 | 1b0580c5041e |
permissions | -rw-r--r-- |
2386 | 1 |
# |
2 |
# License (c) 2003 Sun Microsystems Inc. |
|
3 |
# This file and all modifications and additions to the pristine |
|
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
6 |
||
4274 | 7 |
%define t_suffix -build21-cb |
2932
d9e62503fce0
use GMT when defining the date string for the nightly tarballs
laca
parents:
2798
diff
changeset
|
8 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)} |
2386 | 9 |
|
2798 | 10 |
%define evolution_imagesdir %(echo `PKG_CONFIG_PATH=%{_libdir}/pkgconfig:/usr/lib/pkgconfig pkg-config --variable imagesdir evolution-shell 2>/dev/null`) |
2386 | 11 |
|
2798 | 12 |
%define evolution_libdir %(echo `PKG_CONFIG_PATH=%{_libdir}/pkgconfig:/usr/lib/pkgconfig pkg-config --variable privlibdir evolution-shell 2>/dev/null`) |
2386 | 13 |
|
14 |
Name: hydrogen |
|
15 |
Version: 1.0.0 |
|
4276 | 16 |
Release: 353 |
2386 | 17 |
Vendor: Sun Microsystems, Inc. |
18 |
Distribution: Java Desktop System, Release 3 |
|
19 |
Copyright: LGPL/GPL |
|
20 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
21 |
Docdir: %{_datadir}/doc |
|
22 |
Autoreqprov: on |
|
23 |
URL: http://www.sun.com/software/javadesktopsystem/ |
|
24 |
Source: %{name}-%{version}%{t_suffix}.tar.bz2 |
|
25 |
Source1: mkinstalldirs |
|
4265 | 26 |
Source2: hydrogen-l10n-po-1.6.tar.bz2 |
3976
29f8ab0f6d1d
Updating hydrogwn.spec to include hydrogen-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
27 |
Patch1: hydrogen-01-g11n-alllinguas.diff |
2386 | 28 |
|
29 |
BuildRequires: glibc-devel |
|
30 |
BuildRequires: libtool |
|
31 |
BuildRequires: glib2-devel |
|
32 |
BuildRequires: libsoup-devel |
|
33 |
BuildRequires: evolution-devel |
|
34 |
BuildRequires: libgal-devel |
|
35 |
BuildRequires: libbonoboui-devel |
|
36 |
BuildRequires: bonobo-activation-devel |
|
37 |
Summary: The SUN one connector. |
|
38 |
Group: System Environment/Libraries |
|
39 |
Requires: libsoup |
|
40 |
Requires: evolution |
|
41 |
Requires: glib2 |
|
42 |
Requires: libgal |
|
43 |
Requires: bonobo-activation |
|
44 |
||
45 |
%description |
|
46 |
The SUN one connector, protocol wcap. |
|
47 |
%files |
|
48 |
%defattr(-, root, root) |
|
49 |
%doc COPYING ChangeLog AUTHORS INSTALL NEWS README |
|
50 |
%{_bindir}/hydrogen |
|
51 |
%{_libdir}/bonobo/servers/GNOME_Evolution_SunOne_Storage.server |
|
3225
54a5b8cc2a82
Fix typo in %files - change hydrogen-2.0.mo to hydrogen-1.0.mo.
dc144907
parents:
3224
diff
changeset
|
52 |
%{_datadir}/locale/*/LC_MESSAGES/hydrogen-1.0.mo |
2386 | 53 |
%{_datadir}/hydrogen/glade/*.glade |
54 |
%{_datadir}/hydrogen/etspec/*.etspec |
|
55 |
/%{evolution_imagesdir}/*.png |
|
2423 | 56 |
/%{evolution_libdir}/ |
2386 | 57 |
%post |
58 |
ldconfig |
|
59 |
||
60 |
# $RPM_COMMAND is an environment variable used by the SUN build |
|
61 |
# system to control the build process with finer granularity than RPM |
|
62 |
# normally allows. This specfile will function as expected by RPM if |
|
63 |
# $RPM_COMMAND is unset. If you are not the SUN build system, |
|
64 |
# feel free to ignore it. |
|
65 |
||
66 |
%prep |
|
67 |
case "${RPM_COMMAND:-all}" in |
|
68 |
dist) |
|
3976
29f8ab0f6d1d
Updating hydrogwn.spec to include hydrogen-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
69 |
|
2386 | 70 |
%setup -q -D -n %{name}-%{version} |
2740 | 71 |
/usr/bin/bzcat -dc %SOURCE2|tar xf - |
2386 | 72 |
;; |
73 |
all) |
|
74 |
%setup -q -n %{name}-%{version} |
|
3976
29f8ab0f6d1d
Updating hydrogwn.spec to include hydrogen-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
75 |
%patch1 -p1 |
2740 | 76 |
/usr/bin/bzcat -dc %SOURCE2|tar xf - |
2386 | 77 |
;; |
78 |
esac |
|
79 |
cp %SOURCE1 . |
|
80 |
||
81 |
%build |
|
82 |
MAKE=${MAKE:-make} |
|
83 |
RPM_COMMAND=${RPM_COMMAND:-all} |
|
84 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
85 |
ARCH=%{_target_platform} |
|
86 |
export MAKE RPM_COMMAND DESTDIR ARCH |
|
87 |
case "$RPM_COMMAND" in |
|
88 |
prepare|all) |
|
89 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
90 |
libtoolize --force |
|
91 |
glib-gettextize --force --copy |
|
92 |
intltoolize --force --automake |
|
93 |
autoheader |
|
94 |
automake -a -f -c --gnu |
|
95 |
autoconf |
|
96 |
./configure --prefix=%{_prefix} \ |
|
4144 | 97 |
--enable-idn=no |
2386 | 98 |
;; |
99 |
esac |
|
100 |
case "$RPM_COMMAND" in |
|
101 |
clean|all) |
|
102 |
if [ "/" != "$DESTDIR" ]; then |
|
103 |
rm -rf "$DESTDIR" |
|
104 |
fi |
|
105 |
;; |
|
106 |
esac |
|
107 |
case "$RPM_COMMAND" in |
|
108 |
build|all) |
|
3290 | 109 |
${MAKE} |
2386 | 110 |
;; |
111 |
esac |
|
112 |
||
113 |
%install |
|
114 |
mkdir -p $RPM_BUILD_ROOT%{evolution_imagesdir} |
|
115 |
cp ./storage/*.png $RPM_BUILD_ROOT%{evolution_imagesdir} |
|
116 |
mkdir -p $RPM_BUILD_ROOT%{evolution_libdir} |
|
117 |
cp ./calendar/.libs/libwcapcalendar.so.0 $RPM_BUILD_ROOT%{evolution_libdir} |
|
118 |
cp ./lib/.libs/libhydrogen.so.0 $RPM_BUILD_ROOT%{evolution_libdir} |
|
119 |
MAKE=${MAKE:-make} |
|
120 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
121 |
# export DESTDIR |
|
122 |
case "${RPM_COMMAND:-all}" in |
|
123 |
install|all) |
|
2427 | 124 |
${MAKE} install DESTDIR=${DESTDIR} |
2386 | 125 |
;; |
126 |
esac |
|
127 |
||
128 |
%clean |
|
129 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
130 |
export DESTDIR |
|
131 |
case "${RPM_COMMAND:-all}" in |
|
132 |
clean|all) |
|
133 |
if [ "/" != "$DESTDIR" ]; then |
|
134 |
rm -rf "$DESTDIR" |
|
135 |
fi |
|
136 |
;; |
|
137 |
esac |
|
138 |
||
139 |
||
140 |
%changelog |
|
4274 | 141 |
* Mon Oct 18 2004 - [email protected] |
142 |
- bump src tarball to build21 |
|
143 |
||
4219 | 144 |
* Mon Oct 11 2004 - [email protected] |
145 |
- bump src tarball to build20b |
|
146 |
||
4144 | 147 |
* Mon Oct 04 2004 - [email protected] |
148 |
- removed idn support |
|
149 |
||
4002 | 150 |
* Mon Sep 20 2004 - [email protected] |
151 |
- bump src tarball to build19 |
|
152 |
||
3976
29f8ab0f6d1d
Updating hydrogwn.spec to include hydrogen-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
153 |
* Thu Sep 16 2004 - [email protected] |
29f8ab0f6d1d
Updating hydrogwn.spec to include hydrogen-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
154 |
- Added hydrogen-01-g11n-alllinguas.diff to include cd,hu linguas |
29f8ab0f6d1d
Updating hydrogwn.spec to include hydrogen-01-g11n-alllinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
155 |
|
3856 | 156 |
* Mon Sep 06 2004 - [email protected] |
157 |
- bump src tarball to build18 |
|
158 |
||
3676 | 159 |
* Mon Aug 23 2004 - [email protected] |
160 |
- bump src tarball to build17 |
|
161 |
||
3517 | 162 |
* Mon Aug 09 2004 - [email protected] |
163 |
- bump src tarball to build16 |
|
164 |
||
3423 | 165 |
* Mon Jul 26 2004 - [email protected] |
166 |
- bump src tarball to build15 |
|
167 |
||
3290 | 168 |
* Fri Jul 09 2004 - [email protected] |
169 |
- undid -j $CPUS for this module |
|
170 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
171 |
* 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
|
172 |
- Updated l10n content to hydrogen-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
|
173 |
|
3263 | 174 |
* Wed Jul 07 2004 - [email protected] |
175 |
- added "-j $CPUS" to make to speed up builds |
|
176 |
||
3222 | 177 |
* Sun Jun 27 2004 - [email protected] |
178 |
- Removed hydrogen-01-calander-makefile.diff, not needed |
|
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3215
diff
changeset
|
179 |
* Sat Jun 26 2004 - [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3215
diff
changeset
|
180 |
- Added hydrogen-01-calander-makefile.diff for build13 tarball problem |
3215 | 181 |
* Fri Jun 25 2004 - [email protected] |
182 |
- bump src tarball to build13 |
|
3103 | 183 |
* Thu Jun 10 2004 - [email protected] |
184 |
- bump src tarball to build12 |
|
2957 | 185 |
* Sun May 30 2004 - [email protected] |
186 |
- bump src tarball to build11 |
|
2763 | 187 |
* Fri May 14 2004 - [email protected] |
188 |
- bump src tarball to build10 |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
189 |
* Wed May 12 2004 - [email protected] |
2740 | 190 |
- replace tar jxf with the more solaris friendly |
191 |
bzcat piped through tar |
|
192 |
* Wed May 12 2004 - [email protected] |
|
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
193 |
- Adding hydrogen-l10n-po-1.1.tar.bz2 l10n content |
2606 | 194 |
* Sat May 01 2004 - [email protected] |
195 |
- remove icon conflict hack as it is fixed in the tarball |
|
2602 | 196 |
* Fri Apr 30 2004 - [email protected] |
197 |
- bump src tarball to build09 |
|
2423 | 198 |
* Wed Apr 07 2004 - [email protected] |
2602 | 199 |
- |