eog-vl.spec 11 KB

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