
%define name bonobo
%define version 0.18
%define release 1
%define prefix /usr
Summary : Bonobo is a set of language and system independant CORBA interface
Name: %{name}
Version: %{version}
Release: %{release}
Copyright: GPL
Distribution : Build for Red Hat 6.2
Vendor: Boubouline Software
Packager: Okki <okki@wanadoo.fr>
URL: http://www.helixcode.com/apps/evolution.php3
Group: System Environment/Libraries
Source: %{name}-%{version}-%{release}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Prefix: %{prefix}
Docdir: %{prefix}/doc

%description
Bonobo is a set of language and system independant CORBA interfaces
for creating reusable components (controls) and creating compound
documents.

The Bonobo distribution includes a Gtk+ based implementation of the
Bonobo interfaces, enabling developers to create reusable
components and applications that can be used to form more complex
documents.

%package devel
Summary : Development files for applications that use bonobo
Group: Development/Libraries

%description devel
Development files for applications that use bonobo

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --with-oaf --prefix=/usr

%build
make RPM_OPT_FLAGS="$RPM_OPT_FLAGS"

%install
make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT
rm -rf $RPM_BUILD_DIR/*

%files
%defattr (-,root,root)
%doc ABOUT-NLS AUTHORS COPYING* ChangeLog INSTALL NEWS README TODO

/usr/share/*
/usr/bin/*
/usr/lib/*.so.*
/usr/lib/*.sh


%files devel
%defattr(-,root,root)

/usr/include/*
/usr/lib/*.a
/usr/lib/*.la
/usr/lib/*.so


%changelog

* Mon Aug 28 2000 Georges Seguin okki@wanadoo.fr 
- First RPM
