eog-vl.spec 13 KB

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