[521] | 1 | Summary: GTK 2 based scientific calculator |
---|
| 2 | Summary(ja): GTK2 ベースの関数電卓 |
---|
| 3 | Name: galculator |
---|
[8864] | 4 | Version: 2.1.3 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
[521] | 6 | License: GPLv2 |
---|
| 7 | Group: Applications/Accessories |
---|
| 8 | Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: gtk2-devel >= 2.6.0 |
---|
| 12 | BuildRequires: libglade2-devel |
---|
| 13 | |
---|
| 14 | Vendor: Project Vine |
---|
| 15 | Distribution: Vine Linux |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | galculator is a GTK 2 based scientific calculator with "ordinary" and reverse polish notation. |
---|
| 19 | |
---|
| 20 | %description -l ja |
---|
| 21 | galculator は GTK2 ベースの 電卓です。 |
---|
| 22 | |
---|
| 23 | %prep |
---|
| 24 | %setup -q |
---|
| 25 | |
---|
| 26 | %build |
---|
[8864] | 27 | %configure --disable-gtk3 |
---|
[521] | 28 | |
---|
| 29 | %install |
---|
| 30 | rm -rf $RPM_BUILD_ROOT |
---|
| 31 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 32 | |
---|
| 33 | %find_lang %{name} |
---|
| 34 | |
---|
| 35 | %clean |
---|
| 36 | rm -rf $RPM_BUILD_ROOT |
---|
| 37 | |
---|
[8864] | 38 | %post |
---|
| 39 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 40 | |
---|
| 41 | %postun |
---|
| 42 | if [ $1 -eq 0 ] ; then |
---|
| 43 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
| 44 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 45 | fi |
---|
| 46 | |
---|
| 47 | %posttrans |
---|
| 48 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
| 49 | |
---|
[521] | 50 | %files -f %{name}.lang |
---|
| 51 | %defattr(-, root, root) |
---|
[8864] | 52 | %doc AUTHORS ChangeLog NEWS README COPYING |
---|
[521] | 53 | %{_bindir}/galculator |
---|
| 54 | %{_datadir}/applications/galculator.desktop |
---|
| 55 | %{_datadir}/%{name} |
---|
[8864] | 56 | %{_datadir}/icons/hicolor/* |
---|
[521] | 57 | %{_datadir}/pixmaps/* |
---|
| 58 | %{_mandir}/man1/%{name}.1* |
---|
| 59 | |
---|
| 60 | %changelog |
---|
[8864] | 61 | * Sat Jul 26 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 2.1.3-1 |
---|
| 62 | - new upstream release |
---|
| 63 | - added --disable-gtk3 option in %%configure |
---|
| 64 | - run gtk-update-icon-cache in %%posttrans, %%postun |
---|
| 65 | |
---|
[3735] | 66 | * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.4-2 |
---|
| 67 | - rebuild with rpm-4.8.1 |
---|
| 68 | |
---|
[521] | 69 | * Sun Apr 26 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.3.4-1 |
---|
| 70 | - new upstream release |
---|
| 71 | - updated BuildRequires |
---|
| 72 | - changed Group to Applications/Accessories |
---|
| 73 | |
---|
| 74 | * Thu Sep 25 2008 Shu KONNO <owa@bg.wakwak.com> 1.3.1-1vl5 |
---|
| 75 | - applied new versioning policy, spec in utf-8 |
---|
| 76 | |
---|
| 77 | * Fri Sep 28 2007 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.3.1-0vl1 |
---|
| 78 | - update |
---|
| 79 | |
---|
| 80 | * Wed Jun 7 2006 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.5.2-0vl1 |
---|
| 81 | - update |
---|
| 82 | - Group changed(Applications/System -> Applications/Productivity) |
---|
| 83 | |
---|
| 84 | * Tue May 10 2005 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.5-0vl1 |
---|
| 85 | - update |
---|
| 86 | - Group changed(Application/Math -> Applications/System) |
---|
| 87 | |
---|
| 88 | * Tue Jun 15 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.3-0vl1 |
---|
| 89 | - update |
---|
| 90 | |
---|
| 91 | * Mon Apr 5 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.2-0vl1 |
---|
| 92 | - update |
---|
| 93 | |
---|
| 94 | * Thu Mar 11 2004 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.2.0-0vl1 |
---|
| 95 | - update |
---|
| 96 | |
---|
| 97 | * Wed Nov 12 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1.4-0vl1 |
---|
| 98 | - update |
---|
| 99 | |
---|
| 100 | * Mon Sep 1 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1.3-0vl1 |
---|
| 101 | - update |
---|
| 102 | |
---|
| 103 | * Wed Jul 2 2003 Hiroaki Irokawa <irorin@terra.dti.ne.jp> 1.1.1-0vl1 |
---|
| 104 | - 1st build for VineSeed |
---|
| 105 | |
---|
| 106 | * Thu Oct 3 2002 Simon Floery <simon.floery@gmx.at> |
---|
| 107 | - description update |
---|