author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19838 | 42a3a4365a3b |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package glade |
|
3 |
# |
|
4 |
# Copyright (c) 2005 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 |
# |
|
543 | 8 |
Name: glade |
9 |
License: GPL |
|
10 |
Group: System/GUI/GNOME |
|
19405 | 11 |
Version: 2.10.0 |
12 |
Release: 1 |
|
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
543 | 15 |
Summary: GLADE User Interface Builder for GNOME |
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.10/%{name}-%{version}.tar.bz2 |
2829 | 17 |
Patch1: glade-01-menu-entry.diff |
543 | 18 |
URL: http://www.gnome.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_docdir}/doc |
|
21 |
Autoreqprov: on |
|
22 |
||
2521 | 23 |
%define scrollkeeper_version 0.3.14 |
19405 | 24 |
%define libgnomeui_version 2.9.0 |
25 |
%define libxml2_version 2.4.1 |
|
543 | 26 |
|
27 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
28 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
19405 | 29 |
BuildRequires: libxml2 >= %{libxml2_version} |
543 | 30 |
Requires: libgnomeui >= %{libgnomeui_version} |
31 |
||
32 |
%description |
|
33 |
Glade is a User Interface Builder for GTK+ and GNOME. This package contains GLADE for the GTK + 2.0 and GNOME 2.0 Platform. |
|
34 |
||
35 |
%prep |
|
36 |
%setup -q |
|
2829 | 37 |
%patch1 -p1 |
4455 | 38 |
|
543 | 39 |
%build |
3263 | 40 |
%ifos linux |
41 |
if [ -x /usr/bin/getconf ]; then |
|
42 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
43 |
fi |
|
44 |
%else |
|
3846 | 45 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 46 |
%endif |
47 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
48 |
CPUS=1 |
|
49 |
fi |
|
50 |
||
890 | 51 |
libtoolize --force |
19243 | 52 |
aclocal $ACLOCAL_FLAGS |
890 | 53 |
automake -a -c -f |
54 |
autoconf |
|
55 |
||
543 | 56 |
CFLAGS="$RPM_OPT_FLAGS" \ |
57 |
./configure \ |
|
58 |
--prefix=%{_prefix} \ |
|
4536 | 59 |
--bindir=%{_bindir} \ |
60 |
--libdir=%{_libdir} \ |
|
61 |
--includedir=%{_includedir} \ |
|
543 | 62 |
--sysconfdir=%{_sysconfdir} |
3263 | 63 |
make -j $CPUS |
543 | 64 |
|
65 |
%install |
|
66 |
make -i DESTDIR=$RPM_BUILD_ROOT install |
|
67 |
||
5224
bfe7c7e3564c
#6227253 : Added Programming/Games Sections to yelp and removed glade-faq*.omf
mattk
parents:
5152
diff
changeset
|
68 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/omf/glade-2/glade-faq-*.omf |
bfe7c7e3564c
#6227253 : Added Programming/Games Sections to yelp and removed glade-faq*.omf
mattk
parents:
5152
diff
changeset
|
69 |
|
543 | 70 |
%clean |
71 |
rm -rf $RPM_BUILD_ROOT |
|
72 |
||
73 |
%files |
|
74 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
75 |
%defattr (-, root, root) |
|
1405 | 76 |
%{_bindir}/* |
2521 | 77 |
%{_datadir}/applications |
1405 | 78 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
79 |
%{_datadir}/pixmaps/glade-2.png |
|
80 |
%{_datadir}/pixmaps/glade-2/*.png |
|
81 |
%{_datadir}/omf/glade-2 |
|
82 |
%{_datadir}/gnome/help/glade-2 |
|
83 |
%{_datadir}/glade-2 |
|
543 | 84 |
|
2341 | 85 |
%changelog -n glade |
19405 | 86 |
* Tue Jun 14 2005 - [email protected] |
87 |
- Bump to 2.10 |
|
88 |
||
5224
bfe7c7e3564c
#6227253 : Added Programming/Games Sections to yelp and removed glade-faq*.omf
mattk
parents:
5152
diff
changeset
|
89 |
* Fri Mar 11 2005 - [email protected] |
bfe7c7e3564c
#6227253 : Added Programming/Games Sections to yelp and removed glade-faq*.omf
mattk
parents:
5152
diff
changeset
|
90 |
- 6227253 : Remove glade-faq*.omf |
bfe7c7e3564c
#6227253 : Added Programming/Games Sections to yelp and removed glade-faq*.omf
mattk
parents:
5152
diff
changeset
|
91 |
|
5133 | 92 |
* Fri Feb 25 2005 - [email protected] |
93 |
- Added dummy l10n help files to follow base bug updates |
|
94 |
||
5087 | 95 |
* Mon Feb 14 2005 - [email protected] |
5084
d24d1d7d4f18
* glade.spec: Integrate docs tarball (glade-docs-0.1) from [email protected]
dc144907
parents:
5082
diff
changeset
|
96 |
- Integrate docs tarball (glade-docs-0.1) from [email protected]. |
d24d1d7d4f18
* glade.spec: Integrate docs tarball (glade-docs-0.1) from [email protected]
dc144907
parents:
5082
diff
changeset
|
97 |
|
4536 | 98 |
* Fri Nov 12 2004 - [email protected] |
99 |
- Added --libdir and --bindir to configure opts so they can be redirected |
|
100 |
on Solaris |
|
101 |
||
3923
02f734cc34d1
Added glade-03-g11n-potfiles.diff. Updated glade.spec.
yk150259
parents:
3858
diff
changeset
|
102 |
* Tue Sep 14 2004 - [email protected] |
02f734cc34d1
Added glade-03-g11n-potfiles.diff. Updated glade.spec.
yk150259
parents:
3858
diff
changeset
|
103 |
- Added glade-03-g11n-potfiles.diff |
02f734cc34d1
Added glade-03-g11n-potfiles.diff. Updated glade.spec.
yk150259
parents:
3858
diff
changeset
|
104 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
105 |
* 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
|
106 |
- Updated l10n content to glade-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
|
107 |
|
3263 | 108 |
* Wed Jul 07 2004 - [email protected] |
109 |
- added "-j $CPUS" to make to speed up builds |
|
110 |
||
3044 | 111 |
* Mon Jun 7 2004 - [email protected] |
112 |
- Add 'touch po/*.po' to use sun messages files |
|
113 |
- Add glade-02-g11n-linguas.diff to add zh_TW, zh_HK. |
|
114 |
||
2829 | 115 |
* Fri May 21 2004 - [email protected] |
116 |
- Add back menu entry, and rename it to Interface Editor |
|
117 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
118 |
* 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
|
119 |
- Updated l10n content to glade-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
|
120 |
|
2521 | 121 |
* Tue Apr 20 2004 - [email protected] |
122 |
- bump to 2.6.0 release |
|
123 |
- add main menu entry .desktop file |
|
124 |
||
2485 | 125 |
* Sun Apr 18 2004 - [email protected] |
126 |
- enable javahelp conversion on Solaris |
|
127 |
||
2362
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
128 |
* Thu Apr 01 2004 - [email protected] |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
129 |
- javahelp conversion |
ef2590f64b05
Javahelp conversion : surrounded by %ifos calls, until solaris specifics are resolved
mattk
parents:
2355
diff
changeset
|
130 |
|
2355 | 131 |
* Wed Mar 31 2004 - [email protected] |
132 |
- replace tar jxf with the more solaris friendly |
|
133 |
bzcat piped through tar |
|
134 |
||
2350 | 135 |
* Mon Mar 29 2004 - [email protected] |
136 |
- Adding glade-l10n-po-1.0.tar.bz2 l10n content |
|
137 |
||
2341 | 138 |
* Fri Mar 26 2004 - [email protected] |
139 |
- added $ACLOCAL_FLAGS to aclocal call, needed for Solaris. |
|
140 |
||
2228
982210024434
Correct typo in %changelog entry - 2003 -> 2004. No %changelog added
dc144907
parents:
2224
diff
changeset
|
141 |
* Tue Mar 16 2004 - [email protected] |
2224 | 142 |
- Remove the menu entry patch as %files does |
143 |
this for free. |
|
144 |
||
1404 | 145 |
* Thu Nov 14 2003 - [email protected] |
1406 | 146 |
- Bump to 2.0.1 tarball |
147 |
||
148 |
* Thu Nov 14 2003 - [email protected] |
|
1404 | 149 |
- Remove the menu entry as per spec. |
150 |
||
1371 | 151 |
* Fri Oct 31 2003 - [email protected] |
152 |
- Remove the Sun Supported part of the menu |
|
153 |
patch since we're removing the Extras menu. |
|
154 |
||
892 | 155 |
* Fri Aug 01 2003 - [email protected] |
156 |
- Add menu categorization |
|
157 |
||
723 | 158 |
* Tue Jul 22 2003 - [email protected] |
159 |
- Updated POTFILES.in |
|
160 |
||
543 | 161 |
* Wed Jul 09 2003 - [email protected] |
162 |
- Initial Sun Release |