author | dermotm |
Mon, 11 Apr 2005 08:50:58 +0000 | |
changeset 5333 | 817fa62bc95d |
parent 5331 | e460fe70e4dc |
child 5368 | 7fd27956304d |
permissions | -rw-r--r-- |
3757 | 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 |
||
5331 | 7 |
%define t_suffix -build33-linux-cb |
3757 | 8 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)} |
9 |
||
10 |
Name: libgal |
|
11 |
Version: 1.99.10 |
|
5333 | 12 |
Release: 373 |
3757 | 13 |
Vendor: Sun Microsystems, Inc. |
14 |
Distribution: Java Desktop System, Release 3 |
|
15 |
Copyright: GPL |
|
16 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
17 |
Docdir: %{_datadir}/doc |
|
18 |
Autoreqprov: on |
|
19 |
URL: http://www.sun.com/software/javadesktopsystem/ |
|
20 |
Epoch: 1 |
|
21 |
Source: %{name}-%{version}%{t_suffix}.tar.bz2 |
|
5277 | 22 |
Source1: libgal-l10n-po-1.14.tar.bz2 |
5004
ae9b371954ef
Added l10n tarball reference to libgal.spec so that translations could get picked up
cm152228
parents:
4980
diff
changeset
|
23 |
Source2: l10n-configure.sh |
3757 | 24 |
Patch: gal-01-e-table-missing-prototype.diff |
25 |
Patch1: gal-02-gal-uninstalled.pc.diff |
|
3761 | 26 |
Patch2: gal-03-mkinstalldirs.diff |
3953
8aa51a5d0122
Added gal-04-g11n-potfiles.diff. Updated libgal.spec.
yk150259
parents:
3858
diff
changeset
|
27 |
Patch3: gal-04-g11n-potfiles.diff |
4443
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
28 |
Patch4: gal-05-g11n-potfiles.diff |
3757 | 29 |
#Patch0: gal_patch1.diff |
30 |
||
31 |
%define intltool_version 0.20 |
|
32 |
%define libglade_devel_version 2.0.0 |
|
33 |
%define libgnomeui_devel_version 2.0.3 |
|
34 |
%define libgnomecanvas_devel_version 2.0.2 |
|
35 |
%define libxml2_devel_version 2.4.23 |
|
36 |
%define bonobo_activation_devel_version 1.0.3 |
|
37 |
%define atk_devel_version 1.0.3 |
|
38 |
%define glib2_devel_version 2.0.6 |
|
39 |
%define gtk2_devel_version 2.0.6 |
|
40 |
%define freetype2_devel_version 2.1.2 |
|
41 |
%define libgnome_devel_version 2.0.2 |
|
42 |
%define pango_devel_version 1.1.1 |
|
43 |
%define ORBit2_devel_version 2.4.1 |
|
44 |
%define libIDL_devel_version 0.8.0 |
|
45 |
#%define linc_devel_version 0.5.2 |
|
46 |
%define libxslt_devel_version 1.0.19 |
|
47 |
%define libbonoboui_devel_version 2.0.1 |
|
48 |
%define libbonobo_devel_version 2.0.0 |
|
49 |
%define gnome_vfs_devel_version 2.0.2 |
|
50 |
%define libgnomeprint_devel_version 2.2.1.1 |
|
51 |
%define libgnomeprintui_devel_version 2.2.1.1 |
|
52 |
%define GConf_devel_version 1.2.1 |
|
53 |
||
54 |
BuildRequires: automake |
|
55 |
BuildRequires: autoconf |
|
56 |
BuildRequires: libtool |
|
57 |
BuildRequires: gettext |
|
58 |
BuildRequires: intltool >= %{intltool_version} |
|
59 |
BuildRequires: libglade-devel >= %{libglade_devel_version} |
|
60 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_devel_version} |
|
61 |
BuildRequires: libgnomecanvas-devel >= %{libgnomecanvas_devel_version} |
|
62 |
BuildRequires: libxml2-devel >= %{libxml2_devel_version} |
|
63 |
BuildRequires: bonobo-activation-devel >= %{bonobo_activation_devel_version} |
|
64 |
BuildRequires: atk-devel >= %{atk_devel_version} |
|
65 |
BuildRequires: glib2-devel >= %{glib2_devel_version} |
|
66 |
BuildRequires: gtk2-devel >= %{gtk2_devel_version} |
|
67 |
BuildRequires: freetype2-devel >= %{freetype2_devel_version} |
|
68 |
BuildRequires: libgnome-devel >= %{libgnome_devel_version} |
|
69 |
BuildRequires: pango-devel >= %{pango_devel_version} |
|
70 |
BuildRequires: ORBit2-devel >= %{ORBit2_devel_version} |
|
71 |
BuildRequires: libIDL-devel >= %{libIDL_devel_version} |
|
72 |
#BuildRequires: linc-devel >= %{linc_devel_version} |
|
73 |
BuildRequires: libxslt-devel >= %{libxslt_devel_version} |
|
74 |
BuildRequires: libbonoboui-devel >= %{libbonoboui_devel_version} |
|
75 |
BuildRequires: libbonobo-devel >= %{libbonobo_devel_version} |
|
76 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_devel_version} |
|
77 |
BuildRequires: gnome-common |
|
78 |
BuildRequires: gtk-doc |
|
79 |
BuildRequires: libgnomeprint-devel >= %{libgnomeprint_devel_version} |
|
80 |
BuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_devel_version} |
|
81 |
BuildRequires: GConf-devel >= %{GConf_devel_version} |
|
82 |
BuildRequires: zlib-devel |
|
83 |
Summary: The GNOME Application Library |
|
84 |
Group: Libraries/System |
|
85 |
Obsoletes: libgal2.0_1 |
|
86 |
Obsoletes: libgal2.0_0 |
|
87 |
||
88 |
%description |
|
89 |
A collection of GNOME widgets and utility functions. |
|
90 |
||
91 |
%files |
|
92 |
%defattr(-, root, root) |
|
3761 | 93 |
%doc AUTHORS COPYING.LIB ChangeLog INSTALL NEWS |
3757 | 94 |
%dir %{_datadir}/gal-2.0 |
95 |
%{_datadir}/gal-2.0/%{version} |
|
96 |
%{_libdir}/lib*.so.* |
|
97 |
%{_prefix}/*/locale/*/LC_MESSAGES/*.mo |
|
98 |
||
99 |
%post |
|
100 |
ldconfig |
|
101 |
||
102 |
%postun |
|
103 |
ldconfig |
|
104 |
||
105 |
%package -n libgal-devel |
|
106 |
Summary: Development files for the GNOME Applications library |
|
107 |
Group: Development/Libraries |
|
3761 | 108 |
#Requires: libgal = %{version} |
109 |
Requires: libgal |
|
3757 | 110 |
Requires: libgnomeui-devel |
111 |
Requires: libglade-devel |
|
112 |
Requires: libgnomeprintui-devel |
|
113 |
Requires: libxml2-devel |
|
114 |
||
115 |
%description -n libgal-devel |
|
116 |
Development files for the GNOME Applications library |
|
117 |
||
118 |
%files -n libgal-devel |
|
119 |
%defattr(-, root, root) |
|
120 |
%{_libdir}/*.so |
|
3761 | 121 |
%{_libdir}/lib*.*a |
3757 | 122 |
%{_libdir}/pkgconfig/*.pc |
123 |
%{_includedir}/* |
|
124 |
%{_datadir}/gal-2.0/html |
|
125 |
||
126 |
||
127 |
# $RPM_COMMAND is an environment variable used by the SUN build |
|
128 |
# system to control the build process with finer granularity than RPM |
|
129 |
# normally allows. This specfile will function as expected by RPM if |
|
130 |
# $RPM_COMMAND is unset. If you are not the SUN build system, |
|
131 |
# feel free to ignore it. |
|
132 |
||
133 |
%prep |
|
134 |
case "${RPM_COMMAND:-all}" in |
|
135 |
dist) |
|
136 |
%setup -q -D -n %{name}-%{version} |
|
137 |
;; |
|
138 |
all) |
|
139 |
%setup -q -n %{name}-%{version} |
|
140 |
;; |
|
141 |
esac |
|
142 |
case "${RPM_COMMAND:-all}" in |
|
143 |
dist|all) |
|
144 |
%patch -p1 |
|
145 |
%patch1 -p1 |
|
3761 | 146 |
%patch2 -p1 |
3953
8aa51a5d0122
Added gal-04-g11n-potfiles.diff. Updated libgal.spec.
yk150259
parents:
3858
diff
changeset
|
147 |
%patch3 -p1 |
4443
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
148 |
%patch4 -p1 |
3757 | 149 |
#%patch -p1 -P 0 |
150 |
;; |
|
151 |
esac |
|
152 |
||
5004
ae9b371954ef
Added l10n tarball reference to libgal.spec so that translations could get picked up
cm152228
parents:
4980
diff
changeset
|
153 |
bzcat %SOURCE1 | tar xvf - |
ae9b371954ef
Added l10n tarball reference to libgal.spec so that translations could get picked up
cm152228
parents:
4980
diff
changeset
|
154 |
bash -x %SOURCE2 |
4467 | 155 |
|
3757 | 156 |
%build |
157 |
MAKE=${MAKE:-make} |
|
158 |
RPM_COMMAND=${RPM_COMMAND:-all} |
|
159 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
160 |
ARCH=%{_target_platform} |
|
161 |
export MAKE RPM_COMMAND DESTDIR ARCH |
|
162 |
case "$RPM_COMMAND" in |
|
163 |
prepare|all) |
|
3761 | 164 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros -I . |
3757 | 165 |
libtoolize --force |
166 |
glib-gettextize --force --copy |
|
167 |
intltoolize --force --automake |
|
168 |
autoheader |
|
169 |
automake -a -f -c --gnu |
|
170 |
autoconf |
|
171 |
./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} --infodir=%{_datadir}/info --localstatedir=/var |
|
172 |
;; |
|
173 |
esac |
|
174 |
case "$RPM_COMMAND" in |
|
175 |
clean|all) |
|
176 |
if [ "/" != "$DESTDIR" ]; then |
|
177 |
rm -rf "$DESTDIR" |
|
178 |
fi |
|
179 |
;; |
|
180 |
esac |
|
181 |
case "$RPM_COMMAND" in |
|
182 |
build|all) |
|
183 |
${MAKE} |
|
184 |
;; |
|
185 |
esac |
|
186 |
||
187 |
%install |
|
188 |
MAKE=${MAKE:-make} |
|
189 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
190 |
#export DESTDIR |
|
191 |
case "${RPM_COMMAND:-all}" in |
|
192 |
install|all) |
|
193 |
${MAKE} DESTDIR=${DESTDIR} install |
|
194 |
;; |
|
195 |
esac |
|
196 |
||
197 |
%clean |
|
198 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
199 |
export DESTDIR |
|
200 |
case "${RPM_COMMAND:-all}" in |
|
201 |
clean|all) |
|
202 |
if [ "/" != "$DESTDIR" ]; then |
|
203 |
rm -rf "$DESTDIR" |
|
204 |
fi |
|
205 |
;; |
|
206 |
esac |
|
207 |
||
208 |
||
209 |
%changelog |
|
5331 | 210 |
* Mon Apr 11 2005 - [email protected] |
211 |
- Bump source tarball to build 33 (linux) |
|
212 |
||
5279 | 213 |
* Mon Mar 28 2005 - [email protected] |
214 |
- Bump source tarball to build 32 (linux) |
|
215 |
||
5235 | 216 |
* Mon Mar 14 2005 - [email protected] |
217 |
- Bump source tarball to build 31 (linux) |
|
218 |
||
5150 | 219 |
* Mon Feb 28 2005 - [email protected] |
220 |
- Bump source tarball to build 30 (linux) |
|
221 |
||
5080 | 222 |
* Mon Feb 14 2005 - [email protected] |
223 |
- Bump source tarball to build 29 (linux) |
|
224 |
||
4978 | 225 |
* Mon Jan 31 2005 - [email protected] |
226 |
- Bump source tarball to build 28 (linux) |
|
227 |
||
4857 | 228 |
* Mon Jan 17 2005 - [email protected] |
229 |
- Bump source tarball to build 27 (linux) |
|
230 |
||
4799 | 231 |
* Tue Jan 04 2005 - [email protected] |
232 |
- Bump source tarball to build 26 (linux) |
|
233 |
||
4742 | 234 |
* Mon Dec 13 2004 - [email protected] |
235 |
- Bump source tarball to build 25 (linux) |
|
236 |
||
4688 | 237 |
* Mon Nov 29 2004 - [email protected] |
238 |
- Bump source tarball to build 24 |
|
239 |
||
4577 | 240 |
* Mon Nov 15 2004 - [email protected] |
241 |
- Bump source tarball to build 23. |
|
242 |
||
4443
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
243 |
* Thu Nov 04 2004 - [email protected] |
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
244 |
- Added libgal-05-g11n-potfiles.diff to update POTFILES.in |
c889d4d2454b
Updating spec files to include potfiles patches to update POTFILE.in of software modules
cm152228
parents:
4409
diff
changeset
|
245 |
|
4407 | 246 |
* Mon Nov 01 2004 - [email protected] |
247 |
- bump src tarball to build22 |
|
248 |
||
4274 | 249 |
* Mon Oct 18 2004 - [email protected] |
250 |
- bump src tarball to build21 |
|
251 |
||
4219 | 252 |
* Mon Oct 11 2004 - [email protected] |
253 |
- bump src tarball to build20b |
|
254 |
||
4002 | 255 |
* Mon Sep 20 2004 - [email protected] |
256 |
- bump src tarball to build19 |
|
257 |
||
3953
8aa51a5d0122
Added gal-04-g11n-potfiles.diff. Updated libgal.spec.
yk150259
parents:
3858
diff
changeset
|
258 |
* Wed Sep 15 2004 - [email protected] |
8aa51a5d0122
Added gal-04-g11n-potfiles.diff. Updated libgal.spec.
yk150259
parents:
3858
diff
changeset
|
259 |
- Added gal-04-g11n-potfiles.diff |
8aa51a5d0122
Added gal-04-g11n-potfiles.diff. Updated libgal.spec.
yk150259
parents:
3858
diff
changeset
|
260 |
|
3856 | 261 |
* Mon Sep 06 2004 - [email protected] |
262 |
- bump src tarball to build18 |
|
263 |
||
3761 | 264 |
* Thu Aug 26 2004 - [email protected] |
265 |
- changed the spec file name from 'gal.spec' to 'libgal.spec' to |
|
266 |
keep consistent with file name and package name it defines |
|
267 |
* Mon Aug 23 2004 - [email protected] |
|
268 |
- bump src tarball to build17 |
|
269 |
||
270 |
* Mon Aug 09 2004 - [email protected] |
|
271 |
- bump src tarball to build16 |
|
272 |
||
3757 | 273 |
* Mon Jul 26 2004 - [email protected] |
274 |
- bump src tarball to build15 |
|
275 |
||
3761 | 276 |
* Thu Jul 22 2004 - [email protected] |
277 |
- devel rpm does not identify version of the main rpm correctly. |
|
278 |
requirement for specific version of the main rpm is eliminated. |
|
279 |
||
280 |
* Wed Jul 14 2004 - [email protected] |
|
281 |
- fixes for rpm4 |
|
282 |
- added gal-03-mkinstalldirs.diff (Ximian bugzilla #59321) |
|
283 |
||
3757 | 284 |
* Thu Jul 08 2004 - [email protected] |
285 |
- undid -j $CPUS for this module |
|
286 |
||
287 |
* Wed Jul 07 2004 - [email protected] |
|
288 |
- added "-j $CPUS" to make to speed up builds |
|
289 |
||
290 |
* Fri Jun 25 2004 - [email protected] |
|
291 |
- bump src tarball to build13 |
|
292 |
* Thu Jun 10 2004 - [email protected] |
|
293 |
- bump src tarball to build12 |
|
294 |
* Sun May 30 2004 - [email protected] |
|
295 |
- bump src tarball to build11 |
|
296 |
* Fri May 14 2004 - [email protected] |
|
297 |
- bump src tarball to build10 |
|
298 |
* Fri Apr 30 2004 - [email protected] |
|
299 |
- bump src tarball to build09 |