gjs-vl.spec 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  1. %define pkg_version 1.53.4
  2. %define pkg_release 2%{?_dist_release}
  3. %define mozjs mozjs52
  4. Summary: Javascript binding for GNOME
  5. Summary(ja): GNOME 向け JavaScript バインディング
  6. Name: gjs
  7. Version: %{pkg_version}
  8. Release: %{pkg_release}
  9. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.44/%{name}-%{version}.tar.xz
  10. License: MPL1.1/LGPLv2+/GPLv2+
  11. Group: System Environment/Libraries
  12. URL: http://live.gnome.org/GnomeShell
  13. Patch0: fix-override.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: pkgconfig >= 0.14.0
  16. BuildRequires: glib2-devel
  17. BuildRequires: dbus-glib-devel
  18. BuildRequires: gobject-introspection-devel >= 1.29.16
  19. BuildRequires: cairo-devel
  20. BuildRequires: %{mozjs}-devel
  21. BuildRequires: yelp-tools
  22. BuildRequires: desktop-file-utils
  23. BuildRequires: autoconf >= 2.69
  24. BuildRequires: automake
  25. BuildRequires: gnome-common
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. %description
  29. GNOME Shell is the defining technology of the GNOME 3 desktop user experience. It provides core interface functions like switching to windows and launching applications. GNOME Shell takes advantage of the capabilities of modern graphics hardware and introduces innovative user interface concepts to provide a delightful and easy to use experience.
  30. %package devel
  31. Summary: Development files of the gjs library.
  32. Summary(ja): gjs ライブラリの開発用ファイル
  33. Group: Development/Libraries
  34. Requires: %{name} = %{version}-%{release}
  35. Requires: pkgconfig
  36. Requires: gtk-doc
  37. Requires: %{mozjs}-devel
  38. %description devel
  39. Development files of the gjs library.
  40. %prep
  41. %setup -q
  42. %patch0 -p1
  43. %build
  44. rm -f configure
  45. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
  46. %configure --disable-static)
  47. %{__make} V=1 %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  51. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files
  57. %defattr(-,root,root)
  58. %doc COPYING ChangeLog NEWS README
  59. %{_bindir}/gjs*
  60. %{_libdir}/lib*.so.*
  61. %{_libdir}/gjs/*
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %{_includedir}/gjs-1.0
  65. %{_libdir}/lib*.so
  66. %{_libdir}/pkgconfig/*.pc
  67. %dir %{_datadir}/gjs-1.0
  68. %dir %{_datadir}/gjs-1.0/lsan
  69. %{_datadir}/gjs-1.0/lsan/lsan.supp
  70. %dir %{_datadir}/gjs-1.0/valgrind
  71. %{_datadir}/gjs-1.0/valgrind/gjs.supp
  72. %changelog
  73. * Sun Dec 30 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.53.4-2
  74. - added Patch0.
  75. - added "R:mozjs52-devel" to gjs-devel.
  76. * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.53.4-1
  77. - new upstream release.
  78. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.44.0-2
  79. - rebuild with gcc-5.4.0
  80. * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.44.0-1
  81. - new upstream release
  82. * Mon Mar 30 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.43.3-1
  83. - new upstream release
  84. * Thu Jan 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.42.0-2
  85. - moved to System Environment/Libraries Group
  86. - added Japanese summary
  87. - changed BR: automake instead of automake112
  88. * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.42.0-1
  89. - new upstream release
  90. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.40.1-2
  91. - rebuild with libffi-3.0.13
  92. * Sat Apr 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.40.1-1
  93. - new upstream release
  94. * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.40.0-1
  95. - new upstream release
  96. - change BuildRequires: mozjs24-devel instead of mozjs17-devel
  97. * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.38.1-2
  98. - rebuild with VineSeed environment
  99. * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.38.1-1
  100. - new upstream release
  101. - change BuildRequires: mozjs17-devel instead of js-devel
  102. - add BuildRequires: autoconf, automake112
  103. * Wed Apr 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.36.1-1
  104. - new upstream release
  105. * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.34.0-1
  106. - new upstream release
  107. - change BuildRequires: yelp-tools instead of gnome-doc-utils
  108. * Sun Apr 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.32.0-1
  109. - new upstream release
  110. * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.30.0-1
  111. - new upstream release
  112. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.29.18-1
  113. - new upstream release
  114. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.29.17-1
  115. - new upstream release
  116. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.29.15-1
  117. - new upstream release
  118. - change BuildRequires: js-devel instead of xulrunner-devel
  119. * Sun Apr 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.13-1
  120. - new upstream release
  121. * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.7-1
  122. - new upstream release
  123. * Thu Oct 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.7.4-1
  124. - new upstream release
  125. - remove BuildRequires: mutter-devel
  126. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-2
  127. - rebuild with rpm-4.8.1 for pkg-config file
  128. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
  129. - new upstream release
  130. - fix typo
  131. * Sun Feb 28 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.5-1
  132. - initial build for Vine Linux