eog-vl.spec 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446
  1. %define glib2_version 2.48.0
  2. %define pango_version 1.40.0
  3. %define gtk3_version 3.22.30
  4. %define gnome_desktop3_version 3.20.0
  5. %define gnome_icon_theme_version 3.12.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.28.4
  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.28/%{name}-%{version}.tar.xz
  16. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: meson
  18. BuildRequires: libappstream-glib-devel
  19. BuildRequires: glib2-devel >= %{glib2_version}
  20. BuildRequires: pango-devel >= %{pango_version}
  21. BuildRequires: gtk3-devel >= %{gtk3_version}
  22. BuildRequires: libxml2-devel
  23. BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version}
  24. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  25. BuildRequires: gnome-desktop3-devel >= %{gnome_desktop3_version}
  26. BuildRequires: shared-mime-info >= 0.20
  27. BuildRequires: libexif-devel
  28. BuildRequires: libXt-devel
  29. BuildRequires: libffi-devel
  30. BuildRequires: lcms2-devel
  31. BuildRequires: exempi-devel
  32. BuildRequires: yelp-tools
  33. BuildRequires: libjpeg-turbo-devel
  34. BuildRequires: librsvg2-devel
  35. BuildRequires: libpeas-devel
  36. BuildRequires: gtk-doc
  37. Vendor: Project Vine
  38. Distribution: Vine Linux
  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. %package docs
  53. Summary: Documentation for %{name}
  54. Summary(ja): %{name} 用のドキュメント
  55. Group: Documentation
  56. BuildArch: noarch
  57. %description docs
  58. This package contains documentation for %{name}.
  59. %prep
  60. %setup -q
  61. %build
  62. %meson -Dgtk_doc=true
  63. %meson_build
  64. %install
  65. rm -rf $RPM_BUILD_ROOT
  66. %meson_install
  67. mkdir -p $RPM_BUILD_ROOT%{_libdir}/eog/plugins
  68. desktop-file-install --vendor "" --delete-original \
  69. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  70. --add-only-show-in GNOME \
  71. $RPM_BUILD_ROOT%{_datadir}/applications/*
  72. %find_lang %{name} --with-gnome
  73. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  74. %clean
  75. rm -rf $RPM_BUILD_ROOT
  76. %post
  77. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  78. %posttrans
  79. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  80. update-desktop-database -q &> /dev/null || :
  81. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  82. %postun
  83. if [ $1 -eq 0 ] ; then
  84. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  85. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  86. update-desktop-database -q &> /dev/null || :
  87. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  88. fi
  89. %files -f %{name}.lang
  90. %defattr(-,root,root,-)
  91. %license COPYING
  92. %doc AUTHORS ChangeLog NEWS README
  93. %{_bindir}/eog
  94. %{_libdir}/eog
  95. %{_datadir}/GConf/gsettings/eog.convert
  96. %{_datadir}/metainfo/eog.appdata.xml
  97. %{_datadir}/applications/*.desktop
  98. %{_datadir}/eog
  99. %{_datadir}/glib-2.0/schemas/*.xml
  100. %{_datadir}/icons/hicolor/*/apps/*
  101. %files devel
  102. %defattr(-,root,root,-)
  103. %{_includedir}/eog-3.0
  104. %{_libdir}/pkgconfig/*.pc
  105. %files docs
  106. %defattr(-,root,root,-)
  107. %{_datadir}/gtk-doc/html/eog
  108. %changelog
  109. * Mon Dec 31 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.28.4-1
  110. - new upstream release.
  111. * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.3-1
  112. - new upstream release
  113. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  114. - new upstream release
  115. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1
  116. - new upstream release
  117. * Sun Aug 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.3-1
  118. - new upstream release
  119. * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  120. - new upstream release
  121. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-2
  122. - remove *.la files
  123. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  124. - new upstream release
  125. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  126. - new upstream release
  127. - create %%{name}-docs subpackage
  128. * Mon Nov 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  129. - new upstream release
  130. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  131. - new upstream release
  132. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  133. - new upstream release
  134. * Wed Jun 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-2
  135. - add OnlyShowIn=GNOME; to gnome-eog.desktop
  136. * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  137. - new upstream release
  138. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  139. - new upstream release
  140. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  141. - new upstream release
  142. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  143. - new upstream release
  144. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  145. - new upstream release
  146. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  147. - new upstream release
  148. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  149. - new upstream release
  150. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  151. - new upstream release
  152. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  153. - new upstream release
  154. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  155. - new upstream release
  156. - add BuildRequires: exempi-devel, yelp-tools
  157. * Tue Jul 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1
  158. - new upstream release
  159. * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  160. - new upstream release
  161. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  162. - new upstream release
  163. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  164. - new upstream release
  165. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  166. - new upstream release
  167. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  168. - new upstream release
  169. - add BuildRequires: libxml2-devel
  170. * Mon Sep 26 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.92-3
  171. - update translation from master.
  172. * Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.92-2
  173. - update BR from lcms-devel to lcms2-devel
  174. - translation testing
  175. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  176. - new upstream release
  177. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  178. - new upstream release
  179. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  180. - new upstream release
  181. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  182. - new upstream release
  183. - change BuildRequires: gtk3-devel instead of gtk2-devel
  184. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  185. - add BuildRequires: libpeas-devel
  186. - remove Source1,2
  187. - remove Patch0
  188. - fix %files
  189. * Thu Apr 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.1-2
  190. - Add Source{1,2}(Update Japanese Translation)
  191. - Add Patch0(Fix category of help)
  192. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  193. - new upstream release
  194. * Tue Oct 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  195. - add BuildRequires: librsvg2-devel
  196. - add devel sub package again
  197. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  198. - new upstream release
  199. - remove BuildRequires: libgnomeui-devel
  200. - change BuildRequires: libjpeg-turbo-devel instead of libjpeg-devel
  201. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-3
  202. - add devel sub package
  203. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  204. - rebuild with rpm-4.8.1 for pkg-config file
  205. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  206. - new upstream release
  207. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  208. - new upstream release
  209. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  210. - new upstream release
  211. - add BuildRequires: python-devel, pygobject-devel, pygtk2-devel
  212. * Sat Jan 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  213. - new upstream release
  214. - add BuildRequires: gnome-doc-utils >= 0.3.2, libjpeg-devel, docbook-dtds
  215. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  216. - new upstream release
  217. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  218. - new upstream release
  219. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  220. - new upstream release
  221. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  222. - new upstream release
  223. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3.1-1
  224. - new upstream release
  225. - changed Group to Applications/Graphics
  226. * Tue Oct 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  227. - new upstream release
  228. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  229. - new upstream release
  230. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2
  231. - rebuilt with python-2.5.2
  232. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  233. - new upstream release
  234. - removed BuildRequires: libgnomeprint[ui]-devel
  235. - added BuildRequires: gnome-icon-theme
  236. - spec in UTF-8
  237. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  238. - new upstream release
  239. * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  240. - new upstream release
  241. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1
  242. - new upstream release
  243. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  244. - new upstream release
  245. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1
  246. - new upstream release
  247. * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  248. - new upstream release
  249. - add BuildRequires: libexif-devel
  250. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  251. - new upstream release
  252. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  253. - new upstream release
  254. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.91-0vl1
  255. - new upstream release
  256. * Sun Feb 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  257. - new upstream release
  258. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  259. - new upstream release
  260. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  261. - new upstream release
  262. * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  263. - new upstream release
  264. * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  265. - new upstream release
  266. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1
  267. - new upstream version
  268. * Fri Jan 07 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1
  269. - new upstream release
  270. - added Japanese summary and description
  271. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  272. - new upstream release
  273. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-0vl1
  274. - new upstream release
  275. - rebuild with new toolchains
  276. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  277. - new upstream release
  278. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
  279. - new upstream release
  280. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.6-0vl1
  281. - new upstream release
  282. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  283. - new upstream release
  284. * Thu Jan 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl2
  285. - add missing files
  286. * Wed Jan 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  287. - new upstream release
  288. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1
  289. - new upstream release
  290. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl2
  291. - remove redhat category
  292. * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1
  293. - build for Vine Linux
  294. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  295. - 1.0.2
  296. - remove --copy-generic-name-to-name because there's no GenericName
  297. anymore
  298. - include libexecdir stuff
  299. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  300. - copy generic name to name and move to -Extra
  301. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  302. - 1.0.1, rebuild with new gail
  303. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  304. - automated rebuild
  305. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  306. - 1.0.0
  307. - use desktop-file-install
  308. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  309. - rebuild in different environment
  310. * Wed Jun 05 2002 Havoc Pennington <hp@redhat.com>
  311. - rebuild in different environment
  312. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  313. - automated rebuild
  314. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  315. - rebuild in different environment
  316. - build requires libgnomeprint
  317. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  318. - 0.118.0
  319. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  320. - 0.117.0
  321. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  322. - initial build