You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
155 lines
4.3 KiB
155 lines
4.3 KiB
%define __libtoolize :
|
|
|
|
%define libxml2_version 2.4.12-0.7
|
|
%define gtk2_version 1.3.12.90
|
|
|
|
Summary: The libglade library for loading user interfaces.
|
|
Name: libglade2
|
|
Version: 1.99.5.90
|
|
Release: 1
|
|
Copyright: LGPL
|
|
Group: System Environment/Libraries
|
|
Source: libglade-%{version}.tar.gz
|
|
Source2: fixed-ltmain.sh
|
|
URL: http://www.gnome.org
|
|
BuildRoot: /var/tmp/%{name}-%{version}-root
|
|
|
|
## Patch: libglade-1.99.2.90-nogtkdoc.patch
|
|
|
|
Requires: libxml2 >= %{libxml2_version}
|
|
BuildRequires: libxml2-devel >= %{libxml2_version}
|
|
BuildRequires: gtk2-devel >= %{gtk2_version}
|
|
|
|
%description
|
|
Libglade is a small library that allows a program to load its user
|
|
interface from am XML description at runtime. Libglade uses the XML
|
|
file format used by the GLADE user interface builder GLADE, so
|
|
libglade acts as an alternative to GLADE's code generation
|
|
approach. Libglade also provides a simple interface for connecting
|
|
handlers to the various signals in the interface (on platforms where
|
|
the gmodule library works correctly, it is possible to connect all the
|
|
handlers with a single function call). Once the interface has been
|
|
instantiated, libglade gives no overhead, so other than the short
|
|
initial interface loading time, there is no performance tradeoff.
|
|
|
|
%package devel
|
|
Summary: The files needed for libglade application development.
|
|
Group: Development/Libraries
|
|
Requires: %name = %{PACKAGE_VERSION}
|
|
Requires: libxml2-devel >= %{libxml2_version}
|
|
Requires: gtk2-devel >= %{gtk2_version}
|
|
Conflicts: libglade < 0.17
|
|
|
|
%description devel
|
|
The libglade-devel package contains the libraries and include files
|
|
that you can use to develop libglade applications.
|
|
|
|
%prep
|
|
%setup -q -n libglade-%{version}
|
|
## %patch -p1 -b .nogtkdoc
|
|
## autoconf
|
|
|
|
%build
|
|
rm ltmain.sh && cp %{SOURCE2} ltmain.sh
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc AUTHORS ChangeLog NEWS README COPYING
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files devel
|
|
%defattr(-, root, root)
|
|
%doc test-libglade.c
|
|
%{_bindir}/*
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/*a
|
|
%{_libdir}/pkgconfig/*
|
|
%{_includedir}/*
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
%changelog
|
|
* Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
|
|
- 1.99.5.90 snap
|
|
- comment out "nogtkdoc" patch, don't run autoconf
|
|
|
|
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
|
|
- new 1.99.4.91 snap with Jacob's fixes, he
|
|
assures me we are 1.99.4.90 ABI-compatible
|
|
|
|
* Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
|
|
- new 1.99.4.90 snap, gtk 1.3.11
|
|
|
|
* Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
|
|
- new snap, rebuild on gtk 1.3.10
|
|
|
|
* Sat Oct 6 2001 Havoc Pennington <hp@redhat.com>
|
|
- new snap, add hack to avoid trying to build docs
|
|
- add the ltmain.sh hack to avoid relinking
|
|
|
|
* Mon Sep 24 2001 Havoc Pennington <hp@redhat.com>
|
|
- new snap
|
|
|
|
* Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
|
|
- convert libglade rpm to libglade2 rpm, initial build of libglade2
|
|
|
|
* Mon Aug 20 2001 Jonathan Blandford <jrb@redhat.com>
|
|
- Escape strings, #51966
|
|
|
|
* Sun Jul 22 2001 Havoc Pennington <hp@redhat.com>
|
|
- add build requires, bug #49508
|
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
- Bump release + rebuild.
|
|
|
|
* Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com>
|
|
- New Version.
|
|
|
|
* Thu Mar 01 2001 Owen Taylor <otaylor@redhat.com>
|
|
- Rebuild for GTK+-1.2.9 include paths
|
|
|
|
* Thu Feb 08 2001 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
- add libtoolize to make porting to new archs easy
|
|
|
|
* Fri Dec 29 2000 Matt Wilson <msw@redhat.com>
|
|
- 0.14
|
|
- added patch for gtk-doc scanner linkage
|
|
|
|
* Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com>
|
|
- Up Epoch and release
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
- automatic rebuild
|
|
|
|
* Thu Jun 29 2000 Owen Taylor <otaylor@redhat.com>
|
|
- specfile fixes
|
|
|
|
* Wed May 31 2000 Owen Taylor <otaylor@redhat.com>
|
|
- Upgraded to libglade-0.13
|
|
- Use %makeinstall, since that is required when %configure is used.
|
|
|
|
* Fri May 19 2000 Owen Taylor <otaylor@redhat.com>
|
|
- Upgraded to libglade-0.12
|
|
|
|
* Tue Sep 07 1999 Elliot Lee <sopwith@redhat.com>
|
|
- Updated RHL 6.1 package to libglade-0.5
|
|
|
|
* Sun Nov 1 1998 James Henstridge <james@daa.com.au>
|
|
|
|
- Updated the dependencies of the devel package, so users must have gtk+-devel.
|
|
|
|
* Sun Oct 25 1998 James Henstridge <james@daa.com.au>
|
|
|
|
- Initial release 0.0.1
|