pluma-vl.spec 4.1 KB

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