SPEC file for liboaf



Here's a new SPEC file for liboaf:

%define name oaf
%define version 0.3.0
%define release 1
%define prefix /usr

Summary: OAF library

Name: %{name}
Version: %{version}
Release: %{release}
Group: X11/Libraries
Copyright: GPL

Source: ftp://ftp.gnome.org/pub/GNOME/unstable/sources/oaf/oaf-%{version}.tar.gz
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root

%description
A library that ...

%package devel
Summary: Libraries, includes, etc to develop liboaf applications
Group: X11/Libraries
Requires: liboaf

%description devel
Libraries, include files, etc you can use to develop liboaf applications.

%prep

%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix} --enable-static
make

%install
if [ -d $RPM_BUILD_ROOT ]; then rm -r $RPM_BUILD_ROOT; fi
mkdir -p $RPM_BUILD_ROOT%{prefix}
make prefix=$RPM_BUILD_ROOT%{prefix} install

%files
%defattr(-,root,root)
%doc README
%{prefix}/bin/oaf-client
%{prefix}/bin/oaf-run-query
%{prefix}/bin/oafd
%{prefix}/lib/lib*.so.*
%{prefix}/share/aclocal/*
%{prefix}/share/idl/*
%{prefix}/share/oaf/*

%files devel
%defattr(-,root,root)
%{prefix}/bin/oaf-config
%{prefix}/lib/lib*.so
%{prefix}/lib/*a
%{prefix}/lib/*.sh
%{prefix}/include/liboaf/*

%clean
rm -r $RPM_BUILD_ROOT

%changelog
* Sun May 29 2000 John Gotts <jgotts@linuxsavvy.com>
- New SPEC file; the maintainer can add more descriptive information.

--
John GOTTS <jgotts@linuxsavvy.com>  http://www.linuxsavvy.com/staff/jgotts




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]