@ -1,11 +1,11 @@
%define __libtoolize :
%define __libtoolize :
%define libxml2_version 2.4.12-0.7
%define libxml2_version 2.4.12-0.7
%define gtk2_version 1.3.1 2.9 0
%define gtk2_version 2.0
Summary: The libglade library for loading user interfaces.
Summary: The libglade library for loading user interfaces.
Name: libglade2
Name: libglade2
Version: 1.99.5. 90
Version: 1.99.9
Release: 1
Release: 1
Copyright: LGPL
Copyright: LGPL
Group: System Environment/Libraries
Group: System Environment/Libraries
@ -14,11 +14,13 @@ Source2: fixed-ltmain.sh
URL: http://www.gnome.org
URL: http://www.gnome.org
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRoot: /var/tmp/%{name}-%{version}-root
## Patch: libglade-1.99.2.90-nogtkdoc.patch
Patch: libglade-1.99.2.90-nogtkdoc.patch
Requires: libxml2 >= %{libxml2_version}
Requires: libxml2 >= %{libxml2_version}
BuildRequires: libxml2-devel >= %{libxml2_version}
BuildRequires: libxml2-devel >= %{libxml2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: automake
BuildRequires: autoconf252
%description
%description
Libglade is a small library that allows a program to load its user
Libglade is a small library that allows a program to load its user
@ -46,15 +48,24 @@ that you can use to develop libglade applications.
%prep
%prep
%setup -q -n libglade-%{version}
%setup -q -n libglade-%{version}
## %patch -p1 -b .nogtkdoc
%patch -p1 -b .nogtkdoc
## autoconf
## if we add a --disable-gtk-doc upstream or fix the need-an-x-display problem
## we can get rid of this. remove automake build requires too
libtoolize --copy --force
autoheader-2.52
aclocal
automake
autoconf-2.52
%build
%build
rm ltmain.sh && cp %{SOURCE2} ltmain.sh
rm ltmain.sh && cp %{SOURCE2} ltmain.sh
%configure
%configure --disable-gtk-doc
make %{?_smp_mflags}
make %{?_smp_mflags}
%install
%install
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT
%makeinstall
%makeinstall
@ -63,7 +74,6 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%files
%defattr(-, root, root)
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING
%doc AUTHORS ChangeLog NEWS README COPYING
@ -80,6 +90,28 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/gtk-doc/html/*
%{_datadir}/gtk-doc/html/*
%changelog
%changelog
* Mon Mar 11 2002 Alex Larsson <alexl@redhat.com>
- Update to 1.99.9
* Mon Feb 25 2002 Alex Larsson <alexl@redhat.com>
- Bump for rebuild
* Thu Feb 21 2002 Alex Larsson <alexl@redhat.com>
- Bump for rebuild
* Tue Feb 19 2002 Alex Larsson <alexl@redhat.com>
- Add horrible buildroot check hacks. Require new Gtk+.
* Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
- rebuild for new gtk
* Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
- Rebuild against new GTK+
* Tue Jan 22 2002 Havoc Pennington <hp@redhat.com>
- put "nogtkdoc" patch back, it avoids X display requirement
- automake14
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
- 1.99.5.90 snap
- 1.99.5.90 snap
- comment out "nogtkdoc" patch, don't run autoconf
- comment out "nogtkdoc" patch, don't run autoconf