[521] | 1 | Name: gcalctool |
---|
[623] | 2 | Version: 5.28.2 |
---|
[521] | 3 | Release: 1%{?_dist_release} |
---|
| 4 | Summary: Gnome2 Calculator application |
---|
| 5 | Summary(ja): GNOME2 電卓アプリケーション |
---|
| 6 | Group: Applications/Productivity |
---|
| 7 | License: GPL |
---|
| 8 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 9 | |
---|
| 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 11 | BuildRequires: gtk2-devel >= 2.8.0 |
---|
| 12 | BuildRequires: glib2-devel |
---|
| 13 | BuildRequires: GConf2-devel |
---|
| 14 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 15 | BuildRequires: perl-XML-Parser scrollkeeper |
---|
| 16 | BuildRequires: flex, bison |
---|
[623] | 17 | BuildRequires: docbook-utils |
---|
| 18 | BuildRequires: desktop-file-utils |
---|
[521] | 19 | Requires(post,postun): scrollkeeper |
---|
| 20 | Requires(post,pre,preun): GConf2 |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | gcalctool is a calculator application based on Gtk2. |
---|
| 24 | |
---|
| 25 | %description -l ja |
---|
| 26 | gcalctool は Gtk2 ベースの電卓アプリケーションです。 |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | %prep |
---|
| 30 | %setup -q |
---|
| 31 | |
---|
| 32 | %build |
---|
| 33 | %configure --disable-schemas-install --disable-scrollkeeper |
---|
| 34 | make %{?_smp_mflsgs} |
---|
| 35 | |
---|
| 36 | %install |
---|
| 37 | rm -fr $RPM_BUILD_ROOT |
---|
| 38 | %makeinstall |
---|
| 39 | |
---|
| 40 | desktop-file-install --vendor gnome --delete-original \ |
---|
| 41 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 42 | $RPM_BUILD_ROOT%{_datadir}/applications/* |
---|
| 43 | |
---|
| 44 | %find_lang %{name} |
---|
| 45 | |
---|
| 46 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
| 47 | |
---|
| 48 | %clean |
---|
| 49 | rm -rf %{buildroot} |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %post |
---|
| 53 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 54 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 55 | gconftool-2 --makefile-install-rule \ |
---|
| 56 | %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null |
---|
| 57 | |
---|
| 58 | %pre |
---|
| 59 | if [ "$1" -gt 1 ]; then |
---|
| 60 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 61 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 62 | %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null |
---|
| 63 | fi |
---|
| 64 | |
---|
| 65 | %preun |
---|
| 66 | if [ "$1" -eq 0 ]; then |
---|
| 67 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 68 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 69 | %{_sysconfdir}/gconf/schemas/gcalctool.schemas > /dev/null |
---|
| 70 | fi |
---|
| 71 | |
---|
| 72 | %postun |
---|
| 73 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %files -f %{name}.lang |
---|
| 77 | %defattr(-,root,root) |
---|
| 78 | %doc COPYING NEWS README ChangeLog MAINTAINERS |
---|
| 79 | %{_bindir}/* |
---|
| 80 | %{_datadir}/applications/* |
---|
| 81 | %{_datadir}/gcalctool |
---|
| 82 | %{_datadir}/gnome/help/gcalctool |
---|
| 83 | %{_datadir}/omf/gcalctool |
---|
| 84 | %{_mandir}/man1/* |
---|
| 85 | %{_sysconfdir}/gconf/schemas/* |
---|
| 86 | |
---|
| 87 | %changelog |
---|
[623] | 88 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 5.28.2-1 |
---|
| 89 | - new upstream release |
---|
| 90 | - add BuildRequires: docbook-utils, desktop-file-utils |
---|
| 91 | |
---|
[521] | 92 | * Sun Nov 01 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.28.1-1 |
---|
| 93 | - new upstream release |
---|
| 94 | |
---|
| 95 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.26.3-1 |
---|
| 96 | - new upstream release |
---|
| 97 | |
---|
| 98 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 5.26.1-1 |
---|
| 99 | - new upstream release |
---|
| 100 | |
---|
| 101 | * Fri Apr 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.26.0-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
| 104 | * Sat Nov 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.24.2-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
| 107 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 5.24.1-1 |
---|
| 108 | - new upstream release |
---|
| 109 | |
---|
| 110 | * Tue Oct 14 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.24.0-1vl5 |
---|
| 111 | - new upstream release |
---|
| 112 | - spec in UTF-8 |
---|
| 113 | |
---|
| 114 | * Sun Apr 6 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.22.0-1vl5 |
---|
| 115 | - new upstream release |
---|
| 116 | - added %%pre, %%preun section |
---|
| 117 | |
---|
| 118 | * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.20.2-0vl1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
| 121 | * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.9.14-0vl1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
| 124 | * Sat Nov 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 5.8.23-0vl2 |
---|
| 125 | - add BuildRequires: |
---|
| 126 | - libgnome-devel, libgnomeui-devel, gnome-doc-utils, flex, bison |
---|
| 127 | |
---|
| 128 | * Sat Sep 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.8.23-0vl1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
| 131 | * Sun Jun 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.8.13-0vl1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
| 134 | * Mon May 8 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.8.10-0vl1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
| 137 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 5.7.32-0vl1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
| 140 | * Wed Jan 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.7.27-0vl1 |
---|
| 141 | - updated to 5.7.27 |
---|
| 142 | - added BuildRequires: scrollkeeper, atk-devel |
---|
| 143 | |
---|
| 144 | * Wed Oct 12 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.6.31-0vl1 |
---|
| 145 | - updated to 5.6.31 |
---|
| 146 | |
---|
| 147 | * Fri Jun 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.6.14-0vl1 |
---|
| 148 | - updated to 5.6.14 |
---|
| 149 | - change Group: to Applications/Productivity |
---|
| 150 | |
---|
| 151 | * Sun Apr 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.5.41-0vl1 |
---|
| 152 | - updated to 5.5.41 |
---|
| 153 | |
---|
| 154 | * Fri Dec 17 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.4.20-0vl1 |
---|
| 155 | - updated to 4.4.20 |
---|
| 156 | |
---|
| 157 | * Sun Mar 21 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.50-0vl1 |
---|
| 158 | - updated to 4.3.50 |
---|
| 159 | |
---|
| 160 | * Thu Jan 15 2004 Tomoya TAKA <taka@vinelinux.org> 4.3.38-0vl2 |
---|
| 161 | - add BuildRequires: perl-XML-Parser |
---|
| 162 | |
---|
| 163 | * Thu Jan 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.3.38-0vl1 |
---|
| 164 | - new upstream release. |
---|
| 165 | - exec scrolkeeper-update %post and %postun section |
---|
| 166 | |
---|
| 167 | * Tue Dec 09 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 4.3.29-0vl1 |
---|
| 168 | - initial release. |
---|
| 169 | |
---|