eog-vl.spec 11 KB

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