gnumeric.spec.in 2.32 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
Url:		http://www.gnome.org/gnumeric
BuildRoot:	/var/tmp/gnumeric-%{PACKAGE_VERSION}-root
Docdir: 	%{prefix}/doc
16

17
Requires: gnome-libs >= 1.0.0
18
Requires: guile >= 1.3
Morten Welinder's avatar
Morten Welinder committed
19
Requires: gnome-print >= 0.6
Arturo Espinosa's avatar
Arturo Espinosa committed
20
Requires: libglade >= 0.2
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
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix $MYARCH_FLAGS --sysconfdir=/etc
41 42

if [ "$SMP" != "" ]; then
43
	make -j$SMP "MAKE=make -j$SMP"
44
else
45
	make
46 47 48 49
fi

%install

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

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
Gregory McLean's avatar
Gregory McLean committed
56 57 58
* Thu Sep 02 1999 Gregory McLean <gregm@comstar.net>
- Added small fix so glade generated dialogs appear.

59 60 61 62 63
* 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

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

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

%files
%defattr(-, root, root)

73
%doc HACKING AUTHORS ChangeLog NEWS README COPYING TODO
74 75

%{prefix}/bin/*
76 77 78
%{prefix}/lib/gnumeric/plugins/*
%{prefix}/share/locale/*/*
%{prefix}/share/gnome/apps/Applications/gnumeric.desktop
79
%{prefix}/share/gnome/help/gnumeric
80 81 82 83
%{prefix}/share/idl/Gnumeric.idl
%{prefix}/share/mc/templates/*
%{prefix}/share/mime-info/*
%{prefix}/share/pixmaps/*
Gregory McLean's avatar
Gregory McLean committed
84
%{prefix}/share/gnumeric/*
85 86

%config /etc/CORBA/servers/*