eog-vl.spec 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336
  1. %define glib2_version 2.28.6
  2. %define pango_version 1.28.4
  3. %define gtk3_version 3.0.0
  4. %define gconf2_version 2.32.2
  5. %define gnome_desktop3_version 3.0.0
  6. %define gnome_icon_theme_version 3.0.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: 3.1.5
  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/3.1/%{name}-%{version}.tar.xz
  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: gtk3-devel >= %{gtk3_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-desktop3-devel >= %{gnome_desktop3_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: libpeas-devel
  36. BuildRequires: python-devel, pygobject-devel, pygtk2-devel
  37. BuildRequires: docbook-dtds
  38. Vendor: Project Vine
  39. Distribution: Vine Linux
  40. Packager: Takemikaduchi
  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: gtk3-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. %build
  58. %configure --disable-schemas-install --disable-scrollkeeper
  59. %__make %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  63. make install DESTDIR=$RPM_BUILD_ROOT
  64. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  65. rm -f $RPM_BUILD_ROOT%{_libdir}/eog/plugings/*.la
  66. rm -fr $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  67. mkdir -p $RPM_BUILD_ROOT%{_libdir}/eog/plugins
  68. desktop-file-install --vendor gnome --delete-original \
  69. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  70. $RPM_BUILD_ROOT%{_datadir}/applications/*
  71. %find_lang %{name}
  72. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. %post
  76. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  77. %posttrans
  78. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  79. update-desktop-database -q &> /dev/null || :
  80. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  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. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  87. fi
  88. %files -f %{name}.lang
  89. %defattr(-,root,root)
  90. %doc AUTHORS COPYING ChangeLog NEWS README
  91. %{_bindir}/eog
  92. %{_libdir}/eog
  93. %{_datadir}/GConf/gsettings/eog.convert
  94. %{_datadir}/applications/*.desktop
  95. %{_datadir}/eog
  96. %{_datadir}/glib-2.0/schemas/*.xml
  97. %{_datadir}/gnome
  98. %{_datadir}/icons/hicolor/*/apps/*
  99. %files devel
  100. %{_includedir}/eog-3.0
  101. %{_libdir}/pkgconfig/*.pc
  102. %{_datadir}/gtk-doc/html/eog
  103. %changelog
  104. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  105. - new upstream release
  106. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  107. - new upstream release
  108. - change BuildRequires: gtk3-devel instead of gtk2-devel
  109. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  110. - add BuildRequires: libpeas-devel
  111. - remove Source1,2
  112. - remove Patch0
  113. - fix %files
  114. * Thu Apr 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.1-2
  115. - Add Source{1,2}(Update Japanese Translation)
  116. - Add Patch0(Fix category of help)
  117. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  118. - new upstream release
  119. * Tue Oct 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  120. - add BuildRequires: librsvg2-devel
  121. - add devel sub package again
  122. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  123. - new upstream release
  124. - remove BuildRequires: libgnomeui-devel
  125. - change BuildRequires: libjpeg-turbo-devel instead of libjpeg-devel
  126. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-3
  127. - add devel sub package
  128. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  129. - rebuild with rpm-4.8.1 for pkg-config file
  130. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  131. - new upstream release
  132. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  133. - new upstream release
  134. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  135. - new upstream release
  136. - add BuildRequires: python-devel, pygobject-devel, pygtk2-devel
  137. * Sat Jan 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  138. - new upstream release
  139. - add BuildRequires: gnome-doc-utils >= 0.3.2, libjpeg-devel, docbook-dtds
  140. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  141. - new upstream release
  142. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  143. - new upstream release
  144. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  145. - new upstream release
  146. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  147. - new upstream release
  148. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3.1-1
  149. - new upstream release
  150. - changed Group to Applications/Graphics
  151. * Tue Oct 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  152. - new upstream release
  153. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  154. - new upstream release
  155. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2
  156. - rebuilt with python-2.5.2
  157. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  158. - new upstream release
  159. - removed BuildRequires: libgnomeprint[ui]-devel
  160. - added BuildRequires: gnome-icon-theme
  161. - spec in UTF-8
  162. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  163. - new upstream release
  164. * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  165. - new upstream release
  166. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1
  167. - new upstream release
  168. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  169. - new upstream release
  170. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1
  171. - new upstream release
  172. * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  173. - new upstream release
  174. - add BuildRequires: libexif-devel
  175. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  176. - new upstream release
  177. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  178. - new upstream release
  179. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.91-0vl1
  180. - new upstream release
  181. * Sun Feb 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  182. - new upstream release
  183. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  184. - new upstream release
  185. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  186. - new upstream release
  187. * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  188. - new upstream release
  189. * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  190. - new upstream release
  191. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1
  192. - new upstream version
  193. * Fri Jan 07 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1
  194. - new upstream release
  195. - added Japanese summary and description
  196. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  197. - new upstream release
  198. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-0vl1
  199. - new upstream release
  200. - rebuild with new toolchains
  201. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  202. - new upstream release
  203. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
  204. - new upstream release
  205. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.6-0vl1
  206. - new upstream release
  207. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  208. - new upstream release
  209. * Thu Jan 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl2
  210. - add missing files
  211. * Wed Jan 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  212. - new upstream release
  213. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1
  214. - new upstream release
  215. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl2
  216. - remove redhat category
  217. * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1
  218. - build for Vine Linux
  219. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  220. - 1.0.2
  221. - remove --copy-generic-name-to-name because there's no GenericName
  222. anymore
  223. - include libexecdir stuff
  224. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  225. - copy generic name to name and move to -Extra
  226. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  227. - 1.0.1, rebuild with new gail
  228. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  229. - automated rebuild
  230. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  231. - 1.0.0
  232. - use desktop-file-install
  233. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  234. - rebuild in different environment
  235. * Wed Jun 05 2002 Havoc Pennington <hp@redhat.com>
  236. - rebuild in different environment
  237. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  238. - automated rebuild
  239. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  240. - rebuild in different environment
  241. - build requires libgnomeprint
  242. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  243. - 0.118.0
  244. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  245. - 0.117.0
  246. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  247. - initial build