X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/714b58ab4606ed4d40cec3702cb378938f8c883f..7231d76fbf4ae0b501af648e1216b88714aa7353:/gob2.spec.in diff --git a/gob2.spec.in b/gob2.spec.in new file mode 100644 index 0000000..c90c857 --- /dev/null +++ b/gob2.spec.in @@ -0,0 +1,61 @@ +%define ver @VERSION@ +%define rel SNAP +%define prefix /usr + +Summary: GOB2, The GObject Builder +Name: gob2 +Version: %ver +Release: %rel +Copyright: GPL +Group: Development/Tools +Source: gob2-%{ver}.tar.gz +Url: http://www.5z.com/jirka/linux.html#gob +BuildRoot: /var/tmp/gob2-%{ver}-root +Prefix: %prefix + +%description +GOB is a simple preprocessor for making GObject objects (glib 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. It supports generating C++ code + +%changelog +* Fri Sep 28 2001 George Lebl +- Updated for gob2 +* Tue Feb 7 2000 George Lebl +- added %{prefix}/share/aclocal/* to %files +* Tue Dec 14 1999 George Lebl +- added the examples dir to the %doc +* Mon Aug 16 1999 George Lebl +- added gob.spec.in file + +%prep +%setup + +%build +./configure --prefix=%prefix + +if [ "$SMP" != "" ]; then + (make "MAKE=make -k -j $SMP"; exit 0) + make +else + make +fi + +%install +rm -rf $RPM_BUILD_ROOT + +make prefix=$RPM_BUILD_ROOT%{prefix} install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) + +%doc README AUTHORS COPYING NEWS TODO ChangeLog +%doc examples + +%{prefix}/bin/* +%{prefix}/man/man1/* +%{prefix}/share/aclocal/*