gedit-code-assistance-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. Summary: Code assistance plugin for gedit
  2. Summary(ja): gedit 用コード支援プラグイン
  3. Name: gedit-code-assistance
  4. Version: 0.1.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv3
  7. Group: User Interface/Deskops
  8. URL: http://git.gnome.org/browse/gedit-code-assistance/
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.1/%{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: libgee06-devel
  17. BuildRequires: libpeas-devel
  18. BuildRequires: pygobject3-devel
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: Takemikaduchi
  22. %description
  23. gedit code assistance is a plugin for gedit which provides code assistance for
  24. C, C++, Objective-C, Python, XML, and RelaxNG.
  25. %description -l ja
  26. gedit-code-assistance は C, C++, Objective-C, Python, XML 及び RelaxNG のコード
  27. 支援機能を提供するための gedit 用プラグインです。
  28. %package devel
  29. Summary: Development files for %{name}
  30. Summary(ja): %{name} の開発ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. %description devel
  34. The %{name}-devel package contains header files for
  35. developing applications that use %{name}.
  36. %package vala
  37. Summary: Vala bindings for %{name}
  38. Summary(ja): %{name} の Vala バインディング
  39. Group: Development/Libraries
  40. Requires: %{name} = %{version}-%{release}
  41. Requires: vala
  42. %description vala
  43. Vala bindings for %{name}.
  44. %prep
  45. %setup -q
  46. %build
  47. %configure --disable-static
  48. make %{?_smp_mflags}
  49. %install
  50. rm -rf $RPM_BUILD_ROOT
  51. make install DESTDIR=$RPM_BUILD_ROOT
  52. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post
  56. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  57. %postun
  58. if [ $1 -eq 0 ]; then
  59. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  61. update-desktop-database -q &> /dev/null ||:
  62. fi
  63. %posttrans
  64. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  65. update-desktop-database -q &> /dev/null ||:
  66. %files
  67. %defattr(-,root,root,-)
  68. %doc ChangeLog COPYING README NEWS
  69. %{_libdir}/gedit/plugins/gcp.plugin
  70. %{_libdir}/gedit/plugins/libgcp.so
  71. %{_libdir}/gedit/plugins/gcp/backends
  72. %{_libdir}/gedit/plugins/gcp/girepository-1.0/Gcp-3.0.typelib
  73. %{_datadir}/gedit/plugins/gcp/gcp.css
  74. %files devel
  75. %defattr(-,root,root,-)
  76. %{_includedir}/gedit-3.0/gcp/gcp.h
  77. %{_datadir}/gedit/plugins/gcp/gir-1.0/Gcp-3.0.gir
  78. %files vala
  79. %defattr(-,root,root,-)
  80. %{_datadir}/vala/vapi/gcp.*
  81. %changelog
  82. * Sun Oct 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.5-1
  83. - new upstream release
  84. * Sat Oct 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1.4-1
  85. - initial build