gtranslator-vl.spec 4.9 KB

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