File gob2.spec of Package gob2

#
# spec file for package gob2 (Version 2.0.18)
#
# Copyright (c) 2011 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
Version:        2.0.18
Release:        1
Summary:        Simple Preprocessor to Write GObject objects
License:        GPLv2+
Group:          Development/Tools/GUI Builders
Url:            http://www.5z.com/jirka/gob.html
Source:         %{name}-%{version}.tar.bz2
BuildRequires:  bison flex glib2-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
GOB is a very simple preprocessor for making GObject objects with
inline C code so that generated files are not editted. Syntax is
inspired by java and yacc or lex.

%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 COPYING.generated-code README NEWS ChangeLog
%doc examples
%{_bindir}/*
%{_datadir}/aclocal/*.m4
%{_mandir}/man?/*.*

%changelog