gtranslator-vl.spec 6.1 KB

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