%define url_ver %(echo %{version} | cut -d. -f1,2) Summary: GTK+ Object Builder Name: gob2 Version: 2.0.19 Release: %mkrel 2 License: GPLv2+ Group: Development/GNOME and GTK+ Source0: http://download.gnome.org/sources/%{name}/%{url_ver}/%{name}-%{version}.tar.xz URL: http://www.jirka.org/gob.html BuildRequires: flex BuildRequires: libglib2.0-devel %description GOB2 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 -q %build %configure2_5x %make %install %makeinstall_std %files %doc README AUTHORS NEWS TODO ChangeLog %doc examples %{_bindir}/* %{_mandir}/man1/* %{_datadir}/aclocal/* %changelog * Sat Jan 12 2013 umeabot <umeabot> 2.0.19-2.mga3 + Revision: 352397 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild + tv <tv> - fix URL * Wed Dec 19 2012 ovitters <ovitters> 2.0.19-1.mga3 + Revision: 332808 - new version 2.0.19 - switch to xz tarballs * Sun Jan 22 2012 kamil <kamil> 2.0.18-2.mga2 + Revision: 199591 - update SOURCE - clean .spec * Sun Jan 23 2011 pterjan <pterjan> 2.0.18-1.mga1 + Revision: 35499 - imported package gob2