File gob2.spec of Package gob2

#
# spec file for package gob2 (Version 2.0.15)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           gob2
BuildRequires:  bison flex glib2-devel
%define prefix /usr
License:        GPL v2 or later
Group:          Development/Tools/GUI Builders
AutoReqProv:    on
Version:        2.0.15
Release:        1
Summary:        GOB2, The GObject Builder
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Url:            http://www.5z.com/jirka/gob.html

%description
GOB is a simple preprocessor for making GObject objects (glib2
objects). It makes objects from a single file with inline C code so
that you do not have to edit the generated files.  Syntax is somewhat
inspired by Java and yacc.  It supports generating C++ code.



Authors:
--------
    George Lebl <jirka@5z.com>

%prep
%setup
rm src/lexer.c

%build
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{prefix} --mandir=%{_mandir} --infodir=%{_infodir}
make

%install
make install DESTDIR=$RPM_BUILD_ROOT
rm examples/Makefile*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README NEWS ChangeLog
%doc examples
%{prefix}/bin/*
%{prefix}/share/aclocal/*.m4
%_mandir/*/*.*

%changelog
* Fri Feb 01 2008 rodrigo@suse.de
- Update to version 2.0.15:
  * Fix --file-sep usage with respect to private headers
  * Don't use /dev/null to help portability on non-unix
  * Fix segfault on bad include statement (debian bug #443907)
  * Fix my-person.gob example
* Fri Mar 30 2007 ro@suse.de
- added flex,bison to buildreq
* Mon Mar 06 2006 sbrabec@suse.cz
- Removed bundled lexer.c (#151087).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 17 2006 lmichnovic@suse.cz
- Updated to version 2.0.14
* Wed Aug 03 2005 sbrabec@suse.cz
- Updated to version 2.0.12.
* Mon Feb 21 2005 sbrabec@suse.cz
- Fixed files owner.
* Mon Feb 21 2005 sbrabec@suse.cz
- Updated to version 2.0.11.
* Mon Mar 22 2004 sbrabec@suse.cz
- Fixed underquoted definition (#36604).
- Added gnome-filesystem to neededforbuild.
* Tue Jul 22 2003 hhetter@suse.de
- fix PKG_CONFIG_PATH
* Mon May 26 2003 sbrabec@suse.cz
- Initial SuSE version of GNOME2 port.
openSUSE Build Service is sponsored by