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

Revision 10716, 15.1 KB checked in by Takemikaduchi, 8 years ago (diff)

GNOME-3.20

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