gtranslator-vl.spec 5.2 KB

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