Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > main-src > by-pkgid > d46c576b95a1046ec5cd96d292e3f8b5 > files > 5

gnumeric-1.0.4-1mdk.src.rpm

%define bonobo -bonobo

Name: gnumeric
Summary: A full-featured spreadsheet for GNOME.
Version: 1.0.4
Release: 1mdk
License: GPL
Group: Office
Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{version}.tar.bz2
Source2: %{name}-32.png
Source3: %{name}-16.png
Source4: %{name}-48.png
URL: http://www.gnome.org/gnumeric/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot

# uncomment when released
#Requires: guile >= 1.5
# Only needed for gnome-help-browser...
#Requires: gnome-core 
Requires: libole20 >= 0.2.4
Requires: libxml >= 1.8.12

BuildRequires:	bison
BuildRequires:	bonobo-devel >= 1.0.9
BuildRequires:	GConf-devel
BuildRequires:	flex
BuildRequires:	libgal-devel >= 0.14
BuildRequires:	libgda0-devel >= 0.2.11
BuildRequires:	libglade-devel >= 0.16
BuildRequires:	libole20-devel >= 0.2.4
BuildRequires:	popt-devel
BuildRequires:	python-devel
BuildRequires:	xpm-devel
BuildRequires:  evolution-devel

%description
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.  It tries to clone all of 
the good features and stay as compatible as possible with Excel in terms of 
usability. Hopefully the bugs have been left behind :).

%package devel
Summary: Files necessary to develop gnumeric-based applications.
Group: Development/C
Requires: %{name} = %{version}

%description devel
The gnumeric-devel package includes files necessary to develop gnumeric-based
applications.

Install gnumeric-devel if you want to develop programs which will use gnumeric.

%prep
%setup -q

%build
%configure --without-gb --with-bonobo --with-evolution --without-guile --with-gda --with-python

%make

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
%makeinstall_std

# Menu
mkdir -p $RPM_BUILD_ROOT%{_menudir}
cat >$RPM_BUILD_ROOT%{_menudir}/%{name} <<EOF
?package(%{name}): command="%{_bindir}/%{name}" needs="X11" \
icon="%{name}.png" section="Office/Spreadsheets" \
title="Gnumeric" longtitle="A full-featured spreadsheet for Gnome"
EOF

# icon
mkdir -p $RPM_BUILD_ROOT%{_liconsdir}
mkdir -p $RPM_BUILD_ROOT%{_iconsdir}
mkdir -p $RPM_BUILD_ROOT%{_miconsdir}
cp -f %{SOURCE2} $RPM_BUILD_ROOT/%{_iconsdir}/%{name}.png
cp -f %{SOURCE3} $RPM_BUILD_ROOT/%{_miconsdir}/%{name}.png
cp -f %{SOURCE4} $RPM_BUILD_ROOT/%{_liconsdir}/%{name}.png

%find_lang %{name}

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT

%post
%{update_menus}

%postun
%{clean_menus}

%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS BUGS README COPYING TODO
%{_bindir}/*
%dir %{_libdir}/%{name}
%dir %{_libdir}/%{name}/%{version}%{bonobo}
%dir %{_libdir}/%{name}/%{version}%{bonobo}/plugins
%dir %{_libdir}/%{name}/%{version}%{bonobo}/plugins/*
%{_libdir}/%{name}/%{version}%{bonobo}/plugins/*/*.xml
%{_libdir}/%{name}/%{version}%{bonobo}/plugins/*/*.so
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/%{version}%{bonobo}
%dir %{_datadir}/%{name}/%{version}%{bonobo}/autoformat-templates
%dir %{_datadir}/%{name}/%{version}%{bonobo}/autoformat-templates/*
%{_datadir}/%{name}/%{version}%{bonobo}/autoformat-templates/*/*.xml
%{_datadir}/%{name}/%{version}%{bonobo}/autoformat-templates/*/.category
%{_datadir}/%{name}/%{version}%{bonobo}/glade
%{_datadir}/%{name}/%{version}%{bonobo}/gnome
#%{_datadir}/%{name}/%{version}%{bonobo}/guile
%{_datadir}/%{name}/%{version}%{bonobo}/python
%{_datadir}/%{name}/%{version}%{bonobo}/templates
%{_datadir}/gnome/apps/*/gnumeric.desktop
%{_datadir}/gnome/help/gnumeric
%{_datadir}/mc/templates/*
%{_datadir}/mime-info/*
%{_datadir}/oaf/GNOME_Gnumeric.oaf
%{_datadir}/pixmaps/*
%{_menudir}/*
%{_iconsdir}/%{name}.png
%{_miconsdir}/%{name}.png
%{_liconsdir}/%{name}.png

%files devel
%defattr (-, root, root)
%doc HACKING
%{_libdir}/gnumericConf.sh
%{_datadir}/%{name}/%{version}%{bonobo}/idl
%{_libdir}/%{name}/%{version}%{bonobo}/plugins/*/*.la

%changelog
* Mon Feb  4 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.4-1mdk
- Release 1.0.4
- Unbzipped png icons

* Thu Jan 31 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.0.3-2mdk
- xpm -> png icons

* Wed Jan 23 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.3-1mdk
- Release 1.0.3

* Fri Jan 18 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.2-1mdk
- Release 1.0.2

* Mon Jan 14 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-2mdk
- Recompiled against latest gal

* Mon Jan  7 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-1mdk
- Release 1.0.1

* Wed Jan  2 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-1mdk
- Release 1.0.0
- Switch to implicit dependencies when possible

* Sat Dec 29 2001 Stefab van der Eijk <stefan@eijk.nu> 0.99.0-2mdk
- fix BuildRequires

* Wed Dec 19 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.99.0-1mdk
- Release 0.99.0

* Wed Nov 21 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.76-1mdk
- release 0.76 (along with Guppi 0.40.2)

* Fri Nov  9 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.75-1mdk
- release 0.75

* Wed Oct 31 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.74-2mdk
- removed requirement on gnome-core

* Tue Oct 30 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.74-1mdk
- release 0.74

* Thu Oct 25 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.72-1mdk
- release 0.72 (to use with Guppi 0.40)

* Mon Oct  1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.70-4mdk
- Recompiled against libgal12

* Fri Sep 14 2001 Pablo Saratxaga <pablo@mandrakesoft.com> 0.70-3mdk
- rebuild including latest translations

* Wed Aug 22 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.70-2mdk
- Recompiled against libgal11

* Tue Aug 21 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.70-1mdk
- Release 0.70

* Mon Aug 13 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.69-1mdk
- Release 0.69

* Fri Aug 10 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.68-2mdk
- Recompiled against latest gal

* Wed Jul 18 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.68-1mdk
- new version, compiled with gal8

* Sun Jul 15 2001 Stefan van der Eijk <stefan@eijk.nu> 0.67-4mdk
- BuildRequires: db1-devel
- BuildRequires: GConf-devel
- BuildRequires: gdk-pixbuf-devel
- BuildRequires: oaf-devel
- BuildRequires: popt-devel
- BuildRequires: python-devel
- Copyright --> License
- Removed BuildRequires: libxml-devel
- Removed BuildRequires: ORBit-devel

* Fri Jul 13 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.67-3mdk
- with bonobo for real this time... (removed a 'percent' to avoid starting 
a second configure with the old options... pffff...) 
- guile support does not work: it needs a cvs version of guile...

* Tue Jul 10 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.67-2mdk
- updated summary

* Mon Jul  9 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.67-1mdk
- new version
- requires libgal7
- with bonobo
- updated file list

* Wed Jun 13 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.65-1mdk
- new version

* Fri May 18 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.64-3mdk
- Recompiled against latest gal

* Mon Mar 26 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.64-2mdk
- readded python scripts
- added missing .category files in autoformat templates directories 
(thanks to Laurent Montel for tumbling across the bug)

* Tue Mar 20 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.64-1mdk
- new version

* Tue Feb 27 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.63-2mdk
- minor corrections and more cleanup

* Tue Feb 27 2001 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.63-1mdk
- new version
- separated devel package
- cleaned up spec

* Thu Feb 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.61-2mdk
- Recompiled against new gal

* Sun Dec 24 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.61-1mdk
- new and shiny source.
- changed the buildrequires and the requires for the newly named libole20.

* Tue Nov 14 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 0.58-1mdk
- new and shiny source.
- requires gnome-print >= 0.25
- requires gal >= 0.2.2
- buildrequires gnome-print-devel >= 0.25
- buildrequires gal >= 0.2.2

* Fri Oct 13 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.57-1mdk
- new version (needs gal)
- corrected install and added some files

* Tue Aug 29 2000 Renaud Chaillat <rchaillat@mandrakesoft.com> 0.56-4mdk
- added icons
- menu entry in spec file
- packager tag

* Tue Aug 22 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.56-3mdk
- BM (help by Damien)
- more macros

* Tue Jun 27 2000 Thierry Vignaud <tvignaud@mandrakesoft.com> 0.56-2mdk
- fix URL
- spec simplification through new chmou toys

* Wed Jun 21 2000 dam's <damien@mandrakesoft.com> 0.56-1mdk
- updated to 0.56

* Thu Jun  8 2000 dam's <damien@mandrakesoft.com> 0.54-1mdk
- updated to helix version.

* Sat May 27 2000 dam's <damien@mandrakesoft.com> 0.53-1mdk
- took new version from Helix.

* Wed May 24 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 0.52-3mdk
- BuildRequires: gnome-print-devel.

* Mon Apr 17 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.52-2mdk
- added a 32x32 icon for a better-looking KDE docking
- removed gnumeric.desktop because we don't need it, we have menu for that
- fixed /usr/share/locale/.. directory owns

* Fri Apr 14 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 0.52-1mdk
- took srpm from Helix [grrr.. they don't provide changelog, why?]
- add menu entry, with icon