File gob2.spec of Package gob2

#
# spec file for package gob2 (Version 2.0.16)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           gob2
BuildRequires:  bison flex glib2-devel
License:        GPL v2 or later
Group:          Development/Tools/GUI Builders
Version:        2.0.16
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
%configure
make

%install
%makeinstall
rm examples/Makefile*

%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc AUTHORS COPYING README NEWS ChangeLog
%doc examples
%{_bindir}/*
%{_datadir}/aclocal/*.m4
%{_mandir}/man?/*.*

%changelog
openSUSE Build Service is sponsored by