mate-text-editor-vl.spec 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: An powerfull text editor for MATE
  2. Name: mate-text-editor
  3. Version: 1.6.0
  4. Release: 2%{?_dist_release}
  5. Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/Editors
  8. URL: http://mate-desktop.org/
  9. BuildRequires: mate-common
  10. BuildRequires: mate-doc-utils
  11. BuildRequires: gtk2-devel
  12. BuildRequires: gtksourceview2-devel
  13. BuildRequires: libsoup-devel
  14. BuildRequires: enchant-devel
  15. BuildRequires: libSM-devel
  16. BuildRequires: iso-codes
  17. BuildRequires: gtk-doc
  18. BuildRequires: autoconf
  19. BuildRequires: automake
  20. Requires(posttrans,postun): glib2
  21. Requires(post,postun): desktop-file-utils
  22. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. pluma is part of MATE and uses the latest GTK+ and MATE libraries.
  28. Complete MATE integration is featured, with support for Drag and Drop (DnD)
  29. from Caja (the MATE file manager), the use of the MATE help system,
  30. the MATE Virtual File System and the MATE print framework.
  31. %package devel
  32. Summary: Development tools for mate-text-editor
  33. Summary(ja): mate-text-editor の開発環境
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: pkgconfig
  37. %description devel
  38. Header files and libraries for building a extension library for the
  39. mate-text-editor.
  40. %prep
  41. %setup -q
  42. %build
  43. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  44. %configure \
  45. --libexecdir=%{_libexecdir}/mate \
  46. --disable-static
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  51. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  52. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  53. %find_lang pluma
  54. %clean
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %post
  57. /sbin/ldconfig
  58. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  59. %postun
  60. /sbin/ldconfig
  61. if [ $1 -eq 0 ]; then
  62. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  63. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  64. fi
  65. %posttrans
  66. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  67. %files -f pluma.lang
  68. %defattr(-,root,root,-)
  69. %doc COPYING ChangeLog NEWS README
  70. %{_bindir}/mate-text-editor
  71. %{_bindir}/pluma
  72. %{_libdir}/pluma/plugin-loaders/libcloader.so
  73. %{_libdir}/pluma/plugins
  74. %{_libexecdir}/mate/pluma/pluma-bugreport.sh
  75. %{_datadir}/MateConf/gsettings/pluma.convert
  76. %{_datadir}/applications/pluma.desktop
  77. %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml
  78. %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml
  79. %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml
  80. %{_datadir}/mate/help/pluma
  81. %{_datadir}/omf/pluma
  82. %{_datadir}/pluma
  83. %{_mandir}/man1/pluma.1.gz
  84. %files devel
  85. %defattr(-,root,root,-)
  86. %{_includedir}/pluma
  87. %{_libdir}/pkgconfig/pluma.pc
  88. %changelog
  89. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  90. - rebuild with VineSeed environment
  91. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  92. - new upstream release
  93. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  94. - new upstream release
  95. - remove Patch0 (mate-text-editor-1.2.0-configure.patch)
  96. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  97. - new upstream release
  98. - add Patch0 (mate-text-editor-1.2.0-configure.patch)
  99. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  100. - change category
  101. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  102. - initial build for Vine Linux