gthumb-vl.spec 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303
  1. %define gtk3_version 3.4.0
  2. %define clutter_version 1.0.0
  3. %define exiv2_version 0.21
  4. %define gstreamer1_version 1.0.0
  5. %define libsoup_version 2.36
  6. %define libsecret_version 0.11
  7. %define brasero_version 3.2.0
  8. %define librsvg2_version 2.34.0
  9. %define libwebp_version 0.2.0
  10. %define json_glib_version 0.15.0
  11. Summary: Image viewer, editor, organizer
  12. Summary(ja): 画像閲覧、編集、管理ツール
  13. Name: gthumb
  14. Version: 3.10.3
  15. Release: 1%{?_dist_release}
  16. Group: graphics,desktop-gnome
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. License: GPL
  20. URL: https://wiki.gnome.org/action/show/Apps/Gthumb
  21. %global shortver %(echo %{version} | sed -e 's/\\.[0-9]*$//')
  22. Source0: https://ftp.gnome.org/pub/gnome/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz
  23. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  24. BuildRequires: bison
  25. BuildRequires: flex
  26. BuildRequires: brasero-devel >= %{brasero_version}
  27. BuildRequires: clutter-gtk-devel >= %{clutter_version}
  28. BuildRequires: colord-devel >= %{clutter_version}
  29. BuildRequires: exiv2-devel >= %{exiv2_version}
  30. BuildRequires: gsettings-desktop-schemas-devel
  31. BuildRequires: gstreamer1-devel >= %{gstreamer1_version}
  32. BuildRequires: gstreamer1-plugins-base-devel
  33. BuildRequires: gtk3-devel >= %{gtk3_version}
  34. BuildRequires: json-glib-devel >= %{json_glib_version}
  35. BuildRequires: lcms2-devel
  36. BuildRequires: libjpeg-turbo-devel
  37. BuildRequires: libpng-devel
  38. BuildRequires: LibRaw-devel
  39. BuildRequires: librsvg2-devel >= %{librsvg2_version}
  40. BuildRequires: libsecret-devel >= %{libsecret_version}
  41. BuildRequires: libsoup-devel >= %{libsoup_version}
  42. BuildRequires: libtiff-devel
  43. BuildRequires: libwebp-devel >= %{libwebp_version}
  44. BuildRequires: meson
  45. BuildRequires: webkitgtk4-devel
  46. BuildRequires: yelp-tools
  47. BuildRequires: zlib-devel
  48. BuildConflicts: compat32-zlib-devel
  49. Requires(postun,posttrans): desktop-file-utils, glib2
  50. %description
  51. gthumb is an application for viewing, editing, and organizing
  52. collections of images.
  53. %description -l ja
  54. gthumb は画像ファイル集の閲覧、編集、管理をするためのアプリケーションです。
  55. %package devel
  56. Summary: Development tools for gthumb applications.
  57. Summary(ja): gthumb アプリケーションの開発用ファイル
  58. Group: programming
  59. Requires: %{name} = %{version}-%{release}
  60. Requires: pkgconfig
  61. %description devel
  62. Header files and libraries for building a extension library for the gthumb.
  63. %debug_package
  64. %prep
  65. %setup -q
  66. %build
  67. export LANG=ja_JP.UTF-8
  68. %meson
  69. %meson_build
  70. %install
  71. rm -rf $RPM_BUILD_ROOT
  72. %meson_install
  73. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  74. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  75. #rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/%{name}.m4
  76. %find_lang %{name}
  77. %clean
  78. rm -rf $RPM_BUILD_ROOT
  79. %files -f %{name}.lang
  80. %defattr(-,root,root)
  81. %{_bindir}/%{name}
  82. %dir %{_libdir}/%{name}
  83. %dir %{_libdir}/%{name}/extensions
  84. %{_libdir}/%{name}/extensions/*
  85. %{_datadir}/metainfo/org.gnome.gThumb.appdata.xml
  86. %{_datadir}/applications/org.gnome.gThumb.desktop
  87. %{_datadir}/glib-2.0/schemas/*.xml
  88. %{_datadir}/%{name}
  89. %{_datadir}/help/*/%{name}
  90. %{_datadir}/icons/hicolor/*/*/*
  91. %{_mandir}/man1/gthumb.1.gz
  92. %files devel
  93. %defattr(-,root,root)
  94. %{_includedir}/gthumb
  95. %{_libdir}/pkgconfig/gthumb-%{shortver}.pc
  96. %{_datadir}/aclocal/%{name}.m4
  97. %changelog
  98. * Thu Jul 29 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.10.3-1
  99. - new upstream release.
  100. - dropped scriptlets.
  101. * Fri Sep 04 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.10.0-1
  102. - new upstream release.
  103. * Sat Mar 21 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.3-1
  104. - new upstream release.
  105. * Sat Oct 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.8.1-1
  106. - new upstream release.
  107. * Thu Jun 30 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.4.3-1
  108. - new upstream release.
  109. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.4.1-1
  110. - new upstream release
  111. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.4.0-1
  112. - new upstream release
  113. * Wed Jul 16 2014 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.2.8-2
  114. - rebuild with libpng-1.6.12
  115. * Sat Jun 07 2014 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.2.8-1
  116. - new upstream release
  117. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.2.7-1
  118. - new upstream release
  119. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.2.6-1
  120. - new upstream release
  121. * Wed Dec 11 2013 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.2.5-2
  122. - rebuild with exiv2-0.24
  123. * Sun Dec 01 2013 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 3.2.5-1
  124. - new upstream release
  125. - fix BuildRequires and Requires
  126. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.4-2
  127. - rebuild with exiv2-0.23
  128. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.4-1
  129. - new upstream release
  130. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.3-1
  131. - new upstream release
  132. * Wed Feb 01 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.2-1
  133. - new upstream release
  134. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.1-1
  135. - new upstream release
  136. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.0-1
  137. - new upstream release
  138. * Sat Oct 01 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.91-1
  139. - new upstream release
  140. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.90-1
  141. - new upstream release
  142. - remove BuildRequires: brasero-devel
  143. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.3-1
  144. - new upstream release
  145. - remove Patch0
  146. * Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13.2-2
  147. - rebuilt with exiv2-0.21.1
  148. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.2-1
  149. - new upstream release
  150. - add BuildRequires: gstreamer-plugins-base-devel, bison, flex, gnome-common
  151. - add Patch0 (gthumb-2.13.2-configure.patch)
  152. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.3-1
  153. - new upstream release
  154. * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.2-1
  155. - new upstream release
  156. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.1-1
  157. - new upstream release
  158. - fix typo
  159. * Wed Oct 13 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12.0-2
  160. - add BR: gstreamer-devel
  161. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.0-1
  162. - new upstream release
  163. - remove BuildRequires: libgnome-devel, libgnomeui-devel, libglade2-devel, libgnomeprint-devel, libgnomeprintui-devel
  164. - add BuildRequires: unique-devel, exiv2-devel, libgnome-keyring-devel, brasero-devel, libsoup-devel
  165. - change BuildRequires: libjpeg-turbo-devel instead of libjpeg-devel
  166. - add devel sub package
  167. - fix %files
  168. * Tue May 11 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.10.12-1
  169. - new upstream release
  170. * Sun Jan 17 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.10.11-1
  171. - new upstream release
  172. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.10.8-1vl5
  173. - applied new versioning policy, spec in utf-8
  174. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.8-0vl1
  175. - new upstream release
  176. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.5-0vl1
  177. - new upstream release
  178. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.9-0vl3
  179. - fix dependencies:
  180. - add BuildRequires:
  181. - libgnome{,ui}-devel
  182. - libgnomecanvas-devel
  183. - gnome-vfs2-devel
  184. - libxml2-devel
  185. - libglade2-devel
  186. - libgnomeprint{,ui}-devel instead of libgnomeprint{,ui}
  187. - libbonobo{,ui}-devel
  188. - libpng-devel, libjpeg-devel, libtiff-devel, libexif-devel
  189. - drop BuildRequires: nautilus
  190. - drop Requires: scrollkeeper
  191. - add Requires(post): scrollkeeper, GConf2, desktop-file-utils
  192. - add Requires(pre): GConf2
  193. - add Requires(postun): scrollkeeper, desktop-file-utils
  194. - fix scripts:
  195. - run scrollkeeper-update with '-q' at %%post,postun
  196. - run gconftool-2 --makefile-uninstall-rule at %%preun
  197. - run destop-database-update -q at %%post,postun
  198. * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.9-0vl2
  199. - rebuilt without gphoto2-devel
  200. * Thu Mar 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.9-0vl1
  201. - new upstream release
  202. * Thu Oct 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.8-0vl1
  203. - new upstream release
  204. * Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
  205. - new upstream release
  206. * Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.1-0vl1
  207. - new upstream release
  208. * Thu Apr 1 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  209. - new upstream release
  210. * Fri Dec 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  211. - new upstream release
  212. * Tue Jan 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-0vl1
  213. - new upstream release
  214. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
  215. - new upstream release
  216. - build for Vine Linux
  217. - add patch0 to use libgnomeprint-2.2
  218. * Tue Jan 7 2003 Havoc Pennington <hp@redhat.com>
  219. - 1.108
  220. - disable schema install during makeinstall
  221. * Thu Jan 02 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  222. - require scrollkeeper
  223. * Mon Dec 16 2002 Havoc Pennington <hp@redhat.com>
  224. - rebuild
  225. * Thu Dec 12 2002 Havoc Pennington <hp@redhat.com>
  226. - Initial build.