gnome-builder-vl.spec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. %{!?python3_sitearch: %define python3_sitearch %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
  2. Summary: Develop software for GNOME
  3. Summary(ja): GNOME 用統合開発環境
  4. Name: gnome-builder
  5. Version: 3.20.4
  6. Release: 1%{?_dist_release}
  7. License: GPLv3
  8. Group: Applications/Development
  9. URL: https://wiki.gnome.org/Apps/Builder
  10. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildRequires: glib2-devel
  13. BuildRequires: llvm-devel
  14. BuildRequires: clang-devel
  15. BuildRequires: gtk3-devel
  16. BuildRequires: gtksourceview3-devel
  17. BuildRequires: devhelp-devel
  18. BuildRequires: libgit2-glib-devel
  19. BuildRequires: gjs-devel
  20. BuildRequires: python3-devel
  21. BuildRequires: pygobject3-devel
  22. BuildRequires: python3-pygobject
  23. BuildRequires: pcre-devel
  24. BuildRequires: libpeas-devel
  25. BuildRequires: yelp-tools
  26. BuildRequires: desktop-file-utils
  27. Requires(postun,posttrans): desktop-file-utils
  28. Requires(postun,posttrans): glib2
  29. Vendor: Project Vine
  30. Distribution: Vine Linux
  31. Packager: Takemikaduchi
  32. %description
  33. Builder is a new IDE for GNOME that is focused on bringing the power
  34. of our platform to more developers than ever before.
  35. %description -l ja
  36. gnome-builder はより多くの開発者にGNOMEのプラットフォーム力をもたらすことに
  37. 焦点を当てた新しい統合開発環境です。
  38. %package devel
  39. Summary: Development tools for %{name}
  40. Summary(ja): %{name} の開発環境
  41. Group: Development/Libraries
  42. Requires: %{name} = %{version}-%{release}
  43. Requires: pkgconfig
  44. %description devel
  45. Header files and libraries for building a extension library for the %{name}.
  46. %prep
  47. %setup -q
  48. %build
  49. %configure --disable-static
  50. make %{?_smp_mflags}
  51. %install
  52. rm -rf $RPM_BUILD_ROOT
  53. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  54. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  55. rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
  56. %find_lang %{name} --with-gnome
  57. %clean
  58. rm -rf $RPM_BUILD_ROOT
  59. %post
  60. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  61. %postun
  62. if [ $1 -eq 0 ]; then
  63. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  64. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  65. update-desktop-database -q &> /dev/null ||:
  66. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  67. fi
  68. %posttrans
  69. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  70. update-desktop-database -q &> /dev/null ||:
  71. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  72. %files -f %{name}.lang
  73. %defattr(-,root,root,-)
  74. %doc COPYING README NEWS
  75. %{_bindir}/%{name}
  76. %{_bindir}/%{name}-worker
  77. %{_bindir}/ide
  78. %{_libdir}/%{name}/libide-1.0.so
  79. %{_libdir}/%{name}/libegg-private.so.*
  80. %{_libdir}/%{name}/libpanel-gtk.so.*
  81. %{_libdir}/%{name}/librg.so.*
  82. %{_libdir}/%{name}/libsearch.so.*
  83. %{_libdir}/%{name}/libtemplate-glib-1.0.so.*
  84. %{_libdir}/%{name}/girepository-1.0/Egg-1.0.typelib
  85. %{_libdir}/%{name}/girepository-1.0/Ide-1.0.typelib
  86. %{_libdir}/%{name}/girepository-1.0/Pnl-1.0.typelib
  87. %{_libdir}/%{name}/girepository-1.0/Template-1.0.typelib
  88. %{_libdir}/%{name}/plugins/*
  89. %{_libexecdir}/%{name}/ide-list-counters
  90. %{python3_sitearch}/gi/overrides/Ide.py
  91. %{python3_sitearch}/gi/overrides/__pycache__/Ide.cpython-*
  92. %{_datadir}/appdata/org.gnome.Builder.appdata.xml
  93. %{_datadir}/applications/org.gnome.Builder.desktop
  94. %{_datadir}/dbus-1/services/org.gnome.Builder.service
  95. %{_datadir}/glib-2.0/schemas/org.gnome.builder.build.gschema.xml
  96. %{_datadir}/glib-2.0/schemas/org.gnome.builder.code-insight.gschema.xml
  97. %{_datadir}/glib-2.0/schemas/org.gnome.builder.editor.gschema.xml
  98. %{_datadir}/glib-2.0/schemas/org.gnome.builder.editor.language.gschema.xml
  99. %{_datadir}/glib-2.0/schemas/org.gnome.builder.extension-type.gschema.xml
  100. %{_datadir}/glib-2.0/schemas/org.gnome.builder.gnome-code-assistance.gschema.xml
  101. %{_datadir}/glib-2.0/schemas/org.gnome.builder.gschema.xml
  102. %{_datadir}/glib-2.0/schemas/org.gnome.builder.plugin.gschema.xml
  103. %{_datadir}/glib-2.0/schemas/org.gnome.builder.project-tree.gschema.xml
  104. %{_datadir}/glib-2.0/schemas/org.gnome.builder.terminal.gschema.xml
  105. %{_datadir}/glib-2.0/schemas/org.gnome.builder.workbench.gschema.xml
  106. %{_datadir}/%{name}/fonts/BuilderBlocks.ttf
  107. %{_datadir}/%{name}/plugins/*
  108. %{_datadir}/gtksourceview-3.0/styles/*.xml
  109. %{_datadir}/icons/*/*/*/*
  110. %{_datadir}/gtk-doc/html/libide
  111. %files devel
  112. %defattr(-,root,root,-)
  113. %{_includedir}/%{name}-%{version}
  114. %{_libdir}/%{name}/libegg-private.so
  115. %{_libdir}/%{name}/libpanel-gtk.so
  116. %{_libdir}/%{name}/librg.so
  117. %{_libdir}/%{name}/libsearch.so
  118. %{_libdir}/%{name}/libtemplate-glib-1.0.so
  119. %{_libdir}/%{name}/pkgconfig/libide-1.0.pc
  120. %{_libdir}/%{name}/pkgconfig/template-glib-1.0.pc
  121. %{_datadir}/%{name}/gir-1.0/Egg-1.0.gir
  122. %{_datadir}/%{name}/gir-1.0/Ide-1.0.gir
  123. %{_datadir}/%{name}/gir-1.0/Pnl-1.0.gir
  124. %{_datadir}/%{name}/gir-1.0/Template-1.0.gir
  125. %changelog
  126. * Mon Jul 18 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.4-1
  127. - new upstream release
  128. - add BuildRequires: desktop-file-utils
  129. * Sun Nov 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1
  130. - new upstream release
  131. - add BuildRequires: libpeas-devel
  132. * Sat May 23 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.3-1
  133. - new upstream release
  134. * Sun Apr 19 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.2-1
  135. - new upstream release
  136. * Wed Apr 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1
  137. - initial build