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