gjs-vl.spec 5.4 KB

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