[5311] | 1 | Summary: Calculator for the Mate desktop environment |
---|
| 2 | Name: mate-calc |
---|
[8359] | 3 | Version: 1.8.0 |
---|
[8537] | 4 | Release: 2%{?_dist_release} |
---|
[8359] | 5 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
---|
[5311] | 6 | License: GPLv2 |
---|
[5316] | 7 | Group: Applications/Productivity |
---|
[6679] | 8 | URL: http://mate-desktop.org/ |
---|
[5311] | 9 | |
---|
[8537] | 10 | # Vine |
---|
| 11 | Patch1001: mate-calc-1.8.0-ja.po.patch |
---|
| 12 | |
---|
[5311] | 13 | BuildRequires: mate-common |
---|
| 14 | BuildRequires: mate-doc-utils |
---|
| 15 | BuildRequires: gtk2-devel |
---|
| 16 | BuildRequires: libxml2-devel |
---|
| 17 | BuildRequires: bison |
---|
| 18 | BuildRequires: flex |
---|
| 19 | BuildRequires: gtk-doc |
---|
[8359] | 20 | BuildRequires: itstool |
---|
[5311] | 21 | BuildRequires: autoconf |
---|
| 22 | BuildRequires: automake |
---|
| 23 | |
---|
[7697] | 24 | Requires(posttrans,postun): glib2 |
---|
[5311] | 25 | Requires(post,postun): desktop-file-utils |
---|
| 26 | |
---|
| 27 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 28 | |
---|
| 29 | Vendor: Project Vine |
---|
| 30 | Distribution: Vine Linux |
---|
| 31 | Packager: Takemikaduchi |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %description |
---|
| 35 | This is v5.32.0 of mate-calc, the calculator application that was previously |
---|
| 36 | in the OpenWindows Deskset of the Solaris 8 operating system. |
---|
| 37 | Sun Microsystems Inc. have kindly given me permission to release it. |
---|
| 38 | |
---|
| 39 | It incorporates a multiple precision arithmetic packages based on the work |
---|
| 40 | of Professor Richard Brent, who has also kindly given me permission to make |
---|
| 41 | it available. |
---|
| 42 | |
---|
| 43 | There is a single graphics driver for Gtk2 included with this release. |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %prep |
---|
| 47 | %setup -q |
---|
[8537] | 48 | %patch1001 -p1 -b .vine |
---|
[5311] | 49 | |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 53 | %configure \ |
---|
[7697] | 54 | --disable-static |
---|
[5311] | 55 | |
---|
| 56 | %{__make} %{?_smp_mflags} |
---|
| 57 | |
---|
| 58 | |
---|
| 59 | %install |
---|
| 60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 61 | |
---|
| 62 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 63 | |
---|
| 64 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 65 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 66 | |
---|
| 67 | %find_lang %{name} |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %clean |
---|
| 71 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 72 | |
---|
| 73 | %post |
---|
| 74 | /sbin/ldconfig |
---|
| 75 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 76 | |
---|
| 77 | %postun |
---|
| 78 | /sbin/ldconfig |
---|
| 79 | update-desktop-database %{_datadir}/applications >& /dev/null ||: |
---|
| 80 | if [ $1 -eq 0 ]; then |
---|
| 81 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 82 | fi |
---|
| 83 | |
---|
| 84 | %posttrans |
---|
| 85 | glib-compile-schemas %{_datadir}/glib-2.0/schemas ||: |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | %files -f %{name}.lang |
---|
| 89 | %defattr(-,root,root,-) |
---|
| 90 | %doc COPYING ChangeLog NEWS README |
---|
[8537] | 91 | %{_bindir}/%{name} |
---|
| 92 | %{_bindir}/%{name}-cmd |
---|
[5311] | 93 | %{_bindir}/mate-calculator |
---|
[8537] | 94 | %{_datadir}/applications/%{name}.desktop |
---|
[7697] | 95 | %{_datadir}/glib-2.0/schemas/org.mate.calc.gschema.xml |
---|
[5311] | 96 | %{_datadir}/%{name} |
---|
[8359] | 97 | %{_datadir}/help/* |
---|
[8537] | 98 | %{_mandir}/man1/%{name}.1.gz |
---|
| 99 | %{_mandir}/man1/%{name}-cmd.1.gz |
---|
[5311] | 100 | |
---|
| 101 | |
---|
| 102 | %changelog |
---|
[8537] | 103 | * Sun Jun 08 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-2 |
---|
| 104 | - add Patch1001 (mate-calc-1.8.0-ja.po.patch) |
---|
| 105 | |
---|
[8359] | 106 | * Tue Apr 15 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1 |
---|
| 107 | - new upstream release |
---|
| 108 | - add BuildRequires: itstool |
---|
| 109 | |
---|
[8068] | 110 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2 |
---|
| 111 | - rebuild with VineSeed environment |
---|
| 112 | |
---|
[7697] | 113 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1 |
---|
| 114 | - new upstream release |
---|
| 115 | - remove BuildRequires: mate-conf-devel |
---|
| 116 | |
---|
[6679] | 117 | * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[6172] | 120 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[5316] | 123 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2 |
---|
| 124 | - change category |
---|
| 125 | |
---|
[5311] | 126 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 127 | - initial build for Vine Linux |
---|
| 128 | |
---|