]> git.pld-linux.org Git - packages/gnumeric.git/blob - gnumeric.spec
- fixed BR
[packages/gnumeric.git] / gnumeric.spec
1 #
2 # Conditional build:
3 # _without_bonobo
4 # _without_python
5 # _without_gda
6 #
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        The GNOME spreadsheet
9 Summary(es):    La hoja de calculo 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µç×Ó±í¸ñ
15 Name:           gnumeric
16 Version:        1.1.18
17 Release:        1
18 Epoch:          1
19 License:        GPL
20 Group:          X11/Applications
21 Vendor:         Gnumeric List <gnumeric-list@gnome.org>
22 Source0:        ftp://ftp.gnome.org/pub/gnome/sources/gnumeric/1.1/%{name}-%{version}.tar.bz2
23 # Source0-md5:  b847d5ad0c932e3afdb48842efba508b
24 URL:            http://www.gnome.org/gnumeric/
25 BuildRequires:  libtool
26 BuildRequires:  autoconf
27 BuildRequires:  automake
28 BuildRequires:  bison
29 BuildRequires:  docbook-utils
30 BuildRequires:  flex
31 BuildRequires:  gal-devel >= 1.99.6
32 BuildRequires:  gettext-devel
33 BuildRequires:  perl
34 BuildRequires:  gtk+2-devel >= 2.0.0
35 BuildRequires:  glib2-devel >= 2.0.0
36 BuildRequires:  libgnome-devel >= 2.2.0
37 BuildRequires:  libgnomeprint-devel >= 2.2.0
38 BuildRequires:  libgnomeprintui-devel >= 2.2.0
39 BuildRequires:  libgnomeui-devel >= 2.2.0
40 BuildRequires:  libgsf-devel >= 1.8.1
41 BuildRequires:  libxml2-devel >= 2.4.12
42 BuildRequires:  libglade2-devel >= 2.0.1
43 BuildRequires:  libgnomecanvas-devel >= 2.2.0
44 BuildRequires:  libart_lgpl-devel >= 2.3.12
45 %if %{!?_without_python:1}0
46 BuildRequires:  python-devel >= 2.2
47 BuildRequires:  python-pygtk-devel >= 1.99.16
48 %endif
49 %if %{!?_without_bonobo:1}0
50 BuildRequires:  libbonobo-devel >= 2.0.0
51 BuildRequires:  libbonoboui-devel >= 2.0.0
52 BuildRequires:  libgsf-gnome-devel >= 1.8.2
53 %endif
54 %if %{!?_without_gda:1}0
55 BuildRequires:  libgda-devel
56 %endif
57 %if %{!?_without_python:1}0
58 Requires:       python-modules
59 %endif
60 Requires(post): GConf2
61 Requires(post): scrollkeeper
62 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
63
64 %description
65 GNOME based spreadsheet. Gnumeric is a spreadsheet program for GNOME.
66 This program is intended to be a replacement for a commercial
67 spreadsheet, so quite a bit of work has gone into the program. If you
68 are familiar with Excel, you should be ready to use Gnumeric. We have
69 tried to clone all of the good features and stay as compatible as
70 possible with Excel in terms of usability.
71
72 %description -l es
73 La hoja de calculo del GNOME.
74
75 %description -l pl
76 Bazuj±cy na GNOME arkusz kalkulacyjny. Je¶li znasz arkusz Excel to
77 jeste¶ gotów na u¿ywanie Gnumerica. Starali¶my siê sklonowaæ wszystkie
78 dobre cechy i byæ kompatybilnym z Excelem w sensie u¿yteczno¶ci.
79
80 %description -l pt_BR
81 Este pacote instala a planilha do GNOME, que foi feita para substituir
82 qualquer planilha comercial, pois uma quantidade razoável de trabalho
83 foi (e está sendo) colocada para torná-la a melhor possível.
84
85 %description -l ru
86 Gnumeric - ÜÔÏ ÐÒÏÇÒÁÍÍÁ ÜÌÅËÔÒÏÎÎÙÈ ÔÁÂÌÉàÄÌÑ GNOME.
87
88 %description -l uk
89 Gnumeric - ÃÅ ÐÒÏÇÒÁÍÁ ÅÌÅËÔÒÏÎÎÉÈ ÔÁÂÌÉÃØ ÄÌÑ GNOME.
90
91 %prep
92 %setup -q
93
94 %build
95 export LC_ALL=C
96 #rm -f missing acinclude.m4
97 #%%{__libtoolize}
98 #%%{__gettextize}
99 #%%{__aclocal}
100 #%%{__autoheader}
101 #%%{__autoconf}
102 #%%{__automake}
103 #GNOME_LIBCONFIG_PATH=/usr/lib; export GNOME_LIBCONFIG_PATH
104 %configure \
105         --disable-static \
106         --without-included-gettext \
107         --with%{?_without_bonobo:out}-bonobo \
108         --with%{?!_with_gb:out}-gb \
109         --with%{?_without_python:out}-python \
110         --without-evolution \
111         --without-guile \
112         --with%{?_without_gda:out}-gda
113
114 %{__make}
115
116 %install
117 rm -rf $RPM_BUILD_ROOT
118
119 %{__make} install \
120         DESTDIR=$RPM_BUILD_ROOT \
121         omf_dest_dir=%{_omf_dest_dir}/%{name}
122
123 %find_lang %{name} --with-gnome
124
125 %clean
126 rm -rf $RPM_BUILD_ROOT
127
128 %post
129 /usr/bin/scrollkeeper-update
130 %gconf_schema_install
131
132 %postun -p /usr/bin/scrollkeeper-update
133
134 %files -f %{name}.lang
135 %defattr(644,root,root,755)
136 %doc AUTHORS ChangeLog NEWS README TODO
137 %{_sysconfdir}/gconf/schemas/*
138
139 %attr(755,root,root) %{_bindir}/*
140
141 %if %{?!_without_bonobo:1}0
142 %attr(755,root,root) %{_libdir}/gnumeric-component
143 %{_libdir}/bonobo/servers/*
144 %endif
145 %dir %{_libdir}/gnumeric
146 %dir %{_libdir}/gnumeric/%{version}*
147 %dir %{_libdir}/gnumeric/%{version}*/plugins
148 %dir %{_libdir}/gnumeric/%{version}*/plugins/*
149 %attr(755,root,root) %{_libdir}/gnumeric/%{version}*/plugins/*/*.so
150 %{_libdir}/gnumeric/%{version}*/plugins/*/*.glade
151 %{_libdir}/gnumeric/%{version}*/plugins/*/*.xml
152 %{_libdir}/gnumeric/%{version}*/plugins/*/*.la
153 %{_libdir}/gnumeric/%{version}*/plugins/*/*.py
154 %{_libdir}/gnumeric/%{version}*/plugins/gnome-glossary/glossary-po-header
155
156 %{_desktopdir}/*.desktop
157 %{_datadir}/mime-info/*
158 %{_pixmapsdir}/*.???
159 %{_pixmapsdir}/gnumeric
160 %{_omf_dest_dir}/%{name}
161
162 %dir %{_datadir}/gnumeric
163 %dir %{_datadir}/gnumeric/%{version}*
164 %{_datadir}/gnumeric/%{version}*/glade
165 %{_datadir}/gnumeric/%{version}*/gnome-2.0
166 %{_datadir}/gnumeric/%{version}*/idl
167 %{_datadir}/gnumeric/%{version}*/autoformat-templates
168 %{_datadir}/gnumeric/%{version}*/templates
169 %dir %{_datadir}/gnumeric/%{version}*/gnome
170 %dir %{_datadir}/gnumeric/%{version}*/gnome/help
This page took 0.048447 seconds and 4 git commands to generate.