eog-vl.spec 9.4 KB

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