libglade.spec
author mattk
Wed, 18 Feb 2004 17:30:10 +0000
changeset 1791 853cbcfff32c
parent 1609 5d00c5c6d7ee
child 1876 0b4928f1eef0
permissions -rw-r--r--
Bump to 2.3.2

Name:         libglade
License:      LGPL
Group:        System/Libraries/GNOME
Version:      2.3.2
Release:      4
Distribution: Cinnabar
Vendor:       Sun Microsystems, Inc.
Summary:      Library for loading GLADE interfaces at runtime
Source:       http://ftp.gnome.org/pub/GNOME/sources/libglade/2.0/libglade-%{version}.tar.bz2
Source1:      libglade-2.0.3.gz
URL:          http://www.daa.com.au/~james/gnome/
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Docdir:       %{_defaultdocdir}/doc
Autoreqprov:  on
Prereq:       /sbin/ldconfig

%define gtk2_version 2.3.0
%define libxml2_version 2.4.23
%define python_xml_version 2.2.1 

Requires: gtk2 >= %{gtk2_version}
Requires: libxml2 >= %{libxml2_version}
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: libxml2-devel >= %{libxml2_version}
BuildRequires: python-xml >= %{python_xml_version}

%description
This library allows you to load glade interface files in a program at runtime.

%package devel
Summary:      Development library for loading GLADE interfaces at runtime
Group:        Development/Libraries/GNOME
Requires:     %{name} = %{version}
Requires:     gtk2-devel >= %{gtk2_version}
Requires:     libxml2-devel >= %{libxml2_version}
Requires:     python-xml >= %{python_xml_version}

%description devel
This library allows you to load glade interface files in a program at runtime.

%prep
%setup -q

%build
CFLAGS="$RPM_OPT_FLAGS"				\
./configure --prefix=%{_prefix}			\
            --sysconfdir=%{_sysconfdir}
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
install -d $RPM_BUILD_ROOT%{_mandir}/man3
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man3

%clean
rm -rf $RPM_BUILD_ROOT

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files 
%{_libdir}/lib*.so.*

%files devel
%defattr(-, root, root)
%{_bindir}/*
%{_libdir}/lib*.so
%{_includedir}/libglade-2.0/
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html/libglade
%{_datadir}/xml/libglade
%{_mandir}/man3/*

%changelog
* Wed Feb 18 2004 - <[email protected]>
- Bump to 2.3.2

* Mon Dec 15 2003 - <[email protected]>
- Bump to 2.3.1

* Mon Oct 6 2003 - <[email protected]>
- upped some dep version numbers

* Thu Aug 14 2003 - <[email protected]>
- move lib*.so to -devel, remove *.a, *.la

* Tue May 13 2003 - [email protected]
- Initial Sun Spec File