gtranslator-vl.spec 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. Summary: A GNOME po file editor with many bells and whistles.
  2. Summary(ja): GNOME po ファイルエディタ
  3. Name: gtranslator
  4. Version: 2.91.6
  5. Release: 2%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Development
  8. URL: http://www.gtranslator.org/
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/gtranslator/2.91/%{name}-%{version}.tar.xz
  10. Source1: gtranslator.master.ja.po
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: inagaki,yasumichi
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libxml2-devel >= 2.4.12
  16. BuildRequires: glib2-devel >= 2.25.10
  17. BuildRequires: gtk3-devel >= 3.0.3
  18. BuildRequires: gtksourceview3-devel >= 3.0.0
  19. BuildRequires: gdl-devel >= 2.91.1
  20. BuildRequires: libgda-devel >= 5.0.0
  21. BuildRequires: libpeas-devel >= 1.0.0
  22. BuildRequires: gsettings-desktop-schemas-devel
  23. BuildRequires: iso-codes
  24. BuildRequires: yelp-tools
  25. Requires(post): scrollkeeper
  26. Requires(postun): scrollkeeper
  27. Requires: libxml2 >= 2.4.12
  28. Requires: glib2 >= 2.25.10
  29. Requires: gtk2 >= 2.21.5
  30. Requires: gtksourceview2 >= 2.4.0
  31. Requires: gdl >= 2.26.0
  32. Requires: gda-sqlite
  33. Requires: gsettings-desktop-schemas
  34. # for documentation
  35. BuildRequires: gtk-doc
  36. BuildRequires: gnome-doc-utils >= 0.20.2
  37. # for open-tran plugin
  38. BuildRequires: json-glib-devel >= 0.12.0
  39. # for dictionary plugin
  40. Requires: gnome-utils
  41. BuildRequires: gnome-utils-devel
  42. # for spell support
  43. #Requires: gtkspell >= 2.0.16
  44. #BuildRequires: gtkspell-devel >= 2.0.16
  45. %description
  46. gtranslator is a comfortable po file editor with many bells and whistles.
  47. It features many useful function which ease the work of translators of po
  48. files imminently.
  49. %package devel
  50. Summary: Headers for developing programs that will use %{name}
  51. Summary(ja): %{name} の開発用ファイル
  52. Group: Development/Libraries
  53. Requires: %{name} = %{version}-%{release}
  54. Requires: libglade2-devel
  55. Requires: gtksourceview2-devel
  56. %description devel
  57. This package contains the headers that programmers will need to develop
  58. applications which will use %{name}.
  59. %prep
  60. %setup -q
  61. cp %{SOURCE1} po/ja.po
  62. %build
  63. %configure --disable-static \
  64. --disable-debug \
  65. --disable-scrollkeeper \
  66. --disable-schemas-compile \
  67. --with-gda=5.0
  68. make %{?_smp_mflags}
  69. %install
  70. rm -rf $RPM_BUILD_ROOT
  71. make DESTDIR=$RPM_BUILD_ROOT UPDATE_DESKTOP= install
  72. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  73. %find_lang %{name} --with-gnome
  74. %post
  75. scrollkeeper-update -q > /dev/null 2>&1 || :
  76. %posttrans
  77. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  78. update-desktop-database %{_datadir}/applications/
  79. %postun
  80. scrollkeeper-update -q > /dev/null 2>&1 || :
  81. if [ $1 -eq 0 ]; then
  82. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  83. update-desktop-database %{_datadir}/applications/
  84. fi
  85. %clean
  86. rm -rf $RPM_BUILD_ROOT
  87. %files -f %{name}.lang
  88. %defattr(-, root, root, 0755)
  89. %doc AUTHORS ChangeLog COPYING NEWS README THANKS
  90. %{_bindir}/*
  91. %{_libdir}/gtranslator
  92. %{_datadir}/applications/*.desktop
  93. %{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.*gschema.xml
  94. %{_datadir}/gtranslator
  95. %{_datadir}/icons/hicolor/*/apps/gtranslator.*
  96. %{_mandir}/man?/*
  97. %files devel
  98. %defattr(-, root, root, -)
  99. %{_includedir}/gtranslator-3.0
  100. %{_libdir}/pkgconfig/*.pc
  101. %{_datadir}/gtk-doc/html/gtranslator
  102. %changelog
  103. * Wed May 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.6-2
  104. - add Source1 (gtranslator.master.ja.po)
  105. * Mon May 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.6-1
  106. - new upstream release
  107. - remove Patch0 (gtranslator-2.91.5-gdl.patch)
  108. - add BuildRequires: yelp-tools
  109. * Thu Nov 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.5-3
  110. - add Patch0 (gtranslator-2.91.5-gdl.patch)
  111. * Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.5-2
  112. - rebuild with gdl-3.6.0
  113. * Sun Aug 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.5-1
  114. - new upstream release
  115. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.4-1
  116. - new upstream release
  117. * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.3-1
  118. - new upstream release
  119. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.2-1
  120. - new upstream release
  121. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.7-1
  122. - new upstream release
  123. - change BuildRequires: gtk3-devel instead of gtk2-devel
  124. - change BuildRequires: gtksourceview3-devel instead of gtksourceview2-devel
  125. - add BuildRequires: libpeas-devel, iso-codes, json-glib-devel
  126. * Wed Oct 20 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.12-2
  127. - add (Build)Requires gsettings-desktop-schemas.
  128. - add Requires gda-sqlite instead of libgda.
  129. * Wed Oct 13 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.12-1
  130. - new upstream release
  131. - rebuild dependency
  132. - replace GConf2 by glib-compile-schemas
  133. - care desktop-files
  134. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.9-1
  135. - new upstream release
  136. - add BuildRequires: unique-devel
  137. - drop Patch0
  138. * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-2
  139. - add libuuid to Requires.
  140. - add libuuid-devel and gnome-doc-utils to BR.
  141. - add Patch0 (https://bugzilla.gnome.org/show_bug.cgi?id=591587)
  142. - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 when install.
  143. * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-1
  144. - new upstream release
  145. - add Requires glib2,gtksourceview2,gdl,gtkspell,gucharmap,apr,apr-util,neon,subversion
  146. * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.5-1
  147. - applied new versioning policy, spec in UTF-8
  148. - new upstream release
  149. - updated BuildRequires:
  150. - split devel subpackage
  151. - changed Group to Applications/Development
  152. * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl1
  153. - new upstream release
  154. - added BuildRequires: gtkspell-devel
  155. * Thu Jan 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1
  156. - new upstream snapshot, tarball is taken from debian pool
  157. - add Patch10 from debian package
  158. * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-1vl1
  159. - build for VineSeedPlus
  160. * Thu Sep 04 2003 Dag Wieers <dag@wieers.com> - 1.0-1
  161. - Updated to release 1.0.
  162. * Tue Sep 02 2003 Dag Wieers <dag@wieers.com> - 1.0-0.pre1
  163. - Updated to release 1.0pre1.
  164. * Fri Jun 27 2003 Dag Wieers <dag@wieers.com> - 1.0-0.cvs20030626
  165. - Updated to release 1.0CVS-20030626.
  166. * Sat Jun 14 2003 Dag Wieers <dag@wieers.com> - 0.99-0
  167. - Updated to release 0.99.
  168. * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.43-0
  169. - Initial package. (using DAR)