author | yk150259 |
Fri, 17 Sep 2004 10:43:18 +0000 | |
changeset 3980 | b4a04c41bee6 |
parent 3858 | a0a00bd9bb27 |
child 4007 | 3cf8b6afa295 |
permissions | -rw-r--r-- |
160 | 1 |
Name: glib2 |
156 | 2 |
License: LGPL |
163 | 3 |
Group: System/Libraries |
2754 | 4 |
Version: 2.4.1 |
3858 | 5 |
Release: 21 |
1613 | 6 |
Distribution: Cinnabar |
575 | 7 |
Vendor: Sun Microsystems, Inc. |
160 | 8 |
Summary: Low level core compatibility library for GTK+ and GNOME |
2306 | 9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/glib/2.4/glib-%{version}.tar.bz2 |
3580 | 10 |
Source1: glib2-l10n-po-1.3.tar.bz2 |
1432 | 11 |
Source2: glib-genmarshal.1.gz |
12 |
Source3: glib-mkenums.1.gz |
|
13 |
Source4: glib-gettextize.1.gz |
|
14 |
Source5: gobject-query.1.gz |
|
15 |
Source6: libglib-2.0.3.gz |
|
16 |
Source7: libgmodule-2.0.3.gz |
|
17 |
Source8: libgobject-2.0.3.gz |
|
18 |
Source9: libgthread-2.0.3.gz |
|
1613 | 19 |
Patch1: glib-01-gettext-macro.diff |
3486 | 20 |
Patch2: glib-02-sigchild.diff |
3980
b4a04c41bee6
Updating glib2.spec to include glib-03-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
21 |
Patch3: glib-03-g11n-allinguas.diff |
160 | 22 |
URL: http://www.gtk.org |
156 | 23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
160 | 24 |
Docdir: %{_defaultdocdir}/doc |
156 | 25 |
AutoReqProv: on |
1080 | 26 |
Prereq: /sbin/ldconfig |
156 | 27 |
|
170 | 28 |
%define pkgconfig_version 0.15.0 |
1192 | 29 |
%define gtk_doc_version 1.1 |
170 | 30 |
|
802 | 31 |
Requires: aaa_base |
170 | 32 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
33 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
156 | 34 |
|
35 |
%description |
|
160 | 36 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data |
37 |
structure handling for C, portability wrappers, and interfaces for such |
|
38 |
runtime functionality as an event loop, threads, dynamic laoding, and an |
|
39 |
object system |
|
156 | 40 |
|
41 |
%package devel |
|
42 |
Summary: GIMP Toolkit and GIMP Drawing Kit support library |
|
160 | 43 |
Group: Low level core compatibility development library for GTK+ and GNOME |
191 | 44 |
Requires: %{name} = %{version} |
156 | 45 |
|
46 |
%description devel |
|
160 | 47 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data |
48 |
structure handling for C, portability wrappers, and interfaces for such |
|
49 |
runtime functionality as an event loop, threads, dynamic laoding, and an |
|
50 |
object system |
|
156 | 51 |
|
52 |
%prep |
|
53 |
%setup -q -n glib-%{version} |
|
1613 | 54 |
%patch1 -p1 |
3486 | 55 |
%patch2 -p1 |
3980
b4a04c41bee6
Updating glib2.spec to include glib-03-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
56 |
%patch3 -p1 |
1551 | 57 |
|
1507 | 58 |
bzcat %SOURCE1 | tar xvf - |
510 | 59 |
|
156 | 60 |
%build |
3263 | 61 |
%ifos linux |
62 |
if [ -x /usr/bin/getconf ]; then |
|
63 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
64 |
fi |
|
65 |
%else |
|
3846 | 66 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 67 |
%endif |
68 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
69 |
CPUS=1 |
|
70 |
fi |
|
71 |
||
164 | 72 |
CFLAGS="$RPM_OPT_FLAGS" \ |
160 | 73 |
./configure --prefix=%{_prefix} \ |
3628 | 74 |
--mandir=%{_mandir} \ |
3660 | 75 |
--sysconfdir=%{_sysconfdir} \ |
76 |
--enable-gtk-doc |
|
3263 | 77 |
make -j $CPUS |
156 | 78 |
|
79 |
%install |
|
160 | 80 |
make DESTDIR=$RPM_BUILD_ROOT install |
1507 | 81 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
82 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
|
83 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
84 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
85 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
86 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
87 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
88 |
install --mode=0644 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
89 |
install --mode=0644 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
90 |
install --mode=0644 %SOURCE9 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
1432 | 91 |
#Copy zh_HK from zh_TW |
92 |
#Fixes bug 4930405 |
|
1507 | 93 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
94 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
3628 | 95 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
1432 | 96 |
|
156 | 97 |
%clean |
98 |
rm -rf $RPM_BUILD_ROOT |
|
99 |
||
160 | 100 |
%post |
101 |
/sbin/ldconfig |
|
156 | 102 |
|
160 | 103 |
%postun |
104 |
/sbin/ldconfig |
|
156 | 105 |
|
106 |
%files |
|
107 |
%defattr(-,root,root) |
|
1058 | 108 |
%{_libdir}/lib*.so.* |
3628 | 109 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
156 | 110 |
|
111 |
%files devel |
|
112 |
%defattr(-,root,root) |
|
168 | 113 |
%{_bindir}/* |
1058 | 114 |
%{_libdir}/lib*.so |
168 | 115 |
%{_includedir}/glib-2.0/* |
116 |
%{_libdir}/glib-2.0/include/*.h |
|
117 |
%{_libdir}/pkgconfig/*.pc |
|
118 |
%{_datadir}/aclocal/*.m4 |
|
119 |
%{_datadir}/glib-2.0/* |
|
3628 | 120 |
%{_datadir}/gtk-doc/html/* |
1432 | 121 |
%{_mandir}/man1/* |
122 |
%{_mandir}/man3/* |
|
156 | 123 |
|
124 |
%changelog |
|
3980
b4a04c41bee6
Updating glib2.spec to include glib-03-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
125 |
* Thu Sep 16 2004 - [email protected] |
b4a04c41bee6
Updating glib2.spec to include glib-03-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
126 |
- Added glib-03-g11n-allinguas.diff to include hu lingua |
b4a04c41bee6
Updating glib2.spec to include glib-03-g11n-allinguas.diff patch
yk150259
parents:
3858
diff
changeset
|
127 |
|
3660 | 128 |
* Wed Aug 18 2004 - [email protected] |
129 |
- added --enable-gtk-doc |
|
130 |
||
3486 | 131 |
* Thu Aug 05 2004 - [email protected] |
132 |
- Add patch to fix glib get SIGCHLD everytime |
|
133 |
||
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
134 |
* 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
|
135 |
- Updated l10n content to glib2-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
|
136 |
|
3628 | 137 |
* Thu Jul 08 2004 - [email protected] |
138 |
- ported to rpm4/suse91 |
|
139 |
||
3263 | 140 |
* Wed Jul 07 2004 - [email protected] |
141 |
- added "-j $CPUS" to make to speed up builds |
|
142 |
||
2754 | 143 |
* Fri May 14 2004 - [email protected] |
144 |
- Bump to 2.4.1 |
|
145 |
||
2736
bd6e69980863
Updated all spec files to reflect 1.1 version l10n tarballs delivered into
damiend
parents:
2619
diff
changeset
|
146 |
* 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
|
147 |
- Updated l10n content to glib2-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
|
148 |
|
2350 | 149 |
* Mon Mar 29 2004 - [email protected] |
150 |
- Updated l10n content to glib2-l10n-po-1.0.tar.bz2 |
|
151 |
||
2306 | 152 |
* Wed Mar 24 2004 - <[email protected]> |
153 |
- Bump to 2.4.0 |
|
154 |
||
155 |
* Wed Mar 10 2004 - <[email protected]> |
|
2170 | 156 |
- remove glib-02 patch (it wasn't being applied anyway). |
157 |
- bump to 2.3.6 |
|
158 |
||
1822
5038661790c1
Add patch to change '...' to '__VA_ARGS__' to build (gaim 0.75) on Solaris.
dc144907
parents:
1613
diff
changeset
|
159 |
* Thu Feb 19 2004 - <[email protected]> |
5038661790c1
Add patch to change '...' to '__VA_ARGS__' to build (gaim 0.75) on Solaris.
dc144907
parents:
1613
diff
changeset
|
160 |
- Add patch for glib/gmessages.h to change '...' to '__VA_ARGS__' to build |
5038661790c1
Add patch to change '...' to '__VA_ARGS__' to build (gaim 0.75) on Solaris.
dc144907
parents:
1613
diff
changeset
|
161 |
on Solaris. May revisit to use '#ifdef __sun' |
5038661790c1
Add patch to change '...' to '__VA_ARGS__' to build (gaim 0.75) on Solaris.
dc144907
parents:
1613
diff
changeset
|
162 |
|
1613 | 163 |
* Tue Feb 10 2004 - <[email protected]> |
164 |
- Bump to 2.3.2, l10n to 0.7 |
|
165 |
||
1432 | 166 |
* Mon Dec 15 2003 - <[email protected]> |
167 |
- update to 2.3.1 |
|
168 |
||
1186 | 169 |
* Sat Oct 04 2003 - <[email protected]> |
170 |
- update to 2.2.3 |
|
171 |
||
1058 | 172 |
* Thu Aug 14 2003 - <[email protected]> |
173 |
- move lib*.so to -devel, remove *.a, *.la |
|
174 |
||
912 | 175 |
* Fri Aug 01 2003 - <[email protected]> 2.2.2-1 |
176 |
||
177 |
* Wed Jul 25 2003 - <[email protected]> |
|
802 | 178 |
- add aaa_base dependency. Fixes postinstall script breakage |
179 |
during OS install. |
|
180 |
||
510 | 181 |
* Wed Jul 09 2003 - <[email protected]> |
182 |
- add in sun po files |
|
183 |
||
912 | 184 |
* Thu May 12 2003 - <[email protected]> |
160 | 185 |
- Initial spec file for glib2 |