]> git.draconx.ca Git - gob-dx.git/blob - gob.spec
Release 1.0.12
[gob-dx.git] / gob.spec
1 Summary:        GOB, The GTK+ Object Builder
2 Name:           gob
3 Version:        1.0.12
4 Release:        1
5 Copyright:      GPL
6 Group:          Development/Tools
7 Source:         %{name}-%{version}.tar.gz
8 Url:            http://www.5z.com/jirka/linux.html#gob
9 BuildRoot:      %{_tmppath}/%{name}-%{version}-root
10 Packager:       Gnome Packaging Project <http://developer.gnome.org/projects/gpp/>
11
12 %description
13 GOB is a simple preprocessor for making GTK+ objects.  It makes objects
14 from a single file which has inline C code so that you don't have to edit
15 the generated files.  Syntax is somewhat inspired by java and yacc.
16
17 %prep
18 %setup
19
20 %build
21 CFLAGS="$RPM_OPT_FLAGS" ./configure \
22     --prefix=%{_prefix} \
23     --sysconfdir=%{_sysconfdir} \
24     --bindir=%{_bindir} \
25     --libdir=%{_libdir} \
26     --includedir=%{_includedir} \
27     --datadir=%{_datadir} \
28     --mandir=%{_mandir} \
29     --infodir=%{_infodir} %{_target_platform}
30
31
32 make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 make prefix=$RPM_BUILD_ROOT%{_prefix} \
38     sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
39     bindir=$RPM_BUILD_ROOT%{_bindir} \
40     libdir=$RPM_BUILD_ROOT%{_libdir} \
41     includedir=$RPM_BUILD_ROOT%{_includedir} \
42     datadir=$RPM_BUILD_ROOT%{_datadir} \
43     mandir=$RPM_BUILD_ROOT%{_mandir} \
44     infodir=$RPM_BUILD_ROOT%{_infodir} install
45
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(-, root, root)
52
53 %doc README AUTHORS COPYING NEWS TODO ChangeLog
54 %doc examples
55
56 %{_bindir}/*
57 %{_mandir}/man1/*
58 %{_datadir}/aclocal/*
59
60
61 %changelog
62 * Wed Jun 27 2001 Spider <spider@darkmere>
63 - remake in style of gpp
64 - Get clean out path's and the rest. blah.
65
66 * Tue Feb 7 2000  George Lebl <jirka@5z.com>
67 - added %{prefix}/share/aclocal/* to %files
68
69 * Tue Dec 14 1999  George Lebl <jirka@5z.com>
70 - added the examples dir to the %doc
71
72 * Mon Aug 16 1999  George Lebl <jirka@5z.com>
73 - added gob.spec.in file