gtranslator-vl.spec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. Summary: A GNOME po file editor with many bells and whistles.
  2. Summary(ja): GNOME po ファイルエディタ
  3. Name: gtranslator
  4. Version: 2.91.4
  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 >= 4.2.0
  20. BuildRequires: libpeas-devel >= 1.0.0
  21. BuildRequires: gsettings-desktop-schemas-devel
  22. BuildRequires: iso-codes
  23. BuildRequires: gnome-common
  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. make %{?_smp_mflags}
  66. %install
  67. rm -rf $RPM_BUILD_ROOT
  68. make DESTDIR=$RPM_BUILD_ROOT UPDATE_DESKTOP= install
  69. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  70. %find_lang %{name}
  71. %post
  72. scrollkeeper-update -q > /dev/null 2>&1 || :
  73. %posttrans
  74. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  75. update-desktop-database %{_datadir}/applications/
  76. %postun
  77. scrollkeeper-update -q > /dev/null 2>&1 || :
  78. if [ $1 -eq 0 ]; then
  79. glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
  80. update-desktop-database %{_datadir}/applications/
  81. fi
  82. %clean
  83. rm -rf $RPM_BUILD_ROOT
  84. %files -f %{name}.lang
  85. %defattr(-, root, root, 0755)
  86. %doc AUTHORS ChangeLog COPYING NEWS README THANKS
  87. %{_bindir}/*
  88. %{_libdir}/gtranslator
  89. %{_datadir}/applications/*.desktop
  90. %{_datadir}/glib-2.0/schemas/org.gnome.gtranslator.*gschema.xml
  91. %{_datadir}/gnome/help/gtranslator
  92. %{_datadir}/gtranslator
  93. %{_datadir}/omf/gtranslator
  94. %{_datadir}/pixmaps/*
  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. * Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.4-1
  104. - new upstream release
  105. * Mon Apr 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.3-1
  106. - new upstream release
  107. * Sat Apr 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.91.2-1
  108. - new upstream release
  109. * Thu Nov 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.90.7-1
  110. - new upstream release
  111. - change BuildRequires: gtk3-devel instead of gtk2-devel
  112. - change BuildRequires: gtksourceview3-devel instead of gtksourceview2-devel
  113. - add BuildRequires: libpeas-devel, iso-codes, json-glib-devel
  114. * Wed Oct 20 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.12-2
  115. - add (Build)Requires gsettings-desktop-schemas.
  116. - add Requires gda-sqlite instead of libgda.
  117. * Wed Oct 13 2010 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.12-1
  118. - new upstream release
  119. - rebuild dependency
  120. - replace GConf2 by glib-compile-schemas
  121. - care desktop-files
  122. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.9.9-1
  123. - new upstream release
  124. - add BuildRequires: unique-devel
  125. - drop Patch0
  126. * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-2
  127. - add libuuid to Requires.
  128. - add libuuid-devel and gnome-doc-utils to BR.
  129. - add Patch0 (https://bugzilla.gnome.org/show_bug.cgi?id=591587)
  130. - export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 when install.
  131. * Thu Nov 19 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 1.9.6-1
  132. - new upstream release
  133. - add Requires glib2,gtksourceview2,gdl,gtkspell,gucharmap,apr,apr-util,neon,subversion
  134. * Sat May 16 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.9.5-1
  135. - applied new versioning policy, spec in UTF-8
  136. - new upstream release
  137. - updated BuildRequires:
  138. - split devel subpackage
  139. - changed Group to Applications/Development
  140. * Sat Oct 8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.6-0vl1
  141. - new upstream release
  142. - added BuildRequires: gtkspell-devel
  143. * Thu Jan 29 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.4-0vl1
  144. - new upstream snapshot, tarball is taken from debian pool
  145. - add Patch10 from debian package
  146. * Tue Sep 09 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0-1vl1
  147. - build for VineSeedPlus
  148. * Thu Sep 04 2003 Dag Wieers <dag@wieers.com> - 1.0-1
  149. - Updated to release 1.0.
  150. * Tue Sep 02 2003 Dag Wieers <dag@wieers.com> - 1.0-0.pre1
  151. - Updated to release 1.0pre1.
  152. * Fri Jun 27 2003 Dag Wieers <dag@wieers.com> - 1.0-0.cvs20030626
  153. - Updated to release 1.0CVS-20030626.
  154. * Sat Jun 14 2003 Dag Wieers <dag@wieers.com> - 0.99-0
  155. - Updated to release 0.99.
  156. * Tue Mar 18 2003 Dag Wieers <dag@wieers.com> - 0.43-0
  157. - Initial package. (using DAR)