cjs-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Summary: Javascript binding for Cinnamon
  2. Summary(ja): Cinnamon 向け JavaScript バインディング
  3. Name: cjs
  4. Version: 2.2.2
  5. Release: 2%{?_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: js-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-dbus.so.*
  55. %{_libdir}/libcjs.so.*
  56. %{_libdir}/%{name}-1.0
  57. %{_libdir}/%{name}/girepository-1.0/CjsPrivate-1.0.typelib
  58. %{_datadir}/%{name}-1.0
  59. %files devel
  60. %defattr(-,root,root,-)
  61. %{_includedir}/%{name}-1.0
  62. %{_libdir}/libcjs-dbus.so
  63. %{_libdir}/libcjs.so
  64. %{_libdir}/pkgconfig/cjs-1.0.pc
  65. %{_libdir}/pkgconfig/cjs-dbus-1.0.pc
  66. %{_libdir}/pkgconfig/cjs-internals-1.0.pc
  67. %changelog
  68. * Thu Jan 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.2.2-2
  69. - moved to System Environment/Libraries Group
  70. - added Japanese summary
  71. - changed BR: automake instead of automake112
  72. * Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.2-1
  73. - new upstream release
  74. * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-2
  75. - rebuild with libffi-3.0.13
  76. * Wed Jul 02 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.1-1
  77. - new upstream release
  78. * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.2.0-1
  79. - initial build