gnumeric.spec.in 2.43 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
Morten Welinder's avatar
Morten Welinder committed
18
Requires: gnome-print >= 0.8
Jody Goldberg's avatar
Jody Goldberg committed
19
Requires: libglade >= 0.11
20 21

%description
22 23 24 25 26 27 28 29 30
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 :).
31 32

%prep
33
%setup -q
34 35

%build
36
%ifarch alpha
37
  MYARCH_FLAGS="--host=alpha-redhat-linux"
38
%endif
39
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix $MYARCH_FLAGS --sysconfdir=/etc
40 41

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

%install

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

%clean
rm -rf $RPM_BUILD_ROOT

%changelog
Jody Goldberg's avatar
Jody Goldberg committed
55 56 57 58
* Mon Dec 20 1999 Jody Goldberg <jgolbderg@home.com>
- Updated the libglade dependancy.
- Remove req for guile.  We can build without it.

Gregory McLean's avatar
Gregory McLean committed
59 60 61
* Thu Sep 02 1999 Gregory McLean <gregm@comstar.net>
- Added small fix so glade generated dialogs appear.

62 63 64 65 66
* 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

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

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

%files
%defattr(-, root, root)

76
%doc HACKING AUTHORS ChangeLog NEWS README COPYING TODO
77 78

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

%config /etc/CORBA/servers/*