Name: glib2
License: LGPL
Group: System/Libraries
Version: 2.2.1
Release: 1
Distribution: Mercury
Vendor: Sun Microsystems Inc.
Summary: Low level core compatibility library for GTK+ and GNOME
Source: http://ftp.gnome.org/pub/GNOME/sources/glib/2.2/glib-%version.tar.bz2
URL: http://www.gtk.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}/doc
AutoReqProv: on
BuildRequires: pkgconfig
BuildRequires: gtk-doc
%description
Glib is the base compatibility library for GTK+ and GNOME. It provides data
structure handling for C, portability wrappers, and interfaces for such
runtime functionality as an event loop, threads, dynamic laoding, and an
object system
%package devel
Summary: GIMP Toolkit and GIMP Drawing Kit support library
Group: Low level core compatibility development library for GTK+ and GNOME
Requires: %{name} = %{version}-%{release}
%description devel
Glib is the base compatibility library for GTK+ and GNOME. It provides data
structure handling for C, portability wrappers, and interfaces for such
runtime functionality as an event loop, threads, dynamic laoding, and an
object system
%prep
%setup -q -n glib-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir}
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%{_prefix}/lib/lib*.so.*
%files devel
%defattr(-,root,root)
%{_prefix}/bin/*
%{_prefix}/lib/*a
%{_prefix}/include/glib-2.0/*.h
%{_prefix}/lib/glib-2.0/include/*.h
%{_prefix}/lib/pkgconfig/*.pc
%{_prefix}/share/aclocal/*.m4
%{_prefix}/share/glib-2.0/*
%{_prefix}/share/gtk-doc/html/glib/*
%changelog
* Thu May 12 2003 - [email protected]
- Initial spec file for glib2