160
|
1 |
Name: glib2
|
156
|
2 |
License: LGPL
|
163
|
3 |
Group: System/Libraries
|
1186
|
4 |
Version: 2.2.3
|
1204
|
5 |
Release: 1
|
156
|
6 |
Distribution: Mercury
|
575
|
7 |
Vendor: Sun Microsystems, Inc.
|
160
|
8 |
Summary: Low level core compatibility library for GTK+ and GNOME
|
156
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/glib/2.2/glib-%version.tar.bz2
|
510
|
10 |
Source1: glib-l10n-po.tar.bz2
|
160
|
11 |
URL: http://www.gtk.org
|
156
|
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
160
|
13 |
Docdir: %{_defaultdocdir}/doc
|
156
|
14 |
AutoReqProv: on
|
1080
|
15 |
Prereq: /sbin/ldconfig
|
156
|
16 |
|
170
|
17 |
%define pkgconfig_version 0.15.0
|
1192
|
18 |
%define gtk_doc_version 1.1
|
170
|
19 |
|
802
|
20 |
Requires: aaa_base
|
170
|
21 |
BuildRequires: pkgconfig >= %{pkgconfig_version}
|
|
22 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
156
|
23 |
|
|
24 |
%description
|
160
|
25 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data
|
|
26 |
structure handling for C, portability wrappers, and interfaces for such
|
|
27 |
runtime functionality as an event loop, threads, dynamic laoding, and an
|
|
28 |
object system
|
156
|
29 |
|
|
30 |
%package devel
|
|
31 |
Summary: GIMP Toolkit and GIMP Drawing Kit support library
|
160
|
32 |
Group: Low level core compatibility development library for GTK+ and GNOME
|
191
|
33 |
Requires: %{name} = %{version}
|
156
|
34 |
|
|
35 |
%description devel
|
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 |
%prep
|
|
42 |
%setup -q -n glib-%{version}
|
|
43 |
|
510
|
44 |
tar jxvf %SOURCE1
|
|
45 |
|
156
|
46 |
%build
|
164
|
47 |
CFLAGS="$RPM_OPT_FLAGS" \
|
160
|
48 |
./configure --prefix=%{_prefix} \
|
164
|
49 |
--sysconfdir=%{_sysconfdir}
|
156
|
50 |
make
|
|
51 |
|
|
52 |
%install
|
160
|
53 |
make DESTDIR=$RPM_BUILD_ROOT install
|
156
|
54 |
|
|
55 |
%clean
|
|
56 |
rm -rf $RPM_BUILD_ROOT
|
|
57 |
|
160
|
58 |
%post
|
|
59 |
/sbin/ldconfig
|
156
|
60 |
|
160
|
61 |
%postun
|
|
62 |
/sbin/ldconfig
|
156
|
63 |
|
|
64 |
%files
|
|
65 |
%defattr(-,root,root)
|
1058
|
66 |
%{_libdir}/lib*.so.*
|
156
|
67 |
|
|
68 |
%files devel
|
|
69 |
%defattr(-,root,root)
|
168
|
70 |
%{_bindir}/*
|
1058
|
71 |
%{_libdir}/lib*.so
|
168
|
72 |
%{_includedir}/glib-2.0/*
|
|
73 |
%{_libdir}/glib-2.0/include/*.h
|
|
74 |
%{_libdir}/pkgconfig/*.pc
|
|
75 |
%{_datadir}/aclocal/*.m4
|
|
76 |
%{_datadir}/glib-2.0/*
|
|
77 |
%{_datadir}/gtk-doc/html/glib/*
|
156
|
78 |
|
|
79 |
%changelog
|
1186
|
80 |
* Sat Oct 04 2003 - <[email protected]>
|
|
81 |
- update to 2.2.3
|
|
82 |
|
1058
|
83 |
* Thu Aug 14 2003 - <[email protected]>
|
|
84 |
- move lib*.so to -devel, remove *.a, *.la
|
|
85 |
|
912
|
86 |
* Fri Aug 01 2003 - <[email protected]> 2.2.2-1
|
|
87 |
|
|
88 |
* Wed Jul 25 2003 - <[email protected]>
|
802
|
89 |
- add aaa_base dependency. Fixes postinstall script breakage
|
|
90 |
during OS install.
|
|
91 |
|
510
|
92 |
* Wed Jul 09 2003 - <[email protected]>
|
|
93 |
- add in sun po files
|
|
94 |
|
912
|
95 |
* Thu May 12 2003 - <[email protected]>
|
160
|
96 |
- Initial spec file for glib2
|