eog-vl.spec 8.3 KB

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