seed-vl.spec 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. %define pkg_version 2.31.91
  2. %define pkg_release 1%{?_dist_release}
  3. Summary: GObject JavaScriptCore bridge
  4. Name: seed
  5. Version: %{pkg_version}
  6. Release: %{pkg_release}
  7. Source0: http://ftp.gnome.org/pub/gnome/sources/seed/2.31/%{name}-%{version}.tar.bz2
  8. License: LGPL
  9. Group: System Environment/Libraries
  10. URL: http://live.gnome.org/Seed/
  11. Requires: gobject-introspection
  12. BuildRequires: gobject-introspection-devel
  13. BuildRequires: WebKit-gtk-devel
  14. BuildRequires: readline-devel
  15. BuildRequires: libffi-devel
  16. BuildRequires: gnome-js-common
  17. BuildRequires: sqlite3-devel
  18. BuildRequires: clutter-devel
  19. BuildRequires: clutter-gtk-devel
  20. BuildRequires: cairo-devel
  21. BuildRequires: gtk-doc
  22. BuildRequires: dbus-devel
  23. BuildRequires: dbus-glib-devel
  24. BuildRequires: mpfr-devel
  25. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  26. Vendor: Project Vine
  27. Distribution: Vine Linux
  28. Packager: Takemikaduchi
  29. %description
  30. Seed is a library and interpreter, dynamically bridging (through GObjectIntrospection)
  31. the WebKit JavaScriptCore engine, with the GNOME platform. Seed serves as something
  32. which enables you to write standalone applications in JavaScript, or easily enable your
  33. application to be extensible in JavaScript.
  34. %package devel
  35. Summary: Development files for seed
  36. Group: Development/Libraries
  37. Requires: %{name} = %{version}-%{release}
  38. Requires: WebKit-gtk-devel
  39. Requires: gobject-introspection-devel
  40. Requires: pkgconfig
  41. %description devel
  42. The devel-package contains header files to develop applications that use libseed.
  43. %prep
  44. %setup -q
  45. %build
  46. %configure --disable-static --with-webkit=1.0
  47. %{__make} %{?_smp_mflags}
  48. %install
  49. %{__rm} -rf ${RPM_BUILD_ROOT}
  50. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  51. ## remove *.la
  52. %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/*.la
  53. %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/seed/*.la
  54. %clean
  55. %{__rm} -rf ${RPM_BUILD_ROOT}
  56. %files
  57. %defattr(-,root,root)
  58. %doc COPYING ChangeLog NEWS README
  59. %{_bindir}/seed
  60. %{_libdir}/libseed.so.*
  61. %{_libdir}/seed/*.so
  62. %{_datadir}/doc/seed
  63. %{_mandir}/man1/*
  64. %{_datadir}/seed
  65. %files devel
  66. %defattr(-,root,root)
  67. %{_includedir}/seed
  68. %{_libdir}/libseed.so
  69. %{_libdir}/pkgconfig/seed.pc
  70. %{_datadir}/gtk-doc/html/seed
  71. %changelog
  72. * Thu Oct 07 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.31.91-1
  73. - new upstream release
  74. - remove BuildRequires: gir-repository-devel
  75. - add configure option (--with-webkit=1.0)
  76. - fix %files
  77. * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-2
  78. - rebuild with rpm-4.8.1 for pkg-config file
  79. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  80. - initial build for Vine Linux