pluma-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.1
  3. %define rel 1
  4. Summary: An powerfull text editor for MATE
  5. Name: pluma
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  9. License: GPLv2
  10. Group: Applications/Editors
  11. URL: http://mate-desktop.org/
  12. BuildRequires: mate-common
  13. BuildRequires: gtk3-devel
  14. BuildRequires: gtksourceview3-devel
  15. BuildRequires: mate-desktop-devel
  16. BuildRequires: libpeas-devel
  17. BuildRequires: caja-devel
  18. BuildRequires: libsoup-devel
  19. BuildRequires: enchant-devel
  20. BuildRequires: libSM-devel
  21. BuildRequires: iso-codes
  22. BuildRequires: itstool
  23. BuildRequires: gtk-doc
  24. BuildRequires: autoconf
  25. BuildRequires: automake
  26. Requires(posttrans,postun): glib2
  27. Requires(post,postun): desktop-file-utils
  28. Obsoletes: mate-text-editor < 1.8.0
  29. Provides: mate-text-editor = %{version}-%{release}
  30. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  31. Vendor: Project Vine
  32. Distribution: Vine Linux
  33. Packager: Takemikaduchi, iwaim
  34. %description
  35. Pluma is part of MATE and uses the latest GTK+ and MATE libraries.
  36. Complete MATE integration is featured, with support for Drag and Drop (DnD)
  37. from Caja (the MATE file manager), the use of the MATE help system,
  38. the MATE Virtual File System and the MATE print framework.
  39. %package devel
  40. Summary: Development tools for %{name}
  41. Summary(ja): %{name} の開発環境
  42. Group: Development/Libraries
  43. Requires: %{name} = %{version}-%{release}
  44. Requires: pkgconfig
  45. Obsoletes: mate-text-editor < 1.8.0
  46. Provides: mate-text-editor = %{version}-%{release}
  47. %description devel
  48. Header files and libraries for building a extension library for the
  49. %{name}.
  50. %package docs
  51. Summary: Documentation for %{name}
  52. Summary(ja): %{name} 用のドキュメント
  53. Group: Documentation
  54. Requires: %{name} = %{version}-%{release}
  55. BuildArch: noarch
  56. Obsoletes: mate-file-manager-doc < 1.8.0
  57. Provides: mate-file-manager-doc = %{version}-%{release}
  58. %description docs
  59. This package contains documentation for %{name}.
  60. %prep
  61. %setup -q
  62. %build
  63. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  64. %configure \
  65. --libexecdir=%{_libexecdir}/mate \
  66. --disable-static
  67. %{__make} %{?_smp_mflags}
  68. %install
  69. %{__rm} -rf ${RPM_BUILD_ROOT}
  70. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  71. find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \;
  72. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  73. %find_lang %{name}
  74. %clean
  75. %{__rm} -rf ${RPM_BUILD_ROOT}
  76. %post
  77. /sbin/ldconfig
  78. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  79. %postun
  80. /sbin/ldconfig
  81. if [ $1 -eq 0 ]; then
  82. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  83. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  84. fi
  85. %posttrans
  86. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  87. %files -f %{name}.lang
  88. %defattr(-,root,root,-)
  89. %doc COPYING ChangeLog NEWS README
  90. %{_bindir}/%{name}
  91. #%{_libdir}/%{name}/plugin-loaders/libcloader.so
  92. %{_libdir}/girepository-1.0/Pluma-1.0.typelib
  93. %{_libdir}/%{name}/plugins
  94. %{_libexecdir}/mate/%{name}/pluma-bugreport.sh
  95. %{_datadir}/appdata/%{name}.appdata.xml
  96. %{_datadir}/applications/%{name}.desktop
  97. %{_datadir}/glib-2.0/schemas/org.mate.pluma.gschema.xml
  98. %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.spell.gschema.xml
  99. %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.filebrowser.gschema.xml
  100. %{_datadir}/glib-2.0/schemas/org.mate.pluma.plugins.time.gschema.xml
  101. %{_datadir}/help/*
  102. %{_datadir}/%{name}
  103. %{_mandir}/man1/%{name}.1.gz
  104. %files devel
  105. %defattr(-,root,root,-)
  106. %{_includedir}/%{name}
  107. %{_libdir}/pkgconfig/%{name}.pc
  108. %{_datadir}/gir-1.0/Pluma-1.0.gir
  109. %files docs
  110. %defattr(-,root,root,-)
  111. %{_datadir}/gtk-doc/html/%{name}
  112. %changelog
  113. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.1-1
  114. - update to 1.20.1
  115. * Thu Jan 18 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.3-1
  116. - update to 1.18.3
  117. * Wed May 10 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.2-1
  118. - update to 1.18.2
  119. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.1-1
  120. - update to 1.18.1
  121. - move to GTK3+
  122. - add BR: libpeas-devel and caja-devel
  123. - add Pluma gir/typelib file
  124. - drop plugin-loaders
  125. * Sun Apr 2 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.1-1
  126. - update to 1.16.1
  127. * Sun Nov 27 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  128. - new upstream release
  129. - update Packager
  130. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  131. - new upstream release
  132. * Sat Feb 20 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.2-1
  133. - new upstream release
  134. * Tue Dec 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1
  135. - new upstream release
  136. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  137. - new upstream release
  138. * Sun Jul 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.2-1
  139. - new upstream release
  140. * Sat Jul 11 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.1-1
  141. - new upstream release
  142. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  143. - new upstream release
  144. - add BuildRequires: mate-desktop-devel
  145. * Sun May 11 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.1-1
  146. - new upstream release
  147. * Wed Apr 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.8.0-1
  148. - new upstream release
  149. - rename package
  150. - add BuildRequires: itstool
  151. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-2
  152. - rebuild with VineSeed environment
  153. * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.6.0-1
  154. - new upstream release
  155. * Thu Aug 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0-1
  156. - new upstream release
  157. - remove Patch0 (mate-text-editor-1.2.0-configure.patch)
  158. * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  159. - new upstream release
  160. - add Patch0 (mate-text-editor-1.2.0-configure.patch)
  161. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-2
  162. - change category
  163. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  164. - initial build for Vine Linux