BUILD: genius spec file



I'm ready to commit changes to CVS that will add a spec.in file to the
build of genius.  Patches and new spec file below for verification, just
let me know if they're OK and I'll commit them.

If you have a better summary and description, please send them to me and
I'll make sure they get in the spec file, as the ones I have are going to
be lame in most cases.

TIA,
   Omega

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/genius/ChangeLog,v
retrieving revision 1.62
diff -r1.62 ChangeLog
0a1,4
> Tue Apr 20 15:30:07 1999  Erik Walthinsen <omega@cse.ogi.edu>
> 
> 	* added spec.in file and changed Makefile.am/configure.in to match
> 
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/genius/Makefile.am,v
retrieving revision 1.1
diff -r1.1 Makefile.am
1c1,6
< SUBDIRS = intl po macros src
\ No newline at end of file
---
> SUBDIRS = intl po macros src
> 
> EXTRA_DIST = genius.spec.in
> 
> dist-hook:
> 	cp genius.spec.in $(distdir)
Index: configure.in
===================================================================
RCS file: /cvs/gnome/genius/configure.in,v
retrieving revision 1.15
diff -r1.15 configure.in
69a70
> genius.spec
76d76
< 

----- new genius.spec.in -----
%define  ver     @VERSION@
%define  rel     SNAP
%define  prefix  /usr

Summary: Genius advanced calculator
Name: genius
Version: %ver
Release: %rel
Copyright: GPL
Group: X11/Applications
Source: genius-%{ver}.tar.gz
Url: http://www.gnome.org/
BuildRoot: /var/tmp/genius-%{ver}-root
Prefix: %prefix

%description
Genius advanced calculator

%changelog
* Tue Apr 20 1999 Erik Walthinsen <omega@cse.ogi.edu>
- added spec.in file, changes to makefiles as approrpiate

%prep
%setup

%build
./configure --prefix=%prefix

if [ "$SMP" != "" ]; then 
  (make "MAKE=make -k -j $SMP"; exit 0)
  make
else
  make
fi

%install  
rm -rf $RPM_BUILD_ROOT

make prefix=$RPM_BUILD_ROOT%{prefix} install

%clean
rm -rf $RPM_BUILD_ROOT

%files
#%defattr(-, root, root)

%doc README ABOUT-NLS AUTHORS COPYING NEWS TODO ChangeLog

%{prefix}/bin/*
%{prefix}/share/locale/*/*/*
%{prefix}/share/genius/*
%{prefix}/share/apps/Utilities/*
----- end genius.spec.in -----


         Erik Walthinsen <omega@cse.ogi.edu> - Staff Programmer @ OGI
        Quasar project - http://www.cse.ogi.edu/DISC/projects/quasar/
   Video4Linux Two drivers and stuff - http://www.cse.ogi.edu/~omega/v4l2/
        __
       /  \             SEUL: Simple End-User Linux - http://www.seul.org/
      |    | M E G A           Helping Linux become THE choice
      _\  /_                          for the home or office user



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]