Summary: GOB, The GTK+ Object Builder
Name: gob
Version: 1.0.12
Release: 1
Copyright: GPL
Group: Development/Tools
Source: %{name}-%{version}.tar.gz
Url: http://www.5z.com/jirka/linux.html#gob
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager: Gnome Packaging Project
%description
GOB is a simple preprocessor for making GTK+ objects. It makes objects
from a single file which has inline C code so that you don't have to edit
the generated files. Syntax is somewhat inspired by java and yacc.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--bindir=%{_bindir} \
--libdir=%{_libdir} \
--includedir=%{_includedir} \
--datadir=%{_datadir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} %{_target_platform}
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{_prefix} \
sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
bindir=$RPM_BUILD_ROOT%{_bindir} \
libdir=$RPM_BUILD_ROOT%{_libdir} \
includedir=$RPM_BUILD_ROOT%{_includedir} \
datadir=$RPM_BUILD_ROOT%{_datadir} \
mandir=$RPM_BUILD_ROOT%{_mandir} \
infodir=$RPM_BUILD_ROOT%{_infodir} install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README AUTHORS COPYING NEWS TODO ChangeLog
%doc examples
%{_bindir}/*
%{_mandir}/man1/*
%{_datadir}/aclocal/*
%changelog
* Wed Jun 27 2001 Spider
- remake in style of gpp
- Get clean out path's and the rest. blah.
* Tue Feb 7 2000 George Lebl
- added %{prefix}/share/aclocal/* to %files
* Tue Dec 14 1999 George Lebl
- added the examples dir to the %doc
* Mon Aug 16 1999 George Lebl
- added gob.spec.in file