cjs-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. Summary: Javascript binding for Cinnamon
  2. Summary(ja): Cinnamon 向け JavaScript バインディング
  3. Name: cjs
  4. Version: 2.4.2
  5. Release: 1%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.gz
  7. License: MPL1.1/LGPLv2+/GPLv2+
  8. Group: System Environment/Libraries
  9. URL: http://live.gnome.org/GnomeShell
  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. * Sun May 10 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.2-1
  66. - new upstream release
  67. - add BuildRequires: gtk3-devel
  68. * Sat Jan 03 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.4.1-1
  69. - new upstream release
  70. - change BuildRequires: mozjs24-devel instead of js-devel
  71. * Thu Jan 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.2-2
  72. - moved to System Environment/Libraries Group
  73. - added Japanese summary
  74. - changed BR: automake instead of automake112
  75. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
  76. - new upstream release
  77. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-2
  78. - rebuild with libffi-3.0.13
  79. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1
  80. - new upstream release
  81. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  82. - initial build