]> git.draconx.ca Git - gob-dx.git/blob - gob2.spec.in
Replace gnulib patch with new common helper macro.
[gob-dx.git] / gob2.spec.in
1 %define  ver     @VERSION@
2 %define  rel     1
3 %define  prefix  /usr
4
5 Summary: GOB2, The GObject Builder
6 Name: gob2
7 Version: %ver
8 Release: %rel
9 Copyright: GPL
10 Group: Development/Tools
11 Source: gob2-%{ver}.tar.gz
12 Url: http://www.5z.com/jirka/linux.html#gob
13 BuildRoot: /var/tmp/gob2-%{ver}-root
14 Prefix: %prefix
15
16 %description
17 GOB is a simple preprocessor for making GObject objects (glib objects).
18 It makes objects from a single file which has inline C code so that
19 you don't have to edit the generated files.  Syntax is somewhat inspired
20 by java and yacc.  It supports generating C++ code
21
22 %changelog
23 * Fri Sep 28 2001  George Lebl <jirka@5z.com>
24 - Updated for gob2
25 * Tue Feb 7 2000  George Lebl <jirka@5z.com>
26 - added %{prefix}/share/aclocal/* to %files
27 * Tue Dec 14 1999  George Lebl <jirka@5z.com>
28 - added the examples dir to the %doc
29 * Mon Aug 16 1999  George Lebl <jirka@5z.com>
30 - added gob.spec.in file
31
32 %prep
33 %setup
34
35 %build
36 ./configure --prefix=%prefix
37
38 if [ "$SMP" != "" ]; then
39   (make "MAKE=make -k -j $SMP"; exit 0)
40   make
41 else
42   make
43 fi
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 make prefix=$RPM_BUILD_ROOT%{prefix} install
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(-, root, root)
55
56 %doc README AUTHORS COPYING NEWS TODO ChangeLog
57 %doc examples
58
59 %{prefix}/bin/*
60 %{prefix}/man/man1/*
61 %{prefix}/share/aclocal/*