seed-vl.spec 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. %define pkg_version 2.30.0
  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.30/%{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: gir-repository-devel
  14. BuildRequires: WebKit-gtk-devel
  15. BuildRequires: readline-devel
  16. BuildRequires: libffi-devel
  17. BuildRequires: gnome-js-common
  18. BuildRequires: sqlite3-devel
  19. BuildRequires: clutter-devel
  20. BuildRequires: clutter-gtk-devel
  21. BuildRequires: cairo-devel
  22. BuildRequires: gtk-doc
  23. BuildRequires: dbus-devel
  24. BuildRequires: dbus-glib-devel
  25. BuildRequires: mpfr-devel
  26. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  27. Vendor: Project Vine
  28. Distribution: Vine Linux
  29. Packager: Takemikaduchi
  30. %description
  31. Seed is a library and interpreter, dynamically bridging (through GObjectIntrospection) the WebKit JavaScriptCore engine, with the GNOME platform. Seed serves as something which enables you to write standalone applications in JavaScript, or easily enable your application to be extensible in JavaScript.
  32. %package devel
  33. Summary: Development files for seed
  34. Group: Development/Libraries
  35. Requires: %{name} = %{version}-%{release}
  36. Requires: WebKit-gtk-devel
  37. Requires: gobject-introspection-devel
  38. Requires: pkgconfig
  39. %description devel
  40. The devel-package contains header files to develop applications that use libseed.
  41. %prep
  42. %setup -q
  43. %build
  44. %configure --disable-static
  45. %{__make} %{?_smp_mflags}
  46. %install
  47. %{__rm} -rf ${RPM_BUILD_ROOT}
  48. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  49. ## remove *.la
  50. %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/*.la
  51. %{__rm} -f ${RPM_BUILD_ROOT}/%{_libdir}/seed/*.la
  52. %clean
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %files
  55. %defattr(-,root,root)
  56. %doc COPYING ChangeLog NEWS README
  57. %{_bindir}/seed
  58. %{_libdir}/libseed.so.*
  59. %{_libdir}/pkgconfig/seed.pc
  60. %{_libdir}/seed/*.so
  61. %{_datadir}/doc/seed
  62. %{_mandir}/man1/*
  63. %{_datadir}/seed
  64. %files devel
  65. %defattr(-,root,root)
  66. %{_includedir}/seed
  67. %{_libdir}/libseed.so
  68. %{_datadir}/gtk-doc/html/seed
  69. %changelog
  70. * Sun Apr 18 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  71. - initial build for Vine Linux