eog-vl.spec 9.8 KB

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