gedit-code-assistance-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. Summary: Code assistance plugin for gedit
  2. Summary(ja): gedit 用コード支援プラグイン
  3. Name: gedit-code-assistance
  4. Version: 3.16.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv3
  7. Group: Applications/Editors
  8. URL: http://git.gnome.org/browse/gedit-code-assistance/
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gedit-devel
  12. BuildRequires: llvm-devel
  13. BuildRequires: clang-devel
  14. BuildRequires: vala-tools
  15. BuildRequires: glib2-devel
  16. BuildRequires: libgee-devel
  17. BuildRequires: libpeas-devel
  18. BuildRequires: pygobject3-devel
  19. Obsoletes: %{name}-devel < 3.12.0
  20. Obsoletes: %{name}-vala < 3.12.0
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: Takemikaduchi
  24. %description
  25. gedit code assistance is a plugin for gedit which provides code assistance for C, C++, Objective-C, Python, XML, and RelaxNG.
  26. %description -l ja
  27. gedit-code-assistance は C, C++, Objective-C, Python, XML 及び RelaxNG のコード支援機能を提供するための gedit 用プラグインです。
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  41. %postun
  42. if [ $1 -eq 0 ]; then
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  45. update-desktop-database -q &> /dev/null ||:
  46. fi
  47. %posttrans
  48. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  49. update-desktop-database -q &> /dev/null ||:
  50. %files
  51. %defattr(-,root,root,-)
  52. %doc ChangeLog COPYING README NEWS
  53. %{_libdir}/gedit/plugins/codeassistance.plugin
  54. %{_libdir}/gedit/plugins/libcodeassistance.so
  55. %{_libdir}/gedit/plugins/gca/indent-backends/gcaindentbackendc.plugin
  56. %{_libdir}/gedit/plugins/gca/indent-backends/libgcaindentbackendc.so
  57. %{_datadir}/gedit/plugins/codeassistance/codeassistance.css
  58. %{_datadir}/appdata/gedit-code-assistance.metainfo.xml
  59. %{_datadir}/vala/vapi/gca.vapi
  60. %exclude %{_includedir}/gedit-3.0/gca/gca.h
  61. %changelog
  62. * Sun May 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  63. - new upstream release
  64. * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.3-1
  65. - new upstream release
  66. * Sun Nov 16 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.3.1-2
  67. - moved to Applications/Editors Group
  68. * Sun Apr 13 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.1-1
  69. - new upstream release
  70. - change BuildRequires: libgee-devel instead of libgee06-devel
  71. - remove %%{name}-devel, %%{name}-vala subpackages
  72. * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.0-1
  73. - new upstream release
  74. * Sun Oct 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.5-1
  75. - new upstream release
  76. * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
  77. - initial build