source: projects/specs/trunk/g/gnumeric/gnumeric-vl.spec @ 11707

Revision 11707, 15.1 KB checked in by ara_t, 6 years ago (diff)

gnumeric: update to 1.12.41

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