2 %bcond_without bonobo # build without bonobo
3 %bcond_without python # build without python support
4 %bcond_without gb # build without gb
5 %bcond_without gda # build without gda
7 %include /usr/lib/rpm/macros.perl
8 Summary: The GNOME spreadsheet
9 Summary(es): La hoja de cálculo del GNOME
10 Summary(pl): Arkusz kalkulacyjny GNOME
11 Summary(pt_BR): A planilha do GNOME
12 Summary(ru): üÌÅËÔÒÏÎÎÙÅ ÔÁÂÌÉÃÙ ÄÌÑ GNOME
13 Summary(uk): åÌÅËÔÒÏÎΦ ÔÁÂÌÉæ ÄÌÑ GNOME
14 Summary(zh_CN): LinuxϵÄExcel -- GNOMEµç×Ó±í¸ñ
20 Group: X11/Applications
21 Vendor: Gnumeric List <gnumeric-list@gnome.org>
22 Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/1.2/%{name}-%{version}.tar.bz2
23 # Source0-md5: d0805068fd7ced5443cb8062d829c554
24 Patch0: %{name}-locale-names.patch
25 URL: http://www.gnome.org/gnumeric/
26 BuildRequires: GConf2-devel
27 BuildRequires: ORBit2-devel >= 2.4.2
28 BuildRequires: autoconf
29 BuildRequires: automake
31 BuildRequires: docbook-utils
33 BuildRequires: gettext-devel
34 BuildRequires: glib2-devel >= 2.0.0
35 BuildRequires: gtk+2-devel >= 2.0.0
36 BuildRequires: intltool >= 0.28
37 BuildRequires: libart_lgpl-devel >= 2.3.12
39 BuildRequires: libbonobo-devel >= 2.2.0
40 BuildRequires: libbonoboui-devel >= 2.3.3-2
41 BuildRequires: libgsf-gnome-devel >= 1.8.2
44 BuildRequires: libgda-devel >= 1.0.1
45 BuildRequires: libgnomedb-devel >= 1.0.1
47 BuildRequires: libglade2-devel >= 2.0.1
48 BuildRequires: libgnome-devel >= 2.2.0
49 BuildRequires: libgnomecanvas-devel >= 2.2.0
50 BuildRequires: libgnomeprint-devel >= 2.4.2
51 BuildRequires: libgnomeprintui-devel >= 2.4.2
52 BuildRequires: libgnomeui-devel >= 2.3.3.1-2
53 BuildRequires: libgsf-devel >= 1.8.2
54 BuildRequires: libtool
55 BuildRequires: libxml2-devel >= 2.4.12
56 BuildRequires: perl-base
58 BuildRequires: python-devel >= 2.2
59 BuildRequires: python-pygtk-devel >= 1.99.16
61 Requires(post): GConf2
62 Requires(post): scrollkeeper
64 Requires: python-modules
66 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69 GNOME based spreadsheet. Gnumeric is a spreadsheet program for GNOME.
70 This program is intended to be a replacement for a commercial
71 spreadsheet, so quite a bit of work has gone into the program. If you
72 are familiar with Excel, you should be ready to use Gnumeric. We have
73 tried to clone all of the good features and stay as compatible as
74 possible with Excel in terms of usability.
77 Gnumeric es un programa de hoja de cálculo para GNOME. Este programa
78 procura ser reemplazar los programas comerciales, así que ha gozado
79 bastante esfuerzo. Si conoce Excel, debería estar preparado para usar
80 Gnumeric. Intentamos clonar todas las buenas cualidades y seguir lo
81 más compatible que fuera posible, en cuanto a la usabilidad.
84 Bazuj±cy na GNOME arkusz kalkulacyjny. Je¶li znasz arkusz Excel to
85 jeste¶ gotów na u¿ywanie Gnumerica. Starali¶my siê sklonowaæ wszystkie
86 dobre cechy i byæ kompatybilnym z Excelem w sensie u¿yteczno¶ci.
89 Este pacote instala a planilha do GNOME, que foi feita para substituir
90 qualquer planilha comercial, pois uma quantidade razoável de trabalho
91 foi (e está sendo) colocada para torná-la a melhor possível.
94 Gnumeric - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÜÌÅËÔÒÏÎÎÙÈ ÔÁÂÌÉÃ ÄÌÑ GNOME.
97 Gnumeric - ÃÅ ÐÒÏÇÒÁÍÁ ÅÌÅËÔÒÏÎÎÉÈ ÔÁÂÌÉÃØ ÄÌÑ GNOME.
106 glib-gettextize --copy --force
107 intltoolize --copy --force
109 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
115 --disable-schemas-install \
116 --with%{?!with_bonobo:out}-bonobo \
117 --with%{?!with_gb:out}-gb \
118 --with%{?!with_python:out}-python \
120 --with%{?!with_gda:out}-gda
125 rm -rf $RPM_BUILD_ROOT
128 DESTDIR=$RPM_BUILD_ROOT \
129 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
131 %find_lang %{name} --with-gnome
134 rm -rf $RPM_BUILD_ROOT
137 /usr/bin/scrollkeeper-update
138 %gconf_schema_install
140 %postun -p /usr/bin/scrollkeeper-update
142 %files -f %{name}.lang
143 %defattr(644,root,root,755)
144 %doc AUTHORS ChangeLog NEWS README TODO
145 %{_sysconfdir}/gconf/schemas/*
147 %attr(755,root,root) %{_bindir}/*
150 %attr(755,root,root) %{_libdir}/gnumeric-component
151 %{_libdir}/bonobo/servers/*
153 %dir %{_libdir}/gnumeric
154 %dir %{_libdir}/gnumeric/%{version}*
155 %dir %{_libdir}/gnumeric/%{version}*/plugins
156 %dir %{_libdir}/gnumeric/%{version}*/plugins/*
157 %attr(755,root,root) %{_libdir}/gnumeric/%{version}*/plugins/*/*.so
158 %{_libdir}/gnumeric/%{version}*/plugins/*/*.glade
159 %{_libdir}/gnumeric/%{version}*/plugins/*/*.xml
160 %{_libdir}/gnumeric/%{version}*/plugins/*/*.la
161 %{_libdir}/gnumeric/%{version}*/plugins/*/*.py
162 %{_libdir}/gnumeric/%{version}*/plugins/gnome-glossary/glossary-po-header
164 %{_desktopdir}/*.desktop
165 %{_datadir}/mime-info/*
167 %{_pixmapsdir}/gnumeric
168 %{_omf_dest_dir}/%{name}
170 %dir %{_datadir}/gnumeric
171 %dir %{_datadir}/gnumeric/%{version}*
172 %{_datadir}/gnumeric/%{version}*/glade
173 %{_datadir}/gnumeric/%{version}*/gnome-2.0
174 %{_datadir}/gnumeric/%{version}*/idl
175 %{_datadir}/gnumeric/%{version}*/autoformat-templates
176 %{_datadir}/gnumeric/%{version}*/templates