source: projects/specs/branches/6/g/gnumeric/gnumeric-vl.spec @ 4464

Revision 4464, 14.9 KB checked in by Takemikaduchi, 13 years ago (diff)

new upstream release

Line 
1%define gnumeric_version %{version}-bonobo
2%define goffice_version  0.8.17
3
4Summary:     A spreadsheet program for GNOME.
5Summary(ja): GNOME スプレッドシート
6Name:        gnumeric
7Version:     1.10.17
8Release:     1%{?_dist_release}
9License:     GPLv2
10Group:       Applications/Productivity
11
12URL:      http://www.gnome.org/projects/gnumeric
13Source0:  ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.bz2
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15
16# default font: VL Gothic
17Patch0: gnumeric-1.10.17-vlgothic.patch
18
19Distribution: Vine Linux
20Vendor: Project Vine
21
22BuildRequires: gtk2-devel >= 2.10.0
23BuildRequires: libglade2-devel >= 2.3.6
24BuildRequires: libgnomeprint-devel >= 2.8.2
25BuildRequires: libgnomeprintui-devel >= 2.8.2
26BuildRequires: libart_lgpl-devel >= 2.3.11
27BuildRequires: libxml2-devel >= 2.4.12
28BuildRequires: libgsf-devel >= 1.13.2
29BuildRequires: goffice-devel >= %{goffice_version}
30BuildRequires: libbonobo-devel libgnomeui-devel
31BuildRequires: libffi-devel
32#BuildPreReq: libgda-devel >= 1.9.100
33#BuildPreReq: libgnomedb-devel >= 1.9.100
34BuildRequires: perl python-devel
35BuildRequires: automake autoconf libtool docbook-utils
36BuildRequires: intltool >= 0.28 desktop-file-utils
37BuildRequires: libSM-devel
38Requires:    gtk2 >= 2.10.0
39Requires:    libglade2 >= 2.3.6
40Requires:    libgnomeprint >= 2.8.2
41Requires:    libgnomeprintui >= 2.8.2
42Requires:    libgsf >= 1.14.6
43Requires:    perl python
44Requires:    GConf2 scrollkeeper
45
46# no longer devel package
47#Provides:   %{name}-devel
48Obsoletes:  %{name}-devel
49
50%description
51GNOME (GNU Network Object Model Environment) is a user-friendly set of
52applications and desktop tools to be used in conjunction with a window
53manager for the X Window System.
54
55This is the Gnumeric, a spreadsheet for GNOME.  It aims to be a drop in
56replacement for commercial spreadsheets.  It provides import/export from
57MS Excel files and many other formats (csv, latex, xbase, applix).
58
59%description -l ja
60GNOME (GNU Network Object Model Environment)は
61Xウィンドウシステム用の、ウィンドウマネージャと連結した
62GUIアプリケーションおよびデスクトップツールのセットです。
63
64これは Gnumeric, GNOMEスプレッドシート・プログラムです。
65商用のスプレッドシート・プログラムを代替できるものを目指しています。
66MS Excelファイルや他の多くのフォーマット(csv, latex, xbase, applix)
67を読込み、出力できます.
68
69
70# %package devel
71#Summary:       Files necessary to develop gnumeric-based applications.
72#Group:         Development/Libraries
73#Requires:      %{name} = %{PACKAGE_VERSION}
74
75#%#description devel
76#The gnumeric-devel package includes files necessary to develop gnumeric-based
77#applications.
78
79#Install gnumeric-devel if you want to develop programs which will use gnumeric.
80
81%prep
82%setup -q
83%patch0 -p1 -b vlgothic
84
85%build
86%ifarch alpha
87        MYARCH_FLAGS="--host=alpha-redhat-linux"
88%endif
89export mllibname=%{_lib}
90%configure --with-gnome \
91    --with-gda --without-gb --with-perl --with-python \
92    --disable-schemas-install
93make
94
95%install
96[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
97
98export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
99make DESTDIR=$RPM_BUILD_ROOT install
100unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
101
102./mkinstalldirs $RPM_BUILD_ROOT%{_datadir}/applications
103desktop-file-install --vendor gnome --delete-original                   \
104  --dir $RPM_BUILD_ROOT%{_datadir}/applications                         \
105  --add-category Office                                                 \
106  --add-category Application                                            \
107  --add-category Spreadsheet                                            \
108  --remove-mime-type="zz-application/zz-winassoc-xls"                   \
109  $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
110
111%find_lang %{name}
112%find_lang %{name}-functions
113cat %{name}-functions.lang >> %{name}.lang
114
115rm -rf $RPM_BUILD_ROOT%{_libdir}/libspreadsheet.la
116rm -rf $RPM_BUILD_ROOT%{_libdir}/goffice/%{goffice_version}/plugins/gnumeric/*.la
117rm -rf $RPM_BUILD_ROOT%{_libdir}/pkgconfig
118rm -rf $RPM_BUILD_ROOT%{_includedir}/libspreadsheet-1.10
119rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
120
121%clean
122[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
123
124%post
125/sbin/ldconfig
126
127scrollkeeper-update > /dev/null 2>&1 || :
128export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
129gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/gnumeric*.schemas > /dev/null
130
131touch --no-create %{_datadir}/icons/hicolor || :
132if [ -x %{_bindir}/gtk-update-icon-cache ]; then
133   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
134fi
135
136%pre
137if [ "$1" -gt 1 ]; then
138    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
139    gconftool-2 --makefile-uninstall-rule \
140        %{_sysconfdir}/gconf/schemas/gnumeric*.schemas >& /dev/null ||:
141fi
142
143%preun
144if [ "$1" -eq 0 ]; then
145    export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
146    gconftool-2 --makefile-uninstall-rule \
147        %{_sysconfdir}/gconf/schemas/gnumeric*.schemas >& /dev/null ||:
148fi
149
150%postun
151/sbin/ldconfig
152scrollkeeper-update > /dev/null 2>&1 || :
153
154touch --no-create %{_datadir}/icons/hicolor || :
155if [ -x %{_bindir}/gtk-update-icon-cache ]; then
156   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
157fi
158
159
160%files -f %{name}.lang
161%defattr (-, root, root)
162%doc AUTHORS BUGS *ChangeLog* COPYING HACKING NEWS README
163%config %{_sysconfdir}/gconf/schemas/*
164%{_bindir}/*
165%{_libdir}/lib*.so*
166%{_libdir}/gnumeric
167%{_libdir}/goffice/%{goffice_version}/plugins/gnumeric/*
168#{_libdir}/bonobo/servers/*
169%{_datadir}/applications/*.desktop
170%{_datadir}/glib-2.0/schemas/*.xml
171%{_datadir}/gnome/help/gnumeric
172%{_datadir}/gnumeric
173%{_datadir}/pixmaps/*
174#{_datadir}/mime-info/*
175#{_datadir}/mc/templates/*
176%{_datadir}/omf/*
177%{_datadir}/icons/hicolor/*
178%{_mandir}/man*/*
179%exclude %{_datadir}/pixmaps/win32-gnumeric.ico
180
181#%{_libexecdir}/gnumeric-component
182#%#dir %{_libdir}/gnumeric
183#%#dir %{_libdir}/gnumeric/%{bonobover}
184#%#dir %{_libdir}/gnumeric/%{bonobover}/plugins
185#%#dir %{_libdir}/gnumeric/%{bonobover}/plugins/*
186# This is really silly.  The .la files are useless for plugins.
187#%#{_libdir}/gnumeric/%{bonobover}/plugins/*/*.la
188#%#{_libdir}/gnumericConf.sh
189#%#if %{bonobo}
190#%#dir %{_datadir}/gnumeric
191#%#dir %{_datadir}/gnumeric/%{bonobover}
192#%#{_datadir}/gnumeric/%{bonobover}/idl
193#%#endif
194
195
196%changelog
197* Wed Aug 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.17-1
198- new upstream release
199- update Patch0
200
201* Sat Apr 09 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.14-1
202- new upstream release
203
204* Sat Feb 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.13-1
205- new upstream release
206- add Patch0 (gnumeric-1.10.13-vlgothic.patch)
207
208* Thu Dec 09 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.12-1
209- new upstream release
210
211* Sat Oct 16 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.11-1
212- new upstream release
213
214* Sun Sep 12 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.10-1
215- new upstream release
216
217* Mon Aug 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.9-1
218- new upstream release
219- add desktop-file-install option: --remove-mime-type="zz-application/zz-winassoc-xls"
220   (fix error of MIME type)
221
222* Sun Aug 15 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.8-1
223- new upstream release
224
225* Mon Jul 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.7-1
226- new upstream release
227
228* Wed Jun 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.6-1
229- new upstream release
230- fix %post and %postun
231
232* Thu Apr 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
233- new upstream release
234
235* Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
236- new upstream release
237- add BuildRequires: libSM-devel
238- fix BuildRequires: goffice-devel >= 0.8.1
239
240* Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.3-3
241- spec in UTF-8 (fixed)
242
243* Sat May  9 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.3-2
244- spec in UTF-8
245- added BuildRequires: libffi-devel
246- added %%pre, %%preun section
247
248* Mon Jun 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.3-1
249- new upstream release
250- built with libgda-3.1.4, libgnomedb-3.1.2
251- applied new versioning policy
252
253* Mon Mar 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.2-0vl1
254- new upstream release
255
256* Sat Jun 17 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.6.3-0vl2
257- rebuild
258
259* Fri May  5 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.3-0vl1
260- new upstream release
261
262* Sun Mar 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.2-0vl1
263- new upstream release
264- updated build dependancies
265- rebuilt with libgsf-1.14.0
266- built with libgda and libgnomedb again
267
268* Tue Nov 15 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.1-0vl1
269- new upstream release
270- updated build dependancies
271- not compile with libgda and libgnomedb in this version
272
273* Mon Mar 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.3-0vl1
274- new upstream release
275
276* Fri Feb 11 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl2
277- rebuild with libgda 1.2.0 and libgnome 1.2.0
278
279* Tue Jan 18 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.2-0vl1
280- new upstream release
281
282* Mon Dec 13 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.1-0vl1
283- new upstream release
284
285* Thu Dec  2 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.4.0-0vl1
286- new upstream release
287
288* Fri Nov 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.13-0vl2
289- rebuild with gnome-2.8 environment and libgsf-1.10.1
290
291* Tue Jun 29 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.13-0vl1
292- new upstream release
293- added BuildRequires: desktop-file-utils
294
295* Thu May  6 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.12-0vl1
296- new upstream release
297- Requires: libgsf >= 1.9.0, BuildPrereq: libgsf-devel >= 1.9.0
298
299* Wed Apr 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.11-0vl1
300- new upstream release
301
302* Wed Apr 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.10-0vl1
303- new upstream release
304
305* Sun Apr 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.9-0vl1
306- new upstream release
307
308* Thu Mar 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.8-0vl1
309- new upstream release
310
311* Wed Mar 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.7-0vl1
312- new upstream release
313- clean up spec file (a little bit!)
314
315* Thu Jan 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
316- new upstream release
317
318* Fri Jan 16 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.4-0vl1
319- new upstream release
320- to use intltool-0.28
321
322* Sun Dec 28 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.3-0vl1
323- new upstream release
324- rebuild with new toolchains
325
326* Sun Nov 30 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.2-0vl1
327- new upstream release
328- build with new libgnomeprint, libgnomeprintui
329
330* Fri Oct 10 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.1-0vl1
331- new upstream release
332
333* Thu Oct  2 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl2
334- rebuild with newer libgda, libgnomedb
335
336* Thu Sep 25 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-0vl1
337- updated to 1.2.0 (stable release)
338- guile support is temporarily off this version.
339
340* Mon Sep  9 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.20-1vl1
341- update to 1.1.20 (gtk+-2 port)
342- based on Redhat Rawhide 1.1.20-1
343
344* Thu May  1 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.13-0vl1
345- update to 1.0.13
346- rebuild with gal 0.24
347
348* Sun Mar  9 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.12-0vl2
349- guile support on
350- rebuild with new gal, bonobo, libgda
351
352* Fri Feb  7 2003 Masaki Shinomiya <shino@pos.to> 1.0.12-0vl1
353- New upstream release, remove xmliobackward.patch
354
355* Mon Dec 16 2002 Masaki Shinomiya <shino@pos.to> 1.0.11-0vl2
356- xml-io back to 1.0.10 because japanese corrups with new xml_parser
357
358* Sun Dec 15 2002 Masaki Shinomiya <shino@pos.to> 1.0.11-0vl1
359- New upstream release, fix for xml importing files with non ASCII characters.
360- Without guile, changelog.archive, requires, build scripts, description
361
362* Mon Nov 19 2002 Masaki Shinomiya <shino@pos.to> 1.0.10-0vl2
363- files: add gnumericConf.sh, which was missing
364
365* Mon Nov  4 2002 Masaki Shinomiya <shino@pos.to> 1.0.10-0vl1
366- New upstream release.
367- BuildPrereq oaf-devel
368
369* Mon Jul 29 2002 Masaki Shinomiya <shino@pos.to> 1.0.9-0vl1
370- New upstream release.
371
372* Mon Jul 1 2002 Masaki Shinomiya <shino@pos.to> 1.0.8-0vl1
373- New upstream release.
374- Default font and Japanese fonts in excel
375- requires
376
377* Sun Jun 30 2002 Masaki Shinomiya <shino@pos.to> 1.0.7-0vl1
378- New upstream release.
379- fixed plugins, apply patch2, remove patch3
380- files - no longer devel package
381- function-reference.html in help file
382
383* Thu Jan 24 2002 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.3-0vl1
384- New upstream release.
385
386* Wed Jan 16 2002 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.2-0vl1
387- New upstream release.
388- Fixed several owner dir.
389
390* Tue Jan 15 2002 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.1-0vl2
391- Build against with new gal
392
393* Mon Jan  7 2002 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.1-0vl1
394- New upstream release.
395
396* Fri Jan  4 2002 Akira TAGOH <tagoh@gnome.gr.jp> 1.0.0-0vl1
397- New upstream release.
398
399* Fri Dec 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.99.1-0vl1
400- New upstream release.
401- Applied XIM over-the-spot patch.
402- Fixed directories owner.
403
404* Wed Dec 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.99.0-0vl1
405- New upstream release.
406- Enable Bonobo.
407- Merged several RH patches.
408- Added BuildPreReq tags.
409
410* Tue Jun 19 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.61-0vl3
411- Fixed packaging mistake.
412
413* Mon May 14 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.61-0vl2
414- Rebuild for GAL 0.7
415
416* Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.61-0vl1
417- New upstream release.
418- Use rpmmacros.
419
420* Mon Feb  5 2001 Jun Nishii <jun@vinelinux.org>
421- 0.56-0vl2
422- update ja.po
423- avoid core dump when inserting a row
424
425* Mon Jul 10 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
426- updated to 0.56
427- remake spec with the orginal gnumeric spec file.
428- added ms_excel_read and edit_item patch from Japanese gnome users mailing list.
429
430* Tue May 16 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
431- updated to 0.53
432- remake SPEC based on gnumeric original.
433- added libxml183 patch for libxml 1.8.3
434
435* Thu Mar 29 2000 Kjartan Maraas <kmaraas@online.no>
436- Removed gnome-gnumeric-xl.png since it is nowhere to be found.
437- Added --without-bonobo and --without-gb.
438- Added %define for sysconfdir
439
440* Mon Feb 29 2000 Jody Goldberg <jgolbderg@home.com>
441- Updated version requirements for gnome-print, and gnome-libs.
442
443* Sun Jan 30 2000 Gregory McLean <gregm@comstar.net>
444- Added in some auto-detect the language files logic (rpm 3.0.xx only)
445
446* Mon Jan 12 2000 Jody Goldberg <jgolbderg@home.com>
447- Add depend on gtk+ >= 1.2.2 so that we can get gtk_object_get.
448
449* Mon Jan 03 2000 Gregory McLean <gregm@comstar.net>
450- Updated to 0.47
451
452* Mon Dec 20 1999 Jody Goldberg <jgolbderg@home.com>
453- Updated the libglade dependancy.
454- Remove req for guile.  We can build without it.
455
456* Thu Sep 02 1999 Gregory McLean <gregm@comstar.net>
457- Added small fix so glade generated dialogs appear.
458
459* Wed Jul 14 1999 Gregory McLean <gregm@comstar.net>
460- Added the gnome-print requirement.
461- Updated the file list to try and quiet down the updating.
462- added the sysconfdir
463
464* Tue Mar 9  1999 Gregory McLean <gregm@comstar.net>
465- Updated the spec file.
466
467* Thu Sep 24 1998 Michael Fulbright <msf@redhat.com>
468- Version 0.2
469
Note: See TracBrowser for help on using the repository browser.