
%define name oaf
%define version 0.5.1
%define release 1
%define prefix /usr
Summary : OAF is the new Object Activation Framework for GNOME.
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
OAF is the new Object Activation Framework for GNOME.

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

%description devel
Development files for applications that use oaf

%prep
rm -rf $RPM_BUILD_ROOT

%setup
./configure --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/etc/*
/usr/bin/*
/usr/share/*
/usr/lib/*.so.*
/usr/lib/*.sh


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

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


%changelog

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