160
|
1 |
Name: glib2
|
156
|
2 |
License: LGPL
|
163
|
3 |
Group: System/Libraries
|
156
|
4 |
Version: 2.2.1
|
|
5 |
Release: 1
|
|
6 |
Distribution: Mercury
|
|
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
|
160
|
10 |
URL: http://www.gtk.org
|
156
|
11 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
160
|
12 |
Docdir: %{_defaultdocdir}/doc
|
156
|
13 |
AutoReqProv: on
|
|
14 |
|
160
|
15 |
BuildRequires: pkgconfig
|
|
16 |
BuildRequires: gtk-doc
|
156
|
17 |
|
|
18 |
%description
|
160
|
19 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data
|
|
20 |
structure handling for C, portability wrappers, and interfaces for such
|
|
21 |
runtime functionality as an event loop, threads, dynamic laoding, and an
|
|
22 |
object system
|
156
|
23 |
|
|
24 |
%package devel
|
|
25 |
Summary: GIMP Toolkit and GIMP Drawing Kit support library
|
160
|
26 |
Group: Low level core compatibility development library for GTK+ and GNOME
|
156
|
27 |
Requires: %{name} = %{version}-%{release}
|
|
28 |
|
|
29 |
%description devel
|
160
|
30 |
Glib is the base compatibility library for GTK+ and GNOME. It provides data
|
|
31 |
structure handling for C, portability wrappers, and interfaces for such
|
|
32 |
runtime functionality as an event loop, threads, dynamic laoding, and an
|
|
33 |
object system
|
156
|
34 |
|
|
35 |
%prep
|
|
36 |
%setup -q -n glib-%{version}
|
|
37 |
|
|
38 |
%build
|
164
|
39 |
CFLAGS="$RPM_OPT_FLAGS" \
|
160
|
40 |
./configure --prefix=%{_prefix} \
|
164
|
41 |
--sysconfdir=%{_sysconfdir}
|
156
|
42 |
make
|
|
43 |
|
|
44 |
%install
|
160
|
45 |
make DESTDIR=$RPM_BUILD_ROOT install
|
156
|
46 |
|
|
47 |
%clean
|
|
48 |
rm -rf $RPM_BUILD_ROOT
|
|
49 |
|
160
|
50 |
%post
|
|
51 |
/sbin/ldconfig
|
156
|
52 |
|
160
|
53 |
%postun
|
|
54 |
/sbin/ldconfig
|
156
|
55 |
|
|
56 |
%files
|
|
57 |
%defattr(-,root,root)
|
160
|
58 |
%{_prefix}/lib/lib*.so.*
|
156
|
59 |
|
|
60 |
%files devel
|
|
61 |
%defattr(-,root,root)
|
160
|
62 |
%{_prefix}/bin/*
|
|
63 |
%{_prefix}/lib/*a
|
|
64 |
%{_prefix}/include/glib-2.0/*.h
|
|
65 |
%{_prefix}/lib/glib-2.0/include/*.h
|
|
66 |
%{_prefix}/lib/pkgconfig/*.pc
|
|
67 |
%{_prefix}/share/aclocal/*.m4
|
|
68 |
%{_prefix}/share/glib-2.0/*
|
164
|
69 |
%{_prefix}/share/gtk-doc/html/glib/*
|
156
|
70 |
|
|
71 |
%changelog
|
|
72 |
* Thu May 12 2003 - [email protected]
|
160
|
73 |
- Initial spec file for glib2
|