File gob2.spec of Package gob2
#
# spec file for package gob2
#
# Copyright (c) 2013 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/
#
Name: gob2
Version: 2.0.20
Release: 0
Summary: Simple Preprocessor to Write GObject objects
License: GPL-2.0+
Group: Development/Tools/GUI Builders
Url: http://www.5z.com/jirka/gob.html
Source: http://download.gnome.org/sources/gob2/2.0/%{name}-%{version}.tar.xz
BuildRequires: bison
BuildRequires: flex
BuildRequires: glib2-devel >= 2.4.0
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}/gob2
%{_datadir}/aclocal/gob2.m4
%{_mandir}/man1/gob2.1%{?ext_man}
%changelog