eog-vl.spec 11 KB

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