X-Git-Url: https://git.draconx.ca/gitweb/gob-dx.git/blobdiff_plain/1656cfade4879af0cb003e3847e58264caa5781f..refs/heads/legacy-1.x:/gob.spec.in diff --git a/gob.spec.in b/gob.spec.in index c4ed4e7..e86c351 100644 --- a/gob.spec.in +++ b/gob.spec.in @@ -1,48 +1,48 @@ -%define ver @VERSION@ -%define rel SNAP -%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: @VERSION@ +Release: SNAP +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 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 +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 @@ -53,6 +53,21 @@ rm -rf $RPM_BUILD_ROOT %doc README AUTHORS COPYING NEWS TODO ChangeLog %doc examples -%{prefix}/bin/* -%{prefix}/man/man1/* -%{prefix}/share/aclocal/* +%{_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