Sophie

Sophie

distrib > PLD > ra > i386 > media > dist-src > by-pkgid > 41bbd5d3727b56b533ae49ad3a55985c > files > 9

gnumeric-1.0.9-4.src.rpm

# $Revision: 1.90 $, $Date: 2002/10/02 14:47:17 $
# _without_gb

%include	/usr/lib/rpm/macros.perl
Summary:	The GNOME spreadsheet
Summary(es):	La hoja de calculo del GNOME
Summary(pl):	Arkusz kalkulacyjny GNOME
Summary(pt_BR):	A planilha do GNOME
Summary(ru):	üÌÅËÔÒÏÎÎÙÅ ÔÁÂÌÉÃÙ ÄÌÑ GNOME
Summary(uk):	åÌÅËÔÒÏÎΦ ÔÁÂÌÉæ ÄÌÑ GNOME
Summary(zh_CN):	LinuxϵÄExcel -- GNOMEµç×Ó±í¸ñ 
Name:		gnumeric
Version:	1.0.9
Release:	4
Epoch:		1
License:	GPL
Group:		X11/Applications
Vendor:		Gnumeric List <gnumeric-list@gnome.org>
Source0:	ftp://ftp.gnome.org/pub/GNOME/stable/sources/gnumeric/%{name}-%{version}.tar.bz2
Patch0:		%{name}-miscfix.patch
Patch1:		%{name}-no_version.patch
Patch2:		%{name}-gb.patch
Patch3:		%{name}-ac25x.patch
Patch4:		%{name}-am16.patch
Patch5:		%{name}-psicov_hack.patch
Patch6:		%{name}-omf.patch
Icon:		gnumeric.xpm
URL:		http://www.gnome.org/gnumeric/
Requires:	gnome-print >= 0.34-3
Conflicts:	Guppi < 0.40.3
BuildRequires:	ORBit-devel
BuildRequires:	libtool
BuildRequires:	autoconf
BuildRequires:	automake
BuildRequires:	bison
BuildRequires:	bonobo-devel >= 1.0.9
BuildRequires:	docbook-utils
BuildRequires:	flex
BuildRequires:	gal-devel >= 0.19
%{?_with_gb:BuildRequires:	gb-devel >= 0.0.19}
BuildRequires:	gdk-pixbuf-gnome-devel
BuildRequires:	gettext-devel
BuildRequires:	gnome-libs-devel >= 1.0.56
BuildRequires:	gnome-print-devel >= 0.29
BuildRequires:	gtk+-devel >= 1.2.7
BuildRequires:	glib-devel >= 1.2.7
BuildRequires:	libglade-gnome-devel >= 0.16
BuildRequires:	libxml-devel >= 1.8.14
BuildRequires:	libole2-devel >= 0.2.4
#BuildRequires:	guile-devel >= 1.4
BuildRequires:	libgda-devel >= 0.2.93
#BuildRequires:	psiconv-devel
BuildRequires:	perl
BuildRequires:	python-devel >= 2.2
BuildRequires:	oaf-devel >= 0.6.2
#%requires_eq	guile
Requires:	python-modules
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%define		_prefix		/usr/X11R6
%define		_sysconfdir	/etc/X11/GNOME
%define		_omf_dest_dir	%(scrollkeeper-config --omfdir)

%description
GNOME based spreadsheet. Gnumeric is a spreadsheet program for GNOME.
This program is intended to be a replacement for a commercial
spreadsheet, so quite a bit of work has gone into the 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.

%description -l es
La hoja de calculo del GNOME.

%description -l pl
Bazuj±cy na GNOME arkusz kalkulacyjny. Je¶li znasz arkusz Excel to
jeste¶ gotów na u¿ywanie Gnumerica. Starali¶my siê sklonowaæ wszystkie
dobre cechy i byæ kompatybilnym z Excelem w sensie u¿yteczno¶ci.

%description -l pt_BR
Este pacote instala a planilha do GNOME, que foi feita para substituir
qualquer planilha comercial, pois uma quantidade razoável de trabalho
foi (e está sendo) colocada para torná-la a melhor possível.

%description -l ru
Gnumeric - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÜÌÅËÔÒÏÎÎÙÈ ÔÁÂÌÉÃ ÄÌÑ GNOME.

%description -l uk
Gnumeric - ÃÅ ÐÒÏÇÒÁÍÁ ÅÌÅËÔÒÏÎÎÉÈ ÔÁÂÌÉÃØ ÄÌÑ GNOME.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1

%build
touch po/POTFILES
rm -f missing acinclude.m4
%{__libtoolize}
%{__gettextize}
%{__aclocal} -I macros
autoheader
%{__autoconf}
%{__automake}
GNOME_LIBCONFIG_PATH=/usr/lib; export GNOME_LIBCONFIG_PATH
%configure \
	--disable-gtk-doc \
	--disable-static \
	--without-included-gettext \
	--with-bonobo \
%{?_with_gb:--with-gb} \
%{!?_with_gb:--without-gb} \
	--with-python \
	--without-evolution \
	--without-guile \
	--with-gda

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT \
	Applicationsdir=%{_applnkdir}/Office/Spreadsheets \
	omf_dest_dir=%{_omf_dest_dir}/%{name}

%find_lang %{name} --with-gnome

%clean
rm -rf $RPM_BUILD_ROOT

%post   -p /usr/bin/scrollkeeper-update
%postun -p /usr/bin/scrollkeeper-update

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README TODO
%attr(755,root,root) %{_bindir}/*
%attr(-,root,root) %{_libdir}/gnumeric
%attr(755,root,root) %{_libdir}/gnumericConf.sh
%{_datadir}/gnumeric
%{_datadir}/mc/*
%{_datadir}/mime-info/*
%{_datadir}/oaf/*
%{_omf_dest_dir}/%{name}
%{_pixmapsdir}/*
%{_applnkdir}/Office/Spreadsheets/*

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback@pld.org.pl>
All persons listed below can be reached at <cvs_login>@pld.org.pl

$Log: gnumeric.spec,v $
Revision 1.90  2002/10/02 14:47:17  krzak
Release 4
patch - fix omf file

Revision 1.89  2002/09/30 11:25:22  kloczek
- release 3,
- merge translations from TurboLinux,
- added python-modules to Requires.

Revision 1.88  2002/09/21 20:08:16  kloczek
- updated to 1.0.9: many bug fixes,
- added psicov_hack patch with remove buggy psicov support,
- remove run intltoolize in %install (isn't neccessaary now),
- added omf support.

Revision 1.87  2002/08/06 12:07:37  qboosh
- BR: gdk-pixbuf-gnome-devel, libglade-gnome-devel; new %%doc

Revision 1.86  2002/06/23 20:52:51  kloczek
perl -pi -e "s/^gettextize --copy --force/\%%\{__gettextize\}/"

Revision 1.85  2002/06/23 20:32:28  kloczek
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"

Revision 1.84  2002/05/21 23:13:19  kloczek
perl -pi -e "s/^automake -a -c -f --foreing/\%\{__automake\}/; \
             s/^automake -a -c -f/\%\{__automake\}/; \
	     s/^autoconf/\%\{__autoconf\}/"

Revision 1.83  2002/04/25 16:27:36  arturs
fixed a small typo

Revision 1.82  2002/04/19 02:02:03  kloczek
- merge translations from KSI.

Revision 1.81  2002/04/18 16:31:58  wrobell
- ver. 1.0.6 /bufix release/
- remove no_doc patch (builds without running X)
- empty plugin patch to disable "empty" plugins in configure.in
- stb

Revision 1.80  2002/03/31 00:29:11  filon
- updated to 1.0.5
- added no_doc patch to not build docs (broken, needs running x-server)

Revision 1.79  2002/03/24 23:28:19  kloczek
- perl -pi -e "s/^automake -a -c$/automake -a -c -f/"

Revision 1.78  2002/02/23 02:17:46  kloczek
- adapterized.

Revision 1.77  2002/02/22 23:28:59  kloczek
- removed all Group fields translations (our rpm now can handle translating
  Group field using gettext).

Revision 1.76  2002/02/06 08:48:26  kloczek
- adapterized.

Revision 1.75  2002/02/03 23:38:31  kloczek
- release 2: rebuild against python 2.2.

Revision 1.74  2002/02/01 00:20:23  kloczek
- updated to 1.0.4 (bugfix release).

Revision 1.73  2002/01/26 11:17:34  kloczek
- release 2.

Revision 1.72  2002/01/26 11:10:37  misiek
R: Guppi changed to C: Guppi < version

Revision 1.71  2002/01/25 19:23:36  misiek
- more requires

Revision 1.70  2002/01/25 18:37:50  misiek
R: gnome-print to force upgreade

Revision 1.69  2002/01/25 13:13:23  misiek
- updated to 1.0.3

Revision 1.68  2002/01/18 02:13:09  kloczek
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"

Revision 1.67  2002/01/17 16:59:28  filon
- removed option without_bonobo, it is essential
- make using gb off by default (it is very young and unstable)
- added with_gda option for configure
- release 2

Revision 1.66  2002/01/16 19:50:14  kloczek
- updated to 1.0.2 (bugfixes and few new feactures).

Revision 1.65  2002/01/13 15:06:48  kloczek
- release 2: rebuild against gal 0.19.

Revision 1.64  2002/01/10 15:31:11  kloczek
- merge translations from Conectiva and adapterize spec file.

Revision 1.63  2002/01/10 15:27:05  misiek
- updated to 1.0.1

Revision 1.62  2001/11/21 09:21:58  kloczek
- typo.

Revision 1.61  2001/11/16 21:07:07  saq
- updated buildreqs

Revision 1.60  2001/11/08 09:31:25  saq
- update the buildreqs according to ./configure output

Revision 1.59  2001/11/06 14:56:29  kura
- updated to 0.75 (STBR)

Revision 1.58  2001/11/05 14:33:29  kura
- updated to 0.74
- added xml-i18n-toolize --force to %%build
- removed unconditional --with-bonobo from configure options

Revision 1.57  2001/10/23 14:58:06  qboosh
- updated to 0.72, updated am15 patch
- added xml-i18n patch (see xml-i18n-tools changelog for details)
- added bonobo patch (probably to be changed after fixing bonobo)
- guile is off (requires >= 1.5)
  maybe add gda|psiconv|evolution support?

Revision 1.56  2001/09/10 08:13:17  kloczek
- release 3,
- enable bonobo,
- added am15 patch (automake 1.5 related fixes).

Revision 1.55  2001/09/08 18:13:38  kloczek
- release2 :rebuild against gal 0.11.2.

Revision 1.54  2001/08/23 12:09:38  wrobell
- version 0.70
- rebuilded with python 2.1.1
- fixed build requirements
- stb

Revision 1.53  2001/08/13 15:29:10  wrobell
- ver. 0.69

Revision 1.52  2001/07/26 07:34:10  kloczek
- release 2: rebuild against gal 0.9.

Revision 1.51  2001/07/19 15:01:15  wrobell
- up to 0.68

Revision 1.50  2001/07/04 15:55:15  kloczek
- BuildRequires: gal-devel >= 0.8.

Revision 1.49  2001/07/04 15:29:15  wrobell
- up to 0.67
- stb

Revision 1.48  2001/06/18 04:56:48  kloczek
- release 3: BuildRequires: python-devel >= 2.1.

Revision 1.47  2001/05/29 15:11:53  wrobell
- builds with Python 2.1 so release up
- fixed build requires

Revision 1.46  2001/05/22 09:06:21  wiget
switch to new conditional builds macros (bcond_on_ -> _with_/bcond_off_ -> _without_); no release changes only simple s/// perfored

Revision 1.45  2001/04/23 09:58:58  misiek
0.64

Revision 1.44  2001/02/02 17:50:34  kloczek
- perl -pi -e "s/^\%\{_datadir\}\/pixmaps/\%\{_pixmapsdir\}/"

Revision 1.43  2001/01/22 20:08:08  kloczek
- release 2,
- regenerate automake, atoconf files in %build for allow build also in
  automake 1.4b enviroment.

Revision 1.42  2000/12/19 04:31:40  kloczek
- updated to 0.61.

Revision 1.41  2000/12/08 15:10:42  kloczek
- BuildRequires: gal-devel >= 0.3.

Revision 1.40  2000/12/08 14:46:30  kloczek
- updated to 0.60,
- removed outdated POTFILES.in-fix patch.

Revision 1.39  2000/11/19 00:45:05  kloczek
- added POTFILES.in-fix patch with fix po/POTFILES.in files list (now
  gnumeric compile).

Revision 1.38  2000/11/18 23:32:19  kloczek
- updated to 0.59.

Revision 1.37  2000/11/16 07:15:42  kloczek
- "BuildRequires: gal-devel >= 0.2.2"

Revision 1.36  2000/11/16 05:54:05  kloczek
- updated t0 0.58,
- BuildRequires: gnome-print-devel => 0.25.

Revision 1.35  2000/10/31 08:13:48  kloczek
- updated to 0.7,
- use new rpm automation and rebuildagainst gnome-libs linked with db3,
- updated %files and BuildRequires lists,
- added no_version patch which disables (IMHO this is overcoding) using
version symbols in pathnames.

Revision 1.34  2000/08/28 15:01:55  wrobell
- up to 0.56
- requires libole2 to build
- build without bonobo (wait for API stabilization)

Revision 1.33  2000/06/09 07:54:41  kloczek
- more %%{__make} macros.

Revision 1.32  2000/06/09 07:22:52  kloczek
- added using %%{__make} macro.

Revision 1.31  2000/05/30 14:31:19  michuz
- release 2
- applnkdir patch removed
- %%applnkdir changed

Revision 1.30  2000/05/26 01:23:08  bonkey
- upgrade to 0.54

Revision 1.29  2000/05/20 13:53:44  kloczek
- spec adapterized.

Revision 1.28  2000/05/02 21:22:20  baggins
- fixed version, minor cleanup

Revision 1.27  2000/05/01 21:02:34  mkochano
- Removed 'BuildRequires: (XFree86|glib)-devel' from packages which have
  'BuildRequires: gtk+-devel'. They were redundant, beacuse 'gtk+-devel' says
  what it needs using 'Requires'. BTW, awk rules :)

Revision 1.26  2000/04/01 11:14:40  zagrodzki
- changed all BuildRoot definitons
- removed all applnkdir defs
- changed some prereqs/requires
- removed duplicate empty lines

Revision 1.25  2000/03/30 13:44:01  misiek
- added BuildRequires:  docbook-dsssl => 1.52 (for db2html package)

Revision 1.24  2000/03/30 04:13:32  kloczek
- BuildRequires: gnome-print-devel => 0.16.

Revision 1.23  2000/03/30 01:55:21  kloczek
- updated to 0.51.

Revision 1.22  2000/03/28 16:54:22  baggins
- translated kloczkish into english

Revision 1.21  2000/03/28 09:46:18  misiek
- added pl translations
- more files

Revision 1.20  2000/03/28 03:44:02  kloczek
- removed outdtated mv from %install.

Revision 1.19  2000/03/28 01:07:23  kloczek
- updated to 0.50,
- updated BuildRequires rules,
- added using --with-gnome switch in %%find_lang macro for automated finding
  gnumeric help files stored in GNOME style directories tree.

Revision 1.18  1999/12/07 10:33:11  kloczek
- updated Source url (base now is ftp://ftp.gnome.org/pub/GNOME/sources/).

Revision 1.17  1999/10/04 19:45:08  kloczek
- fix Icon file name.

Revision 1.16  1999/10/04 19:42:11  kloczek
- updated to 0.38,
- libglade-devel, gnome-print-devel, libxml-devel, bonobo-devel and
  gettext-devel added to BuildRequires,
- more rpm macros.

Revision 1.15  1999/07/20 12:48:07  wiget
- switch to rpm 3.0.2

Revision 1.14  1999/07/12 23:05:57  kloczek
- added using CVS keywords in %changelog (for automating them).

* Fri Apr 23 1999 Artur Frysiak <wiget@pld.org.pl>
  [0.23-2]
- replacement in %files
- gzipped %%doc
- compiled on rpm 3

* Thu Apr  1 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
  [0.22-1]
- more locales (pl, ru).

* Tue Jan 05 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
  [0.6-1]
- more locales (cs, de, es_*, no*),
- updated %files for 0.6,
- added LDFLAGS="-s" to ./configure enviroment.

* Fri Oct  2 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
  [0.3-2]
- added -q %setup parameter,
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
- added using %%{name} and %%{version} in Source,
- added using $RPM_OPT_FLAGS during compile,
- removed COPYING from %doc,
- added stripping plugins and binaries,
- added %lang macros for /usr/X11R6/share/locale/*/LC_MESSAGES/gnumeric.mo
  files,
- added full %attr description in %files.

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

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