[805] | 1 | %define glib2_version 2.24.0 |
---|
| 2 | %define pango_version 1.28.0 |
---|
| 3 | %define gtk2_version 2.20.0 |
---|
[521] | 4 | %define gconf2_version 2.28.0 |
---|
| 5 | %define libgnomeui_version 2.24.1 |
---|
[805] | 6 | %define gnome_desktop_version 2.30.0 |
---|
| 7 | %define gnome_icon_theme_version 2.30.0 |
---|
[521] | 8 | %define desktop_file_utils_version 0.3 |
---|
| 9 | |
---|
| 10 | Summary: Eye of GNOME image viewer |
---|
| 11 | Summary(ja): Eye of GNOME 画像ビューワ |
---|
| 12 | Name: eog |
---|
[926] | 13 | Version: 2.30.1 |
---|
[521] | 14 | Release: 1%{?_dist_release} |
---|
| 15 | URL: http://projects.gnome.org/eog/ |
---|
| 16 | Group: Applications/Graphics |
---|
| 17 | License: GPL |
---|
| 18 | |
---|
| 19 | Source0: %{name}-%{version}.tar.bz2 |
---|
| 20 | |
---|
| 21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 22 | Requires(post,postun): scrollkeeper |
---|
| 23 | Requires(post,pre,preun): GConf2 |
---|
| 24 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
| 25 | BuildRequires: pango-devel >= %{pango_version} |
---|
| 26 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
| 27 | BuildRequires: GConf2-devel >= %{gconf2_version} |
---|
| 28 | BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
---|
| 29 | BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version} |
---|
| 30 | BuildRequires: desktop-file-utils >= %{desktop_file_utils_version} |
---|
| 31 | BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} |
---|
| 32 | BuildRequires: shared-mime-info >= 0.20 |
---|
| 33 | BuildRequires: libexif-devel |
---|
| 34 | BuildRequires: libXt-devel |
---|
| 35 | BuildRequires: libffi-devel |
---|
| 36 | BuildRequires: lcms-devel |
---|
| 37 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
| 38 | BuildRequires: libjpeg-devel |
---|
[805] | 39 | BuildRequires: python-devel, pygobject-devel, pygtk2-devel |
---|
[521] | 40 | BuildRequires: docbook-dtds |
---|
| 41 | |
---|
| 42 | %description |
---|
| 43 | Eye of GNOME (EOG) is an image viewer component used by Nautilus. |
---|
| 44 | |
---|
| 45 | %description -l ja |
---|
| 46 | Eye of GNOME (EOG) は Nautilus が使用する画像ビューワです. |
---|
| 47 | |
---|
| 48 | %prep |
---|
| 49 | %setup -q |
---|
| 50 | |
---|
| 51 | %build |
---|
| 52 | %configure --disable-schemas-install --disable-scrollkeeper |
---|
| 53 | %__make %{?_smp_mflags} |
---|
| 54 | |
---|
| 55 | %install |
---|
| 56 | rm -rf $RPM_BUILD_ROOT |
---|
| 57 | |
---|
| 58 | export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
---|
| 59 | %makeinstall |
---|
| 60 | unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
---|
| 61 | |
---|
| 62 | rm -fr $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper |
---|
| 63 | |
---|
| 64 | mkdir -p $RPM_BUILD_ROOT%{_libdir}/eog/plugins |
---|
| 65 | |
---|
| 66 | desktop-file-install --vendor gnome --delete-original \ |
---|
| 67 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 68 | $RPM_BUILD_ROOT%{_datadir}/applications/* |
---|
| 69 | |
---|
| 70 | %find_lang %{name} |
---|
| 71 | |
---|
| 72 | rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
| 73 | |
---|
| 74 | %clean |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | |
---|
| 77 | %post |
---|
| 78 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 79 | gconftool-2 --makefile-install-rule \ |
---|
| 80 | %{_sysconfdir}/gconf/schemas/eog.schemas > /dev/null |
---|
| 81 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 82 | |
---|
| 83 | %posttrans |
---|
| 84 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 85 | update-desktop-database -q &> /dev/null || : |
---|
| 86 | |
---|
| 87 | %pre |
---|
| 88 | if [ "$1" -gt 1 ]; then |
---|
| 89 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 90 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 91 | %{_sysconfdir}/gconf/schemas/eog.schemas >/dev/null || : |
---|
| 92 | fi |
---|
| 93 | |
---|
| 94 | %preun |
---|
| 95 | if [ "$1" -eq 0 ]; then |
---|
| 96 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
| 97 | gconftool-2 --makefile-uninstall-rule \ |
---|
| 98 | %{_sysconfdir}/gconf/schemas/eog.schemas >/dev/null || : |
---|
| 99 | fi |
---|
| 100 | |
---|
| 101 | %postun |
---|
| 102 | if [ $1 -eq 0 ] ; then |
---|
| 103 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 104 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 105 | update-desktop-database -q &> /dev/null || : |
---|
| 106 | fi |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | %files -f %{name}.lang |
---|
| 110 | %defattr(-,root,root) |
---|
| 111 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 112 | %{_datadir}/gnome |
---|
| 113 | %{_datadir}/applications/*.desktop |
---|
| 114 | %{_datadir}/omf |
---|
| 115 | %{_datadir}/eog |
---|
| 116 | %{_datadir}/icons/hicolor/*/apps/* |
---|
| 117 | %{_bindir}/* |
---|
| 118 | %{_sysconfdir}/gconf/schemas/*.schemas |
---|
| 119 | %{_libdir}/eog |
---|
| 120 | |
---|
| 121 | # devel files |
---|
| 122 | %{_includedir}/eog-2.20 |
---|
| 123 | %{_libdir}/pkgconfig/*.pc |
---|
| 124 | %{_datadir}/gtk-doc/html/eog |
---|
| 125 | |
---|
| 126 | %changelog |
---|
[926] | 127 | * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[805] | 130 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 131 | - new upstream release |
---|
| 132 | - add BuildRequires: python-devel, pygobject-devel, pygtk2-devel |
---|
| 133 | |
---|
[521] | 134 | * Sat Jan 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1 |
---|
| 135 | - new upstream release |
---|
| 136 | - add BuildRequires: gnome-doc-utils >= 0.3.2, libjpeg-devel, docbook-dtds |
---|
| 137 | |
---|
| 138 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
| 141 | * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1 |
---|
| 142 | - new upstream release |
---|
| 143 | |
---|
| 144 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
| 145 | - new upstream release |
---|
| 146 | |
---|
| 147 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 148 | - new upstream release |
---|
| 149 | |
---|
| 150 | * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3.1-1 |
---|
| 151 | - new upstream release |
---|
| 152 | - changed Group to Applications/Graphics |
---|
| 153 | |
---|
| 154 | * Tue Oct 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
| 157 | * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
| 160 | * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2 |
---|
| 161 | - rebuilt with python-2.5.2 |
---|
| 162 | |
---|
| 163 | * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
| 164 | - new upstream release |
---|
| 165 | - removed BuildRequires: libgnomeprint[ui]-devel |
---|
| 166 | - added BuildRequires: gnome-icon-theme |
---|
| 167 | - spec in UTF-8 |
---|
| 168 | |
---|
| 169 | * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
| 172 | * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
| 173 | - new upstream release |
---|
| 174 | |
---|
| 175 | * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
| 178 | * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
| 181 | * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1 |
---|
| 182 | - new upstream release |
---|
| 183 | |
---|
| 184 | * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1 |
---|
| 185 | - new upstream release |
---|
| 186 | - add BuildRequires: libexif-devel |
---|
| 187 | |
---|
| 188 | * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
| 191 | * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
| 194 | * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.91-0vl1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
| 197 | * Sun Feb 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
| 200 | * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1 |
---|
| 201 | - new upstream release |
---|
| 202 | |
---|
| 203 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
| 206 | * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
| 209 | * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1 |
---|
| 210 | - new upstream release |
---|
| 211 | |
---|
| 212 | * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1 |
---|
| 213 | - new upstream version |
---|
| 214 | |
---|
| 215 | * Fri Jan 07 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1 |
---|
| 216 | - new upstream release |
---|
| 217 | - added Japanese summary and description |
---|
| 218 | |
---|
| 219 | * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1 |
---|
| 220 | - new upstream release |
---|
| 221 | |
---|
| 222 | * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-0vl1 |
---|
| 223 | - new upstream release |
---|
| 224 | - rebuild with new toolchains |
---|
| 225 | |
---|
| 226 | * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1 |
---|
| 227 | - new upstream release |
---|
| 228 | |
---|
| 229 | * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1 |
---|
| 230 | - new upstream release |
---|
| 231 | |
---|
| 232 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.6-0vl1 |
---|
| 233 | - new upstream release |
---|
| 234 | |
---|
| 235 | * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1 |
---|
| 236 | - new upstream release |
---|
| 237 | |
---|
| 238 | * Thu Jan 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl2 |
---|
| 239 | - add missing files |
---|
| 240 | |
---|
| 241 | * Wed Jan 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1 |
---|
| 242 | - new upstream release |
---|
| 243 | |
---|
| 244 | * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1 |
---|
| 245 | - new upstream release |
---|
| 246 | |
---|
| 247 | * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl2 |
---|
| 248 | - remove redhat category |
---|
| 249 | |
---|
| 250 | * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1 |
---|
| 251 | - build for Vine Linux |
---|
| 252 | |
---|
| 253 | * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com> |
---|
| 254 | - 1.0.2 |
---|
| 255 | - remove --copy-generic-name-to-name because there's no GenericName |
---|
| 256 | anymore |
---|
| 257 | - include libexecdir stuff |
---|
| 258 | |
---|
| 259 | * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com> |
---|
| 260 | - copy generic name to name and move to -Extra |
---|
| 261 | |
---|
| 262 | * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com> |
---|
| 263 | - 1.0.1, rebuild with new gail |
---|
| 264 | |
---|
| 265 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 266 | - automated rebuild |
---|
| 267 | |
---|
| 268 | * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com> |
---|
| 269 | - 1.0.0 |
---|
| 270 | - use desktop-file-install |
---|
| 271 | |
---|
| 272 | * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com> |
---|
| 273 | - rebuild in different environment |
---|
| 274 | |
---|
| 275 | * Wed Jun 05 2002 Havoc Pennington <hp@redhat.com> |
---|
| 276 | - rebuild in different environment |
---|
| 277 | |
---|
| 278 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
---|
| 279 | - automated rebuild |
---|
| 280 | |
---|
| 281 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
| 282 | - rebuild in different environment |
---|
| 283 | - build requires libgnomeprint |
---|
| 284 | |
---|
| 285 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
---|
| 286 | - 0.118.0 |
---|
| 287 | |
---|
| 288 | * Fri May 3 2002 Havoc Pennington <hp@redhat.com> |
---|
| 289 | - 0.117.0 |
---|
| 290 | |
---|
| 291 | * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com> |
---|
| 292 | - initial build |
---|
| 293 | |
---|
| 294 | |
---|
| 295 | |
---|