author | chrisk |
Mon, 31 Aug 2009 16:23:04 +0000 | |
changeset 16434 | f21f22550fe9 |
parent 16429 | fe72291e50fd |
child 17852 | edfc096bfd70 |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package glade |
|
3 |
# |
|
15274 | 4 |
# Copyright 2009 Sun Microsystems, Inc. |
9397 | 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 hawklu |
9397 | 9 |
# |
16429 | 10 |
|
11 |
%define OSR gnome.org:0 |
|
12 |
||
9397 | 13 |
%include l10n.inc |
14 |
Name: glade |
|
15 |
License: GPL |
|
16 |
Group: System/GUI/GNOME |
|
16029 | 17 |
Version: 3.6.7 |
9397 | 18 |
Release: 1 |
19 |
Distribution: Java Desktop System |
|
20 |
Vendor: Sun Microsystems, Inc. |
|
21 |
Summary: GLADE User Interface Builder for GNOME |
|
15723 | 22 |
Source: http://download.gnome.org/sources/%{name}3/3.6/%{name}3-%{version}.tar.bz2 |
9397 | 23 |
Source1: %{name}-po-sun-%{po_sun_version}.tar.bz2 |
12031 | 24 |
%if %build_l10n |
25 |
Source2: l10n-configure.sh |
|
26 |
%endif |
|
9397 | 27 |
URL: http://www.gnome.org |
28 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
29 |
Docdir: %{_docdir}/doc |
|
30 |
Autoreqprov: on |
|
31 |
||
32 |
%define scrollkeeper_version 0.3.14 |
|
33 |
%define libgnomeui_version 2.9.0 |
|
34 |
%define libxml2_version 2.4.1 |
|
35 |
||
36 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
37 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
38 |
BuildRequires: libxml2 >= %{libxml2_version} |
|
39 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
40 |
||
41 |
%description |
|
42 |
Glade is a User Interface Builder for GTK+ and GNOME. This package contains GLADE for the GTK + 2.0 and GNOME 2.0 Platform. |
|
43 |
||
9449
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
44 |
%package devel |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
45 |
Summary: %{name} - Developer Libraries |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
46 |
Group: Development/Libraries/GNOME |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
47 |
Requires: %{name} = %{version} |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
48 |
|
9397 | 49 |
%prep |
50 |
%setup -q -n %{name}3-%{version} |
|
51 |
%if %build_l10n |
|
52 |
bzcat %SOURCE1 | tar xf - |
|
53 |
cd po-sun; make; cd .. |
|
54 |
%endif |
|
55 |
||
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 |
|
10407 | 69 |
intltoolize --force --copy --automake |
12031 | 70 |
|
71 |
%if %build_l10n |
|
72 |
bash -x %SOURCE2 --enable-copyright |
|
73 |
%endif |
|
74 |
||
9397 | 75 |
aclocal $ACLOCAL_FLAGS -I ./m4 |
76 |
automake -a -c -f |
|
77 |
autoconf |
|
78 |
||
79 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
80 |
./configure \ |
|
81 |
--prefix=%{_prefix} \ |
|
82 |
--bindir=%{_bindir} \ |
|
83 |
--libdir=%{_libdir} \ |
|
9449
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
84 |
--includedir=%{_includedir} \ |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
85 |
--sysconfdir=%{_sysconfdir} \ |
9826
5e5069de41f4
* base-specs/glade.spec: use %gtk_doc_option in configure so
halton
parents:
9823
diff
changeset
|
86 |
--disable-scrollkeeper \ |
5e5069de41f4
* base-specs/glade.spec: use %gtk_doc_option in configure so
halton
parents:
9823
diff
changeset
|
87 |
%{gtk_doc_option} |
9449
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
88 |
|
9397 | 89 |
make -j $CPUS |
90 |
||
91 |
%install |
|
92 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
93 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
94 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
95 |
||
96 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
|
97 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';' |
|
98 |
||
99 |
%clean |
|
100 |
rm -rf $RPM_BUILD_ROOT |
|
101 |
||
102 |
%files |
|
103 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
104 |
%defattr (-, root, root) |
|
105 |
%{_bindir}/* |
|
106 |
%{_datadir}/applications |
|
107 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
9449
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
108 |
%{_datadir}/icons |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
109 |
%{_datadir}/omf/* |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
110 |
%{_datadir}/gnome/* |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
111 |
%{_datadir}/glade* |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
112 |
%{_mandir}/man1/* |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
113 |
|
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
114 |
%defattr(-, root, root) |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
115 |
%{_includedir}/* |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
116 |
%{_libdir}/pkgconfig/*.pc |
9397 | 117 |
|
118 |
%changelog |
|
16029 | 119 |
* Wed Jul 15 2009 - [email protected] |
120 |
- Bump to 3.6.7. |
|
15910 | 121 |
* Tue Jun 16 2009 - [email protected] |
122 |
- Bump to 3.6.5. |
|
15723 | 123 |
* Tue May 05 2009 - [email protected] |
124 |
- Bump to 3.6.3 |
|
125 |
* Tue May 03 2008 - [email protected] |
|
15274 | 126 |
- Bump to 3.5.7. |
12257 | 127 |
* Tue May 06 2008 - [email protected] |
128 |
- Bump to 3.4.5. |
|
12162 | 129 |
* Fri Apr 18 2008 - [email protected] |
130 |
- Bump to 3.4.4. |
|
11831 | 131 |
* Mon Mar 10 2008 - [email protected] |
132 |
- Bump to 3.4.3. |
|
11332 | 133 |
* Tue Dec 18 2007 - [email protected] |
134 |
- Bump to 3.4.1. |
|
10514 | 135 |
* Tue Sep 18 2007 - [email protected] |
136 |
- Bump to 3.4.0. |
|
10407 | 137 |
* Thu Aug 30 2007 - [email protected] |
138 |
- Add intltoolize call to update intltool scripts. |
|
10367 | 139 |
* Thu Aug 23 2007 - [email protected] |
140 |
- Bump to 3.3.4. |
|
10231 | 141 |
* Mon Jul 30 2007 - [email protected] |
142 |
- Bump to 3.3.3. |
|
10208 | 143 |
* Tue Jul 24 2007 - [email protected] |
144 |
- Bump to 3.3.2. |
|
10070 | 145 |
* Mon Jun 18 2007 - [email protected] |
146 |
- Bump to 3.3.1. |
|
9993 | 147 |
* Wed Jun 06 2007 - [email protected] |
148 |
- Bump to 3.3.0. |
|
9954 | 149 |
* Mon May 28 2007 - [email protected] |
150 |
- Bump to 3.2.2. |
|
9823
3dac6125afff
* base-specs/glade.spec: Bump to 3.2.1, add --enable-gtk-doc.
halton
parents:
9543
diff
changeset
|
151 |
* Thu May 03 2007 - [email protected] |
3dac6125afff
* base-specs/glade.spec: Bump to 3.2.1, add --enable-gtk-doc.
halton
parents:
9543
diff
changeset
|
152 |
- Bump to 3.2.1. |
9826
5e5069de41f4
* base-specs/glade.spec: use %gtk_doc_option in configure so
halton
parents:
9823
diff
changeset
|
153 |
- Use %gtk_doc_option in configure |
9543 | 154 |
* Tue Mar 13 2007 - [email protected] |
155 |
- Bump to 3.2.0. Remove upstream patch, 01-Wall-remove. |
|
9449
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
156 |
* Tue Mar 06 2007 - [email protected] |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
157 |
- Add --disable-scrollkeeper when run ./configure |
015526c4e43b
* base-specs/glade.spec: Add --disable-scrollkeeper, update %files.
halton
parents:
9397
diff
changeset
|
158 |
- Update %files. |
9397 | 159 |
* Wed Feb 28 2007 - [email protected] |
160 |
- Bump to 3.1.5. |
|
161 |
- Add patch 01-Wall-remove.diff to fix bugzilla #412993. |
|
162 |
- Remove obsoleted patch 01-menu-entry.diff. |
|
163 |
* Tue Feb 13 2007 - [email protected] |
|
164 |
- Add Add l10n tarball. |
|
165 |
* Tue Dec 20 2005 - [email protected] |
|
166 |
- Bump to 2.12.1. |
|
167 |
* Tue Nov 29 2005 - laca.com |
|
168 |
- remove javahelp stuff |
|
169 |
* Tue Sep 27 2005 - [email protected] |
|
170 |
- Bump to 2.10.1. |
|
171 |
* Tue Jun 14 2005 - [email protected] |
|
172 |
- Bump to 2.10.0. |
|
173 |
* Fri Mar 11 2005 - [email protected] |
|
174 |
- 6227253 : Remove glade-faq*.omf |
|
175 |
* Fri Feb 25 2005 - [email protected] |
|
176 |
- Added dummy l10n help files to follow base bug updates |
|
177 |
* Mon Feb 14 2005 - [email protected] |
|
178 |
- Integrate docs tarball (glade-docs-0.1) from [email protected]. |
|
179 |
* Fri Nov 12 2004 - [email protected] |
|
180 |
- Added --libdir and --bindir to configure opts so they can be redirected |
|
181 |
on Solaris |
|
182 |
* Tue Sep 14 2004 - [email protected] |
|
183 |
- Added glade-03-g11n-potfiles.diff |
|
184 |
* Thu Jul 08 2004 - [email protected] |
|
185 |
- Updated l10n content to glade-l10n-po-1.2.tar.bz2 |
|
186 |
* Wed Jul 07 2004 - [email protected] |
|
187 |
- added "-j $CPUS" to make to speed up builds |
|
188 |
* Mon Jun 7 2004 - [email protected] |
|
189 |
- Add 'touch po/*.po' to use sun messages files |
|
190 |
- Add glade-02-g11n-linguas.diff to add zh_TW, zh_HK. |
|
191 |
* Fri May 21 2004 - [email protected] |
|
192 |
- Add back menu entry, and rename it to Interface Editor |
|
193 |
* Wed May 12 2004 - [email protected] |
|
194 |
- Updated l10n content to glade-l10n-po-1.1.tar.bz2 |
|
195 |
* Tue Apr 20 2004 - [email protected] |
|
196 |
- bump to 2.6.0 release |
|
197 |
- add main menu entry .desktop file |
|
198 |
* Sun Apr 18 2004 - [email protected] |
|
199 |
- enable javahelp conversion on Solaris |
|
200 |
* Thu Apr 01 2004 - [email protected] |
|
201 |
- javahelp conversion |
|
202 |
* Wed Mar 31 2004 - [email protected] |
|
203 |
- replace tar jxf with the more solaris friendly |
|
204 |
bzcat piped through tar |
|
205 |
* Mon Mar 29 2004 - [email protected] |
|
206 |
- Adding glade-l10n-po-1.0.tar.bz2 l10n content |
|
207 |
* Fri Mar 26 2004 - [email protected] |
|
208 |
- added $ACLOCAL_FLAGS to aclocal call, needed for Solaris. |
|
209 |
* Tue Mar 16 2004 - [email protected] |
|
210 |
- Remove the menu entry patch as %files does |
|
211 |
this for free. |
|
212 |
* Thu Nov 14 2003 - [email protected] |
|
213 |
- Bump to 2.0.1 tarball |
|
214 |
* Thu Nov 14 2003 - [email protected] |
|
215 |
- Remove the menu entry as per spec. |
|
216 |
* Fri Oct 31 2003 - [email protected] |
|
217 |
- Remove the Sun Supported part of the menu |
|
218 |
patch since we're removing the Extras menu. |
|
219 |
* Fri Aug 01 2003 - [email protected] |
|
220 |
- Add menu categorization |
|
221 |
* Tue Jul 22 2003 - [email protected] |
|
222 |
- Updated POTFILES.in |
|
223 |
* Wed Jul 09 2003 - [email protected] |
|
224 |
- Initial Sun Release |