author | dermotm |
Mon, 03 May 2004 01:08:22 +0000 | |
changeset 2619 | a032fc86f08a |
parent 2494 | 6b1189c3cc84 |
child 2736 | bd6e69980863 |
permissions | -rw-r--r-- |
160 | 1 |
Name: glib2 |
156 | 2 |
License: LGPL |
163 | 3 |
Group: System/Libraries |
2306 | 4 |
Version: 2.4.0 |
2619 | 5 |
Release: 9 |
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 |
2350 | 10 |
Source1: glib2-l10n-po-1.0.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 |
160 | 20 |
URL: http://www.gtk.org |
156 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
160 | 22 |
Docdir: %{_defaultdocdir}/doc |
156 | 23 |
AutoReqProv: on |
1080 | 24 |
Prereq: /sbin/ldconfig |
156 | 25 |
|
170 | 26 |
%define pkgconfig_version 0.15.0 |
1192 | 27 |
%define gtk_doc_version 1.1 |
170 | 28 |
|
802 | 29 |
Requires: aaa_base |
170 | 30 |
BuildRequires: pkgconfig >= %{pkgconfig_version} |
31 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
156 | 32 |
|
33 |
%description |
|
160 | 34 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data |
35 |
structure handling for C, portability wrappers, and interfaces for such |
|
36 |
runtime functionality as an event loop, threads, dynamic laoding, and an |
|
37 |
object system |
|
156 | 38 |
|
39 |
%package devel |
|
40 |
Summary: GIMP Toolkit and GIMP Drawing Kit support library |
|
160 | 41 |
Group: Low level core compatibility development library for GTK+ and GNOME |
191 | 42 |
Requires: %{name} = %{version} |
156 | 43 |
|
44 |
%description devel |
|
160 | 45 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data |
46 |
structure handling for C, portability wrappers, and interfaces for such |
|
47 |
runtime functionality as an event loop, threads, dynamic laoding, and an |
|
48 |
object system |
|
156 | 49 |
|
50 |
%prep |
|
51 |
%setup -q -n glib-%{version} |
|
1613 | 52 |
%patch1 -p1 |
1551 | 53 |
|
1507 | 54 |
bzcat %SOURCE1 | tar xvf - |
510 | 55 |
|
156 | 56 |
%build |
164 | 57 |
CFLAGS="$RPM_OPT_FLAGS" \ |
160 | 58 |
./configure --prefix=%{_prefix} \ |
164 | 59 |
--sysconfdir=%{_sysconfdir} |
156 | 60 |
make |
61 |
||
62 |
%install |
|
160 | 63 |
make DESTDIR=$RPM_BUILD_ROOT install |
1507 | 64 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
65 |
install -d $RPM_BUILD_ROOT%{_mandir}/man3 |
|
66 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
67 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
68 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
69 |
install --mode=0644 %SOURCE5 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
70 |
install --mode=0644 %SOURCE6 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
71 |
install --mode=0644 %SOURCE7 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
72 |
install --mode=0644 %SOURCE8 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
73 |
install --mode=0644 %SOURCE9 $RPM_BUILD_ROOT%{_mandir}/man3 |
|
1432 | 74 |
#Copy zh_HK from zh_TW |
75 |
#Fixes bug 4930405 |
|
1507 | 76 |
install -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES |
77 |
install --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/ |
|
1432 | 78 |
|
156 | 79 |
%clean |
80 |
rm -rf $RPM_BUILD_ROOT |
|
81 |
||
160 | 82 |
%post |
83 |
/sbin/ldconfig |
|
156 | 84 |
|
160 | 85 |
%postun |
86 |
/sbin/ldconfig |
|
156 | 87 |
|
88 |
%files |
|
89 |
%defattr(-,root,root) |
|
1058 | 90 |
%{_libdir}/lib*.so.* |
156 | 91 |
|
92 |
%files devel |
|
93 |
%defattr(-,root,root) |
|
168 | 94 |
%{_bindir}/* |
1058 | 95 |
%{_libdir}/lib*.so |
168 | 96 |
%{_includedir}/glib-2.0/* |
97 |
%{_libdir}/glib-2.0/include/*.h |
|
98 |
%{_libdir}/pkgconfig/*.pc |
|
99 |
%{_datadir}/aclocal/*.m4 |
|
100 |
%{_datadir}/glib-2.0/* |
|
101 |
%{_datadir}/gtk-doc/html/glib/* |
|
1432 | 102 |
%{_mandir}/man1/* |
103 |
%{_mandir}/man3/* |
|
156 | 104 |
|
105 |
%changelog |
|
2350 | 106 |
* Mon Mar 29 2004 - [email protected] |
107 |
- Updated l10n content to glib2-l10n-po-1.0.tar.bz2 |
|
108 |
||
2306 | 109 |
* Wed Mar 24 2004 - <[email protected]> |
110 |
- Bump to 2.4.0 |
|
111 |
||
112 |
* Wed Mar 10 2004 - <[email protected]> |
|
2170 | 113 |
- remove glib-02 patch (it wasn't being applied anyway). |
114 |
- bump to 2.3.6 |
|
115 |
||
1822
5038661790c1
Add patch to change '...' to '__VA_ARGS__' to build (gaim 0.75) on Solaris.
dc144907
parents:
1613
diff
changeset
|
116 |
* 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
|
117 |
- 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
|
118 |
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
|
119 |
|
1613 | 120 |
* Tue Feb 10 2004 - <[email protected]> |
121 |
- Bump to 2.3.2, l10n to 0.7 |
|
122 |
||
1432 | 123 |
* Mon Dec 15 2003 - <[email protected]> |
124 |
- update to 2.3.1 |
|
125 |
||
1186 | 126 |
* Sat Oct 04 2003 - <[email protected]> |
127 |
- update to 2.2.3 |
|
128 |
||
1058 | 129 |
* Thu Aug 14 2003 - <[email protected]> |
130 |
- move lib*.so to -devel, remove *.a, *.la |
|
131 |
||
912 | 132 |
* Fri Aug 01 2003 - <[email protected]> 2.2.2-1 |
133 |
||
134 |
* Wed Jul 25 2003 - <[email protected]> |
|
802 | 135 |
- add aaa_base dependency. Fixes postinstall script breakage |
136 |
during OS install. |
|
137 |
||
510 | 138 |
* Wed Jul 09 2003 - <[email protected]> |
139 |
- add in sun po files |
|
140 |
||
912 | 141 |
* Thu May 12 2003 - <[email protected]> |
160 | 142 |
- Initial spec file for glib2 |