cjs-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Summary: Javascript binding for Cinnamon
  2. Summary(ja): Cinnamon 向け JavaScript バインディング
  3. Name: cjs
  4. Version: 2.8.0
  5. Release: 2%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.gz
  7. License: LGPLv2
  8. Group: System Environment/Libraries
  9. URL: https://github.com/linuxmint/cjs
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: pkgconfig >= 0.14.0
  12. BuildRequires: glib2-devel
  13. BuildRequires: gtk3-devel
  14. BuildRequires: dbus-glib-devel
  15. BuildRequires: gobject-introspection-devel >= 1.29.16
  16. BuildRequires: cairo-devel
  17. BuildRequires: mozjs24-devel
  18. BuildRequires: yelp-tools
  19. BuildRequires: desktop-file-utils
  20. BuildRequires: autoconf >= 2.69
  21. BuildRequires: automake
  22. BuildRequires: gnome-common
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. This module contains JavaScript bindings based on gobject-introspection.
  28. %package devel
  29. Summary: Development files of the %{name} library.
  30. Summary(ja): %{name} ライブラリの開発用ファイル
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Development files of the %{name} library.
  36. %prep
  37. %setup -q
  38. %build
  39. rm -f configure
  40. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
  41. %configure --disable-static)
  42. %{__make} V=1 %{?_smp_mflags}
  43. %install
  44. %{__rm} -rf ${RPM_BUILD_ROOT}
  45. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  46. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  47. %clean
  48. %{__rm} -rf ${RPM_BUILD_ROOT}
  49. %post -p /sbin/ldconfig
  50. %postun -p /sbin/ldconfig
  51. %files
  52. %defattr(-,root,root)
  53. %doc COPYING ChangeLog NEWS README
  54. %{_bindir}/cjs*
  55. %{_libdir}/libcjs.so.*
  56. %{_libdir}/%{name}
  57. %{_libdir}/%{name}/girepository-1.0/CjsPrivate-1.0.typelib
  58. %files devel
  59. %defattr(-,root,root,-)
  60. %{_includedir}/%{name}-1.0
  61. %{_libdir}/libcjs.so
  62. %{_libdir}/pkgconfig/cjs-1.0.pc
  63. %{_libdir}/pkgconfig/cjs-internals-1.0.pc
  64. %changelog
  65. * Thu Jun 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-2
  66. - rebuild with gcc-5.4.0
  67. * Fri Nov 13 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.8.0-1
  68. - new upstream release
  69. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
  70. - new upstream release
  71. - add BuildRequires: gtk3-devel
  72. * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
  73. - new upstream release
  74. - change BuildRequires: mozjs24-devel instead of js-devel
  75. * Thu Jan 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.2-2
  76. - moved to System Environment/Libraries Group
  77. - added Japanese summary
  78. - changed BR: automake instead of automake112
  79. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
  80. - new upstream release
  81. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-2
  82. - rebuild with libffi-3.0.13
  83. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1
  84. - new upstream release
  85. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  86. - initial build