cjs-vl.spec 2.5 KB

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