eog-vl.spec 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. %define glib2_version 2.44.0
  2. %define pango_version 1.36.3
  3. %define gtk3_version 3.16.0
  4. %define gnome_desktop3_version 3.16.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.16.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.16/%{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. rm -f $RPM_BUILD_ROOT%{_libdir}/eog/plugings/*.la
  68. mkdir -p $RPM_BUILD_ROOT%{_libdir}/eog/plugins
  69. desktop-file-install --vendor gnome --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. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1
  111. - new upstream release
  112. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  113. - new upstream release
  114. - create %%{name}-docs subpackage
  115. * Mon Nov 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  116. - new upstream release
  117. * Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
  118. - new upstream release
  119. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
  120. - new upstream release
  121. * Wed Jun 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-2
  122. - add OnlyShowIn=GNOME; to gnome-eog.desktop
  123. * Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
  124. - new upstream release
  125. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
  126. - new upstream release
  127. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
  128. - new upstream release
  129. * Sun Nov 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1
  130. - new upstream release
  131. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
  132. - new upstream release
  133. * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
  134. - new upstream release
  135. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1
  136. - new upstream release
  137. * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1
  138. - new upstream release
  139. * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
  140. - new upstream release
  141. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  142. - new upstream release
  143. - add BuildRequires: exempi-devel, yelp-tools
  144. * Tue Jul 17 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.3-1
  145. - new upstream release
  146. * Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  147. - new upstream release
  148. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  149. - new upstream release
  150. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  151. - new upstream release
  152. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  153. - new upstream release
  154. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  155. - new upstream release
  156. - add BuildRequires: libxml2-devel
  157. * Mon Sep 26 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.92-3
  158. - update translation from master.
  159. * Sat Sep 24 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.1.92-2
  160. - update BR from lcms-devel to lcms2-devel
  161. - translation testing
  162. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  163. - new upstream release
  164. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  165. - new upstream release
  166. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  167. - new upstream release
  168. * Wed Aug 17 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  169. - new upstream release
  170. - change BuildRequires: gtk3-devel instead of gtk2-devel
  171. - change BuildRequires: gnome-desktop3-devel instead of gnome-desktop-devel
  172. - add BuildRequires: libpeas-devel
  173. - remove Source1,2
  174. - remove Patch0
  175. - fix %files
  176. * Thu Apr 07 2011 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.32.1-2
  177. - Add Source{1,2}(Update Japanese Translation)
  178. - Add Patch0(Fix category of help)
  179. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  180. - new upstream release
  181. * Tue Oct 19 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-2
  182. - add BuildRequires: librsvg2-devel
  183. - add devel sub package again
  184. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  185. - new upstream release
  186. - remove BuildRequires: libgnomeui-devel
  187. - change BuildRequires: libjpeg-turbo-devel instead of libjpeg-devel
  188. * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-3
  189. - add devel sub package
  190. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2
  191. - rebuild with rpm-4.8.1 for pkg-config file
  192. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  193. - new upstream release
  194. * Sat May 01 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
  195. - new upstream release
  196. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  197. - new upstream release
  198. - add BuildRequires: python-devel, pygobject-devel, pygtk2-devel
  199. * Sat Jan 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  200. - new upstream release
  201. - add BuildRequires: gnome-doc-utils >= 0.3.2, libjpeg-devel, docbook-dtds
  202. * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.3-1
  203. - new upstream release
  204. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  205. - new upstream release
  206. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  207. - new upstream release
  208. * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  209. - new upstream release
  210. * Mon Jan 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.3.1-1
  211. - new upstream release
  212. - changed Group to Applications/Graphics
  213. * Tue Oct 28 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.1-1
  214. - new upstream release
  215. * Wed Sep 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  216. - new upstream release
  217. * Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2
  218. - rebuilt with python-2.5.2
  219. * Thu Jun 5 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1
  220. - new upstream release
  221. - removed BuildRequires: libgnomeprint[ui]-devel
  222. - added BuildRequires: gnome-icon-theme
  223. - spec in UTF-8
  224. * Thu Apr 10 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5
  225. - new upstream release
  226. * Mon Mar 31 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  227. - new upstream release
  228. * Thu Dec 13 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.3-0vl1
  229. - new upstream release
  230. * Fri Apr 27 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  231. - new upstream release
  232. * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.3-0vl1
  233. - new upstream release
  234. * Wed May 31 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.2-0vl1
  235. - new upstream release
  236. - add BuildRequires: libexif-devel
  237. * Wed Apr 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.1-0vl1
  238. - new upstream release
  239. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  240. - new upstream release
  241. * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.91-0vl1
  242. - new upstream release
  243. * Sun Feb 12 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1
  244. - new upstream release
  245. * Wed Oct 05 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.1-0vl1
  246. - new upstream release
  247. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  248. - new upstream release
  249. * Thu Aug 04 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1
  250. - new upstream release
  251. * Wed Mar 30 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  252. - new upstream release
  253. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.9.0-0vl1
  254. - new upstream version
  255. * Fri Jan 07 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.2-0vl1
  256. - new upstream release
  257. - added Japanese summary and description
  258. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  259. - new upstream release
  260. * Mon Dec 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.1-0vl1
  261. - new upstream release
  262. - rebuild with new toolchains
  263. * Thu Sep 11 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  264. - new upstream release
  265. * Fri Sep 05 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.90-0vl1
  266. - new upstream release
  267. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.6-0vl1
  268. - new upstream release
  269. * Tue Jun 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.2-0vl1
  270. - new upstream release
  271. * Thu Jan 30 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl2
  272. - add missing files
  273. * Wed Jan 29 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  274. - new upstream release
  275. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1
  276. - new upstream release
  277. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl2
  278. - remove redhat category
  279. * Mon Dec 16 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.3-0vl1
  280. - build for Vine Linux
  281. * Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
  282. - 1.0.2
  283. - remove --copy-generic-name-to-name because there's no GenericName
  284. anymore
  285. - include libexecdir stuff
  286. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  287. - copy generic name to name and move to -Extra
  288. * Mon Jul 29 2002 Havoc Pennington <hp@redhat.com>
  289. - 1.0.1, rebuild with new gail
  290. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  291. - automated rebuild
  292. * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
  293. - 1.0.0
  294. - use desktop-file-install
  295. * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
  296. - rebuild in different environment
  297. * Wed Jun 05 2002 Havoc Pennington <hp@redhat.com>
  298. - rebuild in different environment
  299. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  300. - automated rebuild
  301. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  302. - rebuild in different environment
  303. - build requires libgnomeprint
  304. * Tue May 21 2002 Havoc Pennington <hp@redhat.com>
  305. - 0.118.0
  306. * Fri May 3 2002 Havoc Pennington <hp@redhat.com>
  307. - 0.117.0
  308. * Thu Apr 25 2002 Havoc Pennington <hp@redhat.com>
  309. - initial build