gthumb-vl.spec 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. %define gtk2_version 2.24.0
  2. %define glib2_version 2.26.1
  3. %define libxml_version 2.7.7
  4. %define libbonobo_version 2.32.0
  5. %define libbonoboui_version 2.24.4
  6. %define libexif_version 0.6.13
  7. %define desktop_file_utils_version 0.17
  8. %define gnome_doc_utils_version 0.3.2
  9. %define gstreamer_version 0.10
  10. Summary: Image viewer, editor, organizer
  11. Summary(ja): 画像閲覧、編集、管理ツール
  12. Name: gthumb
  13. Version: 2.14.4
  14. Release: 2%{?_dist_release}
  15. URL: http://gthumb.sourceforge.net/
  16. Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/2.14/%{name}-%{version}.tar.xz
  17. License: GPL
  18. Group: Applications/Multimedia
  19. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  20. BuildRequires: gtk2-devel >= %{gtk2_version}
  21. BuildRequires: glib2-devel >= %{glib2_version}
  22. BuildRequires: libxml2-devel >= %{libxml_version}
  23. BuildRequires: libbonobo-devel >= %{libbonobo_version}
  24. BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
  25. BuildRequires: libpng-devel, libjpeg-turbo-devel, libtiff-devel
  26. BuildRequires: libexif-devel >= %{libexif_version}
  27. BuildRequires: gphoto2-devel
  28. BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
  29. BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
  30. BuildRequires: libSM-devel
  31. BuildRequires: unique-devel
  32. BuildRequires: exiv2-devel
  33. BuildRequires: libgnome-keyring-devel
  34. BuildRequires: libsoup-devel
  35. BuildRequires: gstreamer-devel >= %{gstreamer_version}
  36. BuildRequires: gstreamer-plugins-base-devel >= %{gstreamer_version}
  37. BuildRequires: bison
  38. BuildRequires: flex
  39. BuildRequires: gnome-common
  40. Requires(post): scrollkeeper, GConf2
  41. #Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
  42. Requires(preun): GConf2
  43. Requires(postun): scrollkeeper
  44. #Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
  45. Vendor: Project Vine
  46. Distribution: Vine Linux
  47. %description
  48. gthumb is an application for viewing, editing, and organizing
  49. collections of images.
  50. %description -l ja
  51. gthumb は画像ファイル集の閲覧、編集、管理をするためのアプリケーションです。
  52. %package devel
  53. Summary: Development tools for gthumb applications.
  54. Summary(ja): gthumb アプリケーションの開発用ファイル
  55. Group: Development/Libraries
  56. Requires: %{name} = %{version}-%{release}
  57. Requires: pkgconfig
  58. %description devel
  59. Header files and libraries for building a extension library for the gthumb.
  60. %prep
  61. %setup -q
  62. %build
  63. %configure --disable-scrollkeeper --disable-schemas-install
  64. make %{?_smp_mflags}
  65. %install
  66. rm -rf $RPM_BUILD_ROOT
  67. make install DESTDIR=$RPM_BUILD_ROOT
  68. rm -rf $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
  69. rm -f $RPM_BUILD_ROOT%{_libdir}/gthumb/extensions/*.*a
  70. rm -f $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  71. rm -f $RPM_BUILD_ROOT%{_datadir}/aclocal/%{name}.m4
  72. %find_lang %{name}
  73. %clean
  74. rm -rf $RPM_BUILD_ROOT
  75. %post
  76. scrollkeeper-update -q ||:
  77. update-desktop-database -q ||:
  78. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  79. SCHEMAS="gthumb.schemas"
  80. for S in $SCHEMAS; do
  81. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null ||:
  82. done
  83. %preun
  84. if [ "$1" -gt 0 ] ; then
  85. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  86. SCHEMAS="gthumb.schemas"
  87. for S in $SCHEMAS; do
  88. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/$S > /dev/null ||:
  89. done
  90. fi
  91. %postun
  92. scrollkeeper-update -q ||:
  93. update-desktop-database -q ||:
  94. %files -f %{name}.lang
  95. %defattr(-,root,root)
  96. %{_bindir}/*
  97. %{_sysconfdir}/gconf/schemas/*
  98. %{_libdir}/gthumb/extensions/*
  99. %{_datadir}/applications/*.desktop
  100. %{_datadir}/gnome/help/gthumb
  101. %{_datadir}/gthumb
  102. %{_datadir}/icons/*
  103. ## %{_datadir}/omf/gthumb
  104. ## %{_mandir}/man1/*
  105. %files devel
  106. %defattr(-,root,root)
  107. %{_includedir}/gthumb-2.14/*
  108. %{_libdir}/pkgconfig/gthumb-2.14.pc
  109. %changelog
  110. * Sun Jul 29 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.4-2
  111. - rebuild with exiv2-0.23
  112. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.4-1
  113. - new upstream release
  114. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.3-1
  115. - new upstream release
  116. * Wed Feb 01 2012 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.2-1
  117. - new upstream release
  118. * Wed Dec 28 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.1-1
  119. - new upstream release
  120. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.14.0-1
  121. - new upstream release
  122. * Sat Oct 01 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.91-1
  123. - new upstream release
  124. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.90-1
  125. - new upstream release
  126. - remove BuildRequires: brasero-devel
  127. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.3-1
  128. - new upstream release
  129. - remove Patch0
  130. * Sat Aug 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.13.2-2
  131. - rebuilt with exiv2-0.21.1
  132. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.13.2-1
  133. - new upstream release
  134. - add BuildRequires: gstreamer-plugins-base-devel, bison, flex, gnome-common
  135. - add Patch0 (gthumb-2.13.2-configure.patch)
  136. * Fri Apr 29 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.3-1
  137. - new upstream release
  138. * Wed Jan 26 2011 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.2-1
  139. - new upstream release
  140. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.1-1
  141. - new upstream release
  142. - fix typo
  143. * Wed Oct 13 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.12.0-2
  144. - add BR: gstreamer-devel
  145. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.12.0-1
  146. - new upstream release
  147. - remove BuildRequires: libgnome-devel, libgnomeui-devel, libglade2-devel, libgnomeprint-devel, libgnomeprintui-devel
  148. - add BuildRequires: unique-devel, exiv2-devel, libgnome-keyring-devel, brasero-devel, libsoup-devel
  149. - change BuildRequires: libjpeg-turbo-devel instead of libjpeg-devel
  150. - add devel sub package
  151. - fix %files
  152. * Tue May 11 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.10.12-1
  153. - new upstream release
  154. * Sun Jan 17 2010 Yoji TOYODA <bsyamato@sea.plala.ro.jp> 2.10.11-1
  155. - new upstream release
  156. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 2.10.8-1vl5
  157. - applied new versioning policy, spec in utf-8
  158. * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.8-0vl1
  159. - new upstream release
  160. * Sun Aug 5 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.5-0vl1
  161. - new upstream release
  162. * Sat Dec 23 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.6.9-0vl3
  163. - fix dependencies:
  164. - add BuildRequires:
  165. - libgnome{,ui}-devel
  166. - libgnomecanvas-devel
  167. - gnome-vfs2-devel
  168. - libxml2-devel
  169. - libglade2-devel
  170. - libgnomeprint{,ui}-devel instead of libgnomeprint{,ui}
  171. - libbonobo{,ui}-devel
  172. - libpng-devel, libjpeg-devel, libtiff-devel, libexif-devel
  173. - drop BuildRequires: nautilus
  174. - drop Requires: scrollkeeper
  175. - add Requires(post): scrollkeeper, GConf2, desktop-file-utils
  176. - add Requires(pre): GConf2
  177. - add Requires(postun): scrollkeeper, desktop-file-utils
  178. - fix scripts:
  179. - run scrollkeeper-update with '-q' at %%post,postun
  180. - run gconftool-2 --makefile-uninstall-rule at %%preun
  181. - run destop-database-update -q at %%post,postun
  182. * Thu Aug 31 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6.9-0vl2
  183. - rebuilt without gphoto2-devel
  184. * Thu Mar 09 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.9-0vl1
  185. - new upstream release
  186. * Thu Oct 06 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.8-0vl1
  187. - new upstream release
  188. * Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.1-0vl1
  189. - new upstream release
  190. * Sun Jul 11 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.1-0vl1
  191. - new upstream release
  192. * Thu Apr 1 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  193. - new upstream release
  194. * Fri Dec 26 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  195. - new upstream release
  196. * Tue Jan 28 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-0vl1
  197. - new upstream release
  198. * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.0-0vl1
  199. - new upstream release
  200. - build for Vine Linux
  201. - add patch0 to use libgnomeprint-2.2
  202. * Tue Jan 7 2003 Havoc Pennington <hp@redhat.com>
  203. - 1.108
  204. - disable schema install during makeinstall
  205. * Thu Jan 02 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  206. - require scrollkeeper
  207. * Mon Dec 16 2002 Havoc Pennington <hp@redhat.com>
  208. - rebuild
  209. * Thu Dec 12 2002 Havoc Pennington <hp@redhat.com>
  210. - Initial build.