X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/4c9cb9b99991c36920bd17e366e2128d1b22eb6e..2753ff6cefbe916211d543f1029879e2a075d111:/gob.spec diff --git a/gob.spec b/gob.spec index 24552b3..dcf1b47 100644 --- a/gob.spec +++ b/gob.spec @@ -1,44 +1,48 @@ -%define ver 0.0.3 -%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 -* 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 @@ -47,6 +51,23 @@ rm -rf $RPM_BUILD_ROOT %defattr(-, root, root) %doc README AUTHORS COPYING NEWS TODO ChangeLog +%doc examples + +%{_bindir}/* +%{_mandir}/man1/* +%{_datadir}/aclocal/* -%{prefix}/bin/* -%{prefix}/man/man1/* + +%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