X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/e10d6e307623d0952f6e1f5d9fee8720ddab4808..2753ff6cefbe916211d543f1029879e2a075d111:/gob.spec
diff --git a/gob.spec b/gob.spec
index d1a0ba9..dcf1b47 100644
--- a/gob.spec
+++ b/gob.spec
@@ -1,46 +1,48 @@
-%define ver 0.92.2
-%define rel 1
-%define prefix /usr
-
-Summary: GOB, The GTK+ Object Builder
-Name: gob
-Version: %ver
-Release: %rel
-Copyright: GPL
-Group: Development/Tools
-Source: gob-%{ver}.tar.gz
-Url: http://www.5z.com/jirka/linux.html#gob
-BuildRoot: /var/tmp/gob-%{ver}-root
-Prefix: %prefix
+Summary: GOB, The GTK+ Object Builder
+Name: gob
+Version: 1.0.10
+Release: 1
+Copyright: GPL
+Group: Development/Tools
+Source: %{name}-%{version}.tar.gz
+Url: http://www.5z.com/jirka/linux.html#gob
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
+Packager: Gnome Packaging Project
%description
GOB 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.
-%changelog
-* 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
+CFLAGS="$RPM_OPT_FLAGS" ./configure \
+ --prefix=%{_prefix} \
+ --sysconfdir=%{_sysconfdir} \
+ --bindir=%{_bindir} \
+ --libdir=%{_libdir} \
+ --includedir=%{_includedir} \
+ --datadir=%{_datadir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir} %{_target_platform}
+
-if [ "$SMP" != "" ]; then
- (make "MAKE=make -k -j $SMP"; exit 0)
- make
-else
- make
-fi
+make
%install
rm -rf $RPM_BUILD_ROOT
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+make prefix=$RPM_BUILD_ROOT%{_prefix} \
+ sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
+ bindir=$RPM_BUILD_ROOT%{_bindir} \
+ libdir=$RPM_BUILD_ROOT%{_libdir} \
+ includedir=$RPM_BUILD_ROOT%{_includedir} \
+ datadir=$RPM_BUILD_ROOT%{_datadir} \
+ mandir=$RPM_BUILD_ROOT%{_mandir} \
+ infodir=$RPM_BUILD_ROOT%{_infodir} install
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -51,5 +53,21 @@ rm -rf $RPM_BUILD_ROOT
%doc README AUTHORS COPYING NEWS TODO ChangeLog
%doc examples
-%{prefix}/bin/*
-%{prefix}/man/man1/*
+%{_bindir}/*
+%{_mandir}/man1/*
+%{_datadir}/aclocal/*
+
+
+%changelog
+* Wed Jun 27 2001 Spider
+- remake in style of gpp
+- Get clean out path's and the rest. blah.
+
+* 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