gnumeric.spec.in 2.22 KB
Newer Older
1
%define  ver     @VERSION@
2 3
%define  RELEASE 1
%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
4 5 6
%define  prefix  /usr

Summary: the GNOME spreadsheet
7 8 9 10 11
Name: 		gnumeric
Version: 	%ver
Release: 	%rel
Copyright: 	GPL
Group: 		Applications/Spreadsheets
12
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnumeric/gnumeric-%{ver}.tar.gz
13 14 15 16
Url:		http://www.gnome.org/gnumeric
BuildRoot:	/var/tmp/gnumeric-%{PACKAGE_VERSION}-root
Obsoletes: 	gnumeric
Docdir: 	%{prefix}/doc
17

18
Requires: gnome-libs >= 1.0.0
19
Requires: guile >= 1.3
20
Requires: gnome-print
21 22

%description
23 24 25 26 27 28 29 30 31
GNOME (GNU Network Object Model Environment) is a user-friendly set of
applications and desktop tools to be used in conjunction with a window
manager for the X Window System.  GNOME is similar in purpose and scope
to CDE and KDE, but GNOME is based completely on free software.

This is the Gnumeric, the GNOME spreadsheet program. If you are familiar with 
Excel, you should be ready to use Gnumeric.  We have tried to clone all of 
the good features and stay as compatible as possible with Excel in terms of 
usability. Hopefully we left the bugs behind :).
32 33

%prep
34
%setup -q
35 36

%build
37
%ifarch alpha
38
  MYARCH_FLAGS="--host=alpha-redhat-linux"
39
%endif
40
./configure --prefix=%prefix $MYARCH_FLAGS --sysconfdir=/etc
41 42 43 44 45 46 47 48 49 50

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

%install

51
make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT/etc install
52 53 54 55 56

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
57 58 59 60 61
* Wed Jul 14 1999 Gregory McLean <gregm@comstar.net>
- Added the gnome-print requirement.
- Updated the file list to try and quiet down the updating.
- added the sysconfdir

62 63
* Tue Mar 9  1999 Gregory McLean <gregm@comstar.net>
- Updated the spec file.
64 65 66 67 68 69 70

* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
- Version 0.2

%files
%defattr(-, root, root)

71
%doc HACKING AUTHORS ChangeLog NEWS README COPYING TODO
72 73

%{prefix}/bin/*
74 75 76
%{prefix}/lib/gnumeric/plugins/*
%{prefix}/share/locale/*/*
%{prefix}/share/gnome/apps/Applications/gnumeric.desktop
77
%{prefix}/share/gnome/help/gnumeric/C/*
78
%{prefix}/share/gnome/help/gnumeric/C/images/*
79 80 81 82 83 84
%{prefix}/share/idl/Gnumeric.idl
%{prefix}/share/mc/templates/*
%{prefix}/share/mime-info/*
%{prefix}/share/pixmaps/*

%config /etc/CORBA/servers/*
85