gnumeric.spec.in 2.34 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 >= 0.3
Arturo Espinosa's avatar
Arturo Espinosa committed
21
Requires: libglade >= 0.2
22 23

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

%prep
35
%setup -q
36 37

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

if [ "$SMP" != "" ]; then
44
	make -j$SMP "MAKE=make -j$SMP"
45
else
46
	make
47 48 49 50
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
Gregory McLean's avatar
Gregory McLean committed
57 58 59
* Thu Sep 02 1999 Gregory McLean <gregm@comstar.net>
- Added small fix so glade generated dialogs appear.

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

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

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

%files
%defattr(-, root, root)

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

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

%config /etc/CORBA/servers/*